summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Sachs <stesachs@amazon.com>2023-10-16 16:24:21 +0200
committerGitHub <noreply@github.com>2023-10-16 10:24:21 -0400
commit8347ae3766ea1ad18eccd78a9860d91097c82802 (patch)
tree5d2ee3639503c805de5ddd0130ed5e768003ffd4
parent1106f6b9f21b8948c6996d4accac4efe63049ad5 (diff)
downloadspack-8347ae3766ea1ad18eccd78a9860d91097c82802.tar.gz
spack-8347ae3766ea1ad18eccd78a9860d91097c82802.tar.bz2
spack-8347ae3766ea1ad18eccd78a9860d91097c82802.tar.xz
spack-8347ae3766ea1ad18eccd78a9860d91097c82802.zip
intel-oneapi-compilers: ifx uses --gcc-name & --gxx-name (#40557)
`ifx` uses the older syntax instead of `--gcc-toolchain`. Tested up to version 2023.2.0.
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
index 72c56471c2..84c560c240 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -276,12 +276,12 @@ class IntelOneapiCompilers(IntelOneApiPackage):
llvm_flags.append("-Wno-unused-command-line-argument")
self.write_config_file(
- common_flags + llvm_flags, self.component_prefix.linux.bin, ["icx", "icpx", "ifx"]
+ common_flags + llvm_flags, self.component_prefix.linux.bin, ["icx", "icpx"]
)
self.write_config_file(
common_flags + classic_flags,
self.component_prefix.linux.bin.intel64,
- ["icc", "icpc", "ifort"],
+ ["icc", "icpc", "ifort", "ifx"],
)
def _ld_library_path(self):