diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/simgrid/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/simgrid/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/simgrid/package.py b/var/spack/repos/builtin/packages/simgrid/package.py index eba1e53463..4af3ed91fd 100644 --- a/var/spack/repos/builtin/packages/simgrid/package.py +++ b/var/spack/repos/builtin/packages/simgrid/package.py @@ -118,6 +118,7 @@ class Simgrid(CMakePackage): variant("smpi", default=True, description="SMPI provides MPI") variant("examples", default=False, description="Install examples") variant("mc", default=False, description="Model checker") + variant("msg", default=False, description="Enables the old MSG interface") # does not build correctly with some old compilers -> rely on packages depends_on("boost@:1.69.0", when="@:3.21") @@ -134,7 +135,7 @@ class Simgrid(CMakePackage): if self.spec.satisfies("+smpi"): self.spec.smpicc = join_path(self.prefix.bin, "smpicc") - self.spec.smpicxx = join_path(self.prefix.bin, "smpicxx -std=c++11") + self.spec.smpicxx = join_path(self.prefix.bin, "smpicxx") self.spec.smpifc = join_path(self.prefix.bin, "smpif90") self.spec.smpif77 = join_path(self.prefix.bin, "smpiff") @@ -147,7 +148,8 @@ class Simgrid(CMakePackage): args.append("-Denable_documentation=OFF") if spec.satisfies("+mc"): args.append("-Denable_model-checking=ON") - + if spec.satisfies("+msg"): + args.append("-Denable_msg=ON") return args def install(self, spec, prefix): |