summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris White <white238@llnl.gov>2024-04-12 18:38:15 -0700
committerGitHub <noreply@github.com>2024-04-12 19:38:15 -0600
commit6d244b3f6776b3697861c6b5cebbee376c30bff3 (patch)
treeb9d37863d08a4299b89785d3e56a5370e8b9ab44 /lib
parent6bc66db141017d139dddf26ab617f8fa95e6f063 (diff)
downloadspack-6d244b3f6776b3697861c6b5cebbee376c30bff3.tar.gz
spack-6d244b3f6776b3697861c6b5cebbee376c30bff3.tar.bz2
spack-6d244b3f6776b3697861c6b5cebbee376c30bff3.tar.xz
spack-6d244b3f6776b3697861c6b5cebbee376c30bff3.zip
remove hardcoded hipcc (#43644)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cached_cmake.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/spack/spack/build_systems/cached_cmake.py b/lib/spack/spack/build_systems/cached_cmake.py
index e142d76827..48c714f31a 100644
--- a/lib/spack/spack/build_systems/cached_cmake.py
+++ b/lib/spack/spack/build_systems/cached_cmake.py
@@ -139,11 +139,6 @@ class CachedCMakeBuilder(CMakeBuilder):
"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