We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fdbdbc commit 5149b0dCopy full SHA for 5149b0d
1 file changed
legate_core_cpp.cmake
@@ -135,7 +135,12 @@ if(Legion_USE_CUDA)
135
set(CMAKE_INCLUDE_SYSTEM_FLAG_CUDA "-isystem ")
136
# Find the CUDAToolkit
137
rapids_find_package(
138
- CUDAToolkit REQUIRED
+ # Min version of CUDA is 11.8, but we want CMake to prefer the highest version
139
+ # possible. It seems that it only does that if you give it a range...
140
+ #
141
+ # So in 100 years time, if we ever get to CUDA version 100000000, someone must
142
+ # remember to add another 9 below.
143
+ CUDAToolkit 11.8...99999999.99 REQUIRED
144
BUILD_EXPORT_SET legate-core-exports
145
INSTALL_EXPORT_SET legate-core-exports
146
)
0 commit comments