diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mumps/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py index c4ea250235..51fe2a9f06 100644 --- a/var/spack/repos/builtin/packages/mumps/package.py +++ b/var/spack/repos/builtin/packages/mumps/package.py @@ -113,6 +113,7 @@ class Mumps(Package): using_pgi = self.compiler.name == "pgi" using_nvhpc = self.compiler.name == "nvhpc" using_intel = self.compiler.name == "intel" + using_oneapi = self.compiler.name == "oneapi" using_xl = self.compiler.name in ['xl', 'xl_r'] using_fj = self.compiler.name == "fj" @@ -180,7 +181,7 @@ class Mumps(Package): # TODO: change the value to the correct one according to the # compiler possible values are -DAdd_, -DAdd__ and/or -DUPPER - if using_intel or using_pgi or using_nvhpc or using_fj: + if using_intel or using_oneapi or using_pgi or using_nvhpc or using_fj: # Intel, PGI, and Fujitsu Fortran compiler provides # the main() function so C examples linked with the Fortran # compiler require a hack defined by _DMAIN_COMP |