Compare commits
4 Commits
develop-20
...
fix/troubl
Author | SHA1 | Date | |
---|---|---|---|
![]() |
020c06c696 | ||
![]() |
30f811588d | ||
![]() |
896d7cf497 | ||
![]() |
75530be48a |
@@ -472,6 +472,7 @@ def compiler_verbose_output(self) -> Optional[str]:
|
|||||||
"""Verbose output from compiling a dummy C source file. Output is cached."""
|
"""Verbose output from compiling a dummy C source file. Output is cached."""
|
||||||
if not hasattr(self, "_compile_c_source_output"):
|
if not hasattr(self, "_compile_c_source_output"):
|
||||||
self._compile_c_source_output = self._compile_dummy_c_source()
|
self._compile_c_source_output = self._compile_dummy_c_source()
|
||||||
|
print(self._compile_c_source_output)
|
||||||
return self._compile_c_source_output
|
return self._compile_c_source_output
|
||||||
|
|
||||||
def _compile_dummy_c_source(self) -> Optional[str]:
|
def _compile_dummy_c_source(self) -> Optional[str]:
|
||||||
@@ -494,9 +495,6 @@ def _compile_dummy_c_source(self) -> Optional[str]:
|
|||||||
|
|
||||||
with self.compiler_environment():
|
with self.compiler_environment():
|
||||||
return cc_exe(self.verbose_flag, fin, "-o", fout, output=str, error=str)
|
return cc_exe(self.verbose_flag, fin, "-o", fout, output=str, error=str)
|
||||||
except spack.util.executable.ProcessError as pe:
|
|
||||||
tty.debug("ProcessError: Command exited with non-zero status: " + pe.long_message)
|
|
||||||
return None
|
|
||||||
finally:
|
finally:
|
||||||
shutil.rmtree(tmpdir, ignore_errors=True)
|
shutil.rmtree(tmpdir, ignore_errors=True)
|
||||||
|
|
||||||
|
@@ -126,7 +126,7 @@ spack:
|
|||||||
prefix: /opt/rocm-5.7.1
|
prefix: /opt/rocm-5.7.1
|
||||||
extra_attributes:
|
extra_attributes:
|
||||||
compilers:
|
compilers:
|
||||||
c: /opt/rocm-5.7.1/llvm/bin/clang++
|
c: /opt/rocm-5.7.1/llvm/bin/clang
|
||||||
c++: /opt/rocm-5.7.1/llvm/bin/clang++
|
c++: /opt/rocm-5.7.1/llvm/bin/clang++
|
||||||
hip: /opt/rocm-5.7.1/hip/bin/hipcc
|
hip: /opt/rocm-5.7.1/hip/bin/hipcc
|
||||||
hipify-clang:
|
hipify-clang:
|
||||||
@@ -141,7 +141,7 @@ spack:
|
|||||||
prefix: /opt/rocm-5.7.1/llvm
|
prefix: /opt/rocm-5.7.1/llvm
|
||||||
extra_attributes:
|
extra_attributes:
|
||||||
compilers:
|
compilers:
|
||||||
c: /opt/rocm-5.7.1/llvm/bin/clang++
|
c: /opt/rocm-5.7.1/llvm/bin/clang
|
||||||
cxx: /opt/rocm-5.7.1/llvm/bin/clang++
|
cxx: /opt/rocm-5.7.1/llvm/bin/clang++
|
||||||
hsakmt-roct:
|
hsakmt-roct:
|
||||||
buildable: false
|
buildable: false
|
||||||
|
Reference in New Issue
Block a user