-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[netcdf-c] Fix dependency libmath #12434
Conversation
No that is incorrect. netcdf-c searches for any usable math library. This might be either libmath.a or a system provided libm.a. As such the CMakeLists.txt needs to differentiate between those two a bit more and have a option like |
@Neumann-A Yes, the math library can be provided by the system, but not necessarily. |
@JackBoosY: A lot of ports would fail in CI if If you change the order to |
considering that the commit introducing the |
@Neumann-A Should be okay now. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Since
netcdf-c
requires themath
library, the system in Linux also provideslibm
, butembree3
also generates thelibmath
library. Due to search order issues, embree's libmath library will be used first.So change the math library name order to prevent the use of embree's math library.
Fixes #12169