vtk-m: CMAKE_CXX_COMPILER is not a BOOL (#48813)
This commit is contained in:
parent
392a58e9be
commit
393961ffd6
@ -238,7 +238,7 @@ def cmake_args(self):
|
|||||||
os.environ["TBB_ROOT"] = spec["tbb"].prefix
|
os.environ["TBB_ROOT"] = spec["tbb"].prefix
|
||||||
|
|
||||||
if "+kokkos" in spec and "+rocm" in spec and spec.satisfies("^kokkos@4:"):
|
if "+kokkos" in spec and "+rocm" in spec and spec.satisfies("^kokkos@4:"):
|
||||||
options.append(f"-DCMAKE_CXX_COMPILER:BOOL={spec['hip'].prefix.bin.hipcc}")
|
options.append(f"-DCMAKE_CXX_COMPILER:FILEPATH={spec['hip'].prefix.bin.hipcc}")
|
||||||
|
|
||||||
# Support for relocatable code
|
# Support for relocatable code
|
||||||
if "~shared" in spec and "+fpic" in spec:
|
if "~shared" in spec and "+fpic" in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user