Skip to content

Commit

Permalink
remove hardcoded hipcc (spack#43644)
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 authored and tldahlgren committed Apr 23, 2024
1 parent 1a97f8d commit c6406aa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/spack/spack/build_systems/cached_cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6406aa

Please sign in to comment.