intel-oneapi-compilers: fix Python 2.7 compliance (#33383)

This commit is contained in:
Massimiliano Culpo 2022-10-18 07:19:25 +02:00 committed by GitHub
parent 0b014ff9cd
commit fe2656f182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ class IntelOneapiCompilers(IntelOneApiPackage):
placement="fortran-installer",
when="@{0}".format(v["version"]),
expand=False,
**v["ftn"],
**v["ftn"]
)
@property
@ -214,7 +214,7 @@ def write_cfg(cmp_list, flags_list):
f.write(flags)
set_install_permissions(cfg_file)
# Make sure that icc gets the right GCC C+ support
# Make sure that icc gets the right GCC C++ support
write_cfg(
[
join_path("intel64", "icc"),