diff options
author | Stephen Sachs <stesachs@amazon.com> | 2023-10-16 16:24:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 10:24:21 -0400 |
commit | 8347ae3766ea1ad18eccd78a9860d91097c82802 (patch) | |
tree | 5d2ee3639503c805de5ddd0130ed5e768003ffd4 | |
parent | 1106f6b9f21b8948c6996d4accac4efe63049ad5 (diff) | |
download | spack-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.py | 4 |
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): |