chai / raja / umpire: compile entire project with hipcc again (#43738)
This commit is contained in:
parent
faed43704b
commit
d6154645c7
3 changed files with 9 additions and 0 deletions
|
@ -191,6 +191,9 @@ def initconfig_compiler_entries(self):
|
|||
# Default entries are already defined in CachedCMakePackage, inherit them:
|
||||
entries = super().initconfig_compiler_entries()
|
||||
|
||||
if "+rocm" in spec:
|
||||
entries.insert(0, cmake_cache_path("CMAKE_CXX_COMPILER", spec["hip"].hipcc))
|
||||
|
||||
llnl_link_helpers(entries, spec, compiler)
|
||||
|
||||
return entries
|
||||
|
|
|
@ -252,6 +252,9 @@ def initconfig_compiler_entries(self):
|
|||
# Default entries are already defined in CachedCMakePackage, inherit them:
|
||||
entries = super().initconfig_compiler_entries()
|
||||
|
||||
if "+rocm" in spec:
|
||||
entries.insert(0, cmake_cache_path("CMAKE_CXX_COMPILER", spec["hip"].hipcc))
|
||||
|
||||
llnl_link_helpers(entries, spec, compiler)
|
||||
|
||||
return entries
|
||||
|
|
|
@ -307,6 +307,9 @@ def initconfig_compiler_entries(self):
|
|||
# Default entries are already defined in CachedCMakePackage, inherit them:
|
||||
entries = super().initconfig_compiler_entries()
|
||||
|
||||
if "+rocm" in spec:
|
||||
entries.insert(0, cmake_cache_path("CMAKE_CXX_COMPILER", spec["hip"].hipcc))
|
||||
|
||||
option_prefix = "UMPIRE_" if spec.satisfies("@2022.03.0:") else ""
|
||||
|
||||
if "+fortran" in spec and compiler.fc is not None:
|
||||
|
|
Loading…
Reference in a new issue