diff options
-rw-r--r-- | var/spack/repos/builtin/packages/extrae/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/extrae/package.py b/var/spack/repos/builtin/packages/extrae/package.py index 299f586214..c5e10097d4 100644 --- a/var/spack/repos/builtin/packages/extrae/package.py +++ b/var/spack/repos/builtin/packages/extrae/package.py @@ -92,6 +92,12 @@ class Extrae(AutotoolsPackage): depends_on("cuda", when="+cupti") conflicts("+cupti", when="~cuda", msg="CUPTI requires CUDA") + variant( + "single-mpi-lib", + default=False, + description="Enable single MPI instrumentation library that supports both Fortran and C", + ) + def configure_args(self): spec = self.spec if spec.satisfies("^[virtuals=mpi] intel-oneapi-mpi"): @@ -137,6 +143,8 @@ class Extrae(AutotoolsPackage): make.add_default_arg("CXXFLAGS=%s" % self.compiler.cxx11_flag) args.append("CXXFLAGS=%s" % self.compiler.cxx11_flag) + args.extend(self.enable_or_disable("single-mpi-lib")) + return args def flag_handler(self, name, flags): |