diff options
author | MatthewLieber <77356607+MatthewLieber@users.noreply.github.com> | 2023-03-22 14:49:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 11:49:12 -0700 |
commit | 2393e456eea398bbccf54991050cb860523c99aa (patch) | |
tree | aab75cfd3feee73df83dc84265ba40f08c46eee5 /var | |
parent | e09caf2ab8a522ff17452e99e848279af35cc8ac (diff) | |
download | spack-2393e456eea398bbccf54991050cb860523c99aa.tar.gz spack-2393e456eea398bbccf54991050cb860523c99aa.tar.bz2 spack-2393e456eea398bbccf54991050cb860523c99aa.tar.xz spack-2393e456eea398bbccf54991050cb860523c99aa.zip |
Osu/mv2 hwloc2 (#36325)
* Revert "Remove legacy yaml from buildcache fetch (#34347)"
This reverts commit b58ec9e2b9bb969ba034b35ffe7412db6648e760.
* Revert "Revert "Remove legacy yaml from buildcache fetch (#34347)""
This reverts commit f91ec2e8da57fdd0a70ce0071fb637736ce05b24.
* add variant for hwloc v2
* running black
---------
Co-authored-by: Matt Lieber <lieber.31@osu.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mvapich2/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py index b4d17f0de0..d8f3fb1c59 100644 --- a/var/spack/repos/builtin/packages/mvapich2/package.py +++ b/var/spack/repos/builtin/packages/mvapich2/package.py @@ -108,6 +108,7 @@ class Mvapich2(AutotoolsPackage): "alloca", default=False, description="Use alloca to allocate temporary memory if available" ) + variant("hwlocv2", default=False, description="Builds mvapich2 with hwloc v2") variant( "file_systems", description="List of the ROMIO file systems to activate", @@ -430,6 +431,8 @@ class Mvapich2(AutotoolsPackage): else: args.append("--disable-cuda") + if "+hwlocv2" in self.spec: + args.append("--with-hwloc=v2") if "+regcache" in self.spec: args.append("--enable-registration-cache") else: |