kokkos: fix c++20 constraint (#37555)
This commit is contained in:
parent
8c0d947114
commit
e43444cbb6
@ -207,7 +207,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
|
||||
conflicts("std=14", when="@4.0:")
|
||||
|
||||
conflicts("+cuda", when="std=17 ^cuda@:10")
|
||||
conflicts("+cuda", when="std=20 ^cuda@:12")
|
||||
conflicts("+cuda", when="std=20 ^cuda@:11")
|
||||
|
||||
# SYCL and OpenMPTarget require C++17 or higher
|
||||
for stdver in stds[: stds.index("17")]:
|
||||
|
Loading…
Reference in New Issue
Block a user