Kokkos: allow c++17 starting with CUDA v11.0.0 (#25018)
This commit is contained in:
parent
80592613ad
commit
4a4d1759f5
@ -197,7 +197,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
|
||||
variant("pic", default=False, description="Build position independent code")
|
||||
|
||||
# nvcc does not currently work with C++17 or C++20
|
||||
conflicts("+cuda", when="std=17")
|
||||
conflicts("+cuda", when="std=17 ^cuda@:10.99.99")
|
||||
conflicts("+cuda", when="std=20")
|
||||
|
||||
variant('shared', default=True, description='Build shared libraries')
|
||||
|
Loading…
Reference in New Issue
Block a user