diff options
author | sknigh <sknigh@sandia.gov> | 2017-02-18 13:54:57 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-02-18 15:54:57 -0600 |
commit | 69b01c617eafd192ff3ec0643f101d9fcd1d7f2f (patch) | |
tree | 0000c486bc2dcdfbaf20a2c027d15189b7172293 /var | |
parent | 18334edf1ab379cbae513418e403f7acedc5cbb1 (diff) | |
download | spack-69b01c617eafd192ff3ec0643f101d9fcd1d7f2f.tar.gz spack-69b01c617eafd192ff3ec0643f101d9fcd1d7f2f.tar.bz2 spack-69b01c617eafd192ff3ec0643f101d9fcd1d7f2f.tar.xz spack-69b01c617eafd192ff3ec0643f101d9fcd1d7f2f.zip |
Added shmem variant to Score-p build (#3024)
* Disable by default to fix builds on Centos 7
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/scorep/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py index e0f7972304..6b3345d83b 100644 --- a/var/spack/repos/builtin/packages/scorep/package.py +++ b/var/spack/repos/builtin/packages/scorep/package.py @@ -61,6 +61,8 @@ class Scorep(Package): depends_on("mpi") depends_on("papi") + variant('shmem', default=False, description='Enable shmem tracing') + def install(self, spec, prefix): configure = Executable(join_path(self.stage.source_path, 'configure')) with working_dir('spack-build', create=True): @@ -72,6 +74,7 @@ class Scorep(Package): "--with-papi-header=%s" % spec['papi'].prefix.include, "--with-papi-lib=%s" % spec['papi'].prefix.lib, "--enable-shared", + "--without-shmem" if '~shmem' in spec else '', "CFLAGS=-fPIC", "CXXFLAGS=-fPIC"] configure(*configure_args) |