openfoam: fix oneapi support
This commit is contained in:
parent
63e328645f
commit
4f0006a480
@ -910,7 +910,12 @@ class OpenfoamArch:
|
|||||||
|
|
||||||
#: Map spack compiler names to OpenFOAM compiler names
|
#: Map spack compiler names to OpenFOAM compiler names
|
||||||
# By default, simply capitalize the first letter
|
# By default, simply capitalize the first letter
|
||||||
compiler_mapping = {"aocc": "Amd", "fj": "Fujitsu", "intel": "Icc", "oneapi": "Icx"}
|
compiler_mapping = {
|
||||||
|
"aocc": "Amd",
|
||||||
|
"fj": "Fujitsu",
|
||||||
|
"intel": "Icc",
|
||||||
|
"intel-oneapi-compilers": "Icx",
|
||||||
|
}
|
||||||
|
|
||||||
def __init__(self, spec, **kwargs):
|
def __init__(self, spec, **kwargs):
|
||||||
# Some user settings, to be adjusted manually or via variants
|
# Some user settings, to be adjusted manually or via variants
|
||||||
|
Loading…
Reference in New Issue
Block a user