remove hardcoded hipcc (#43644)

This commit is contained in:
Chris White 2024-04-12 18:38:15 -07:00 committed by GitHub
parent 6bc66db141
commit 6d244b3f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,11 +139,6 @@ def initconfig_compiler_entries(self):
"endif()\n",
]
# We defined hipcc as top-level compiler for packages when +rocm.
# This avoid problems coming from rocm flags being applied to another compiler.
if "+rocm" in spec:
entries.insert(0, cmake_cache_path("CMAKE_CXX_COMPILER", self.spec["hip"].hipcc))
flags = spec.compiler_flags
# use global spack compiler flags