Closed Steven-Roberts closed 5 months ago
These also might need updating:
This has been addressed in #506
The spack package does need to be updated. Spack will prefer new CMake versions which is why this hasn't been an issue.
The spack package does need to be updated. Spack will prefer new CMake versions which is why this hasn't been an issue.
Can we fix that in this PR? I assume we want
depends_on("cmake@3.18:", type="build")
It will need to be something like
depends_on("cmake@3.12:", type="build", when=":7.0.0")
depends_on("cmake@3.18:", type="build", when="7.0.0:")
FWIW, the Spack package in this repo is only used internally for our CI so it doesnt really matter. Additionally, the package needs to actually be synced with the one in Spack proper (and this change needs to be made there too).
These also might need updating:
https://github.com/LLNL/sundials/blob/b685654c6958699821fc68a822b66076fec8cae7/cmake/macros/SundialsAddLibrary.cmake#L254-L257
https://github.com/LLNL/sundials/blob/f64d994640792801b089962beb526924cc57420d/.gitlab/spack_packages/sundials/package.py#L210-L211