Added shmem variant to Score-p build (#3024)
* Disable by default to fix builds on Centos 7
This commit is contained in:
parent
18334edf1a
commit
69b01c617e
1 changed files with 3 additions and 0 deletions
|
@ -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 @@ def install(self, spec, prefix):
|
|||
"--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)
|
||||
|
|
Loading…
Reference in a new issue