diff options
| author | Ralf Gommers <ralf.gommers@gmail.com> | 2024-05-16 20:46:45 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-19 11:36:45 -0400 |
| commit | 77db04ffa6c37496f5a800f2f5cd5a0c19e47d8b (patch) | |
| tree | 6f077dff49a62befc47a625f2ce6ec4ebe893572 /mesonbuild/modules/__init__.py | |
| parent | 7d28ff29396f9d7043204de8ddc52226b9903811 (diff) | |
| download | meson-77db04ffa6c37496f5a800f2f5cd5a0c19e47d8b.tar.gz | |
Fix handling of C standard support for Emscripten.
Emscripten version numbers are unrelated to Clang version numbers,
so it is necessary to change the version checks for `c_std=c17` & co.
Without that, no project that defaults to C17 or newer will build with
Emscripten.
See https://github.com/pyodide/pyodide/discussions/4762 for more
context. Also note that this bug caused defaulting to C17 in
scikit-learn to be reverted (scikit-learn#29015), and it may be a
problem for SciPy 1.14.0 too since that release will upgrade from C99
to C17.
Co-authored-by: Loic Esteve <loic.esteve@ymail.com>
Diffstat (limited to 'mesonbuild/modules/__init__.py')
0 files changed, 0 insertions, 0 deletions
