Skip to content
Snippets Groups Projects
Commit 864dfb43 authored by Martin Lang's avatar Martin Lang
Browse files

Install fallback compiler first

parent 962f5d9b
No related branches found
No related tags found
2 merge requests!6Several fixes for compiler installation,!1Code review of main
Pipeline #541585 failed
......@@ -586,14 +586,14 @@ def install_toolchain_compiler(spack_environment: str) -> dict[str, dict[str, st
)
elif line.startswith("toolchain_gcc_package"):
gcc_package = line.split('"')[1]
compilers["default"] = {
"name": intel_compiler,
"package": f"{intel_package}%{gcc_package}",
}
compilers["fallback"] = {
"name": gcc_package,
"package": f"{gcc_package}%{Config().system_compiler}",
}
compilers["default"] = {
"name": intel_compiler,
"package": f"{intel_package}%{gcc_package}",
}
logger.debug("Required toolchain compiler: %s", compilers)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment