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.
This commit is contained in:
Stephen Sachs 2023-10-16 16:24:21 +02:00 committed by GitHub
parent 1106f6b9f2
commit 8347ae3766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,12 +276,12 @@ def extend_config_flags(self):
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):