vtk-m: CMAKE_CXX_COMPILER is not a BOOL (#48813)

This commit is contained in:
Wouter Deconinck 2025-02-01 13:10:10 -06:00 committed by GitHub
parent 392a58e9be
commit 393961ffd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: