Closed ax3l closed 6 months ago
This just disables the warning, right? Can we use the NEW policy instead?
Yes, I need to work down from AMReX and bump the CMake requirements to 3.24+, so we can continue to use native
for CUDA_ARCHITECTURES
defaults without breaking the current logic. I delayed this a bit so that CMake release is widely used and tested (we are now at 3.29, so we can take it on).
https://cmake.org/cmake/help/latest/prop_tgt/CUDA_ARCHITECTURES.html
Setting a
cmake_policy
toOLD
is deprecated by definition and will raise a verbose warning.const
isconst
)