chai / raja / umpire: compile entire project with hipcc again (#43738)
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Harmen Stoppels
					Harmen Stoppels