-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emscripten.cmake
should set CMAKE_<LANG>_FLAGS_INIT
rather than CMAKE_<LANG>_FLAGS
#104
Comments
Thanks for the report. That is a good to know. Let me see if that change breaks any existing package. |
There were a few test failures when I updated the toolchain file, so I guess this can be a breaking change for a few recipes. I'll take a look at each failures when I have a bandwidth. Meanwhile, you can overwrite the toolchain file by passing |
Thanks a lot for the quick response! Tests from two packages seem to be failing:
Finally, there's the build failure of SciPy's The workaround I'm currently using is to have a simple wrapper around pyodide-build's Emscripten.cmake that sets |
From https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS_INIT.html:
Setting
CMAKE_<LANG>_FLAGS
directly breaks compatibility with other toolchain files (such as the ones generated by Conan), and prevents users from appending their own flags to the default ones (https://discourse.cmake.org/t/strictly-appending-to-cmake-lang-flags/6478).The text was updated successfully, but these errors were encountered: