Update the Krell Institute products to use the latest features of spa… (#1984)

* Update the krell institute products to use the latest features of spack for building on cluster platforms.

* Address travis error messages and resubmit the pull request.

* Update the contents of openspeedshop package.py so it passes the flake8 tests.

* Fix flake8 error-whitespack issue in mrnet package.py file.

* Add updates based on spack reviewer feedback.

* More fixes based on comments from reviewers.  Switch using extend to using append, remove additional setting of PATH and LD_LIBRARY_PATH that should not be required due to RPATH.

* More review related changes.  Update MPIOption.append lines and take out xercesc references.

* Create a base options function for common openspeedshop base cmake options to reduce redundencies.
This commit is contained in:
Jim Galarowicz
2016-10-17 01:18:30 -07:00
committed by Todd Gamblin
parent b5e20018b5
commit 87adcfeea8
6 changed files with 253 additions and 316 deletions

View File

@@ -37,13 +37,6 @@ class Mrnet(Package):
version('4.1.0', '5a248298b395b329e2371bf25366115c')
version('4.0.0', 'd00301c078cba57ef68613be32ceea2f')
# Add a patch that brings mrnet-5.0.1 up to date with the current
# development tree The development tree contains fixes needed for the
# krell based tools
variant('krellpatch', default=False,
description="Build MRNet with krell openspeedshop based patch.")
patch('krell-5.0.1.patch', when='@5.0.1+krellpatch')
variant('lwthreads', default=False,
description="Also build the MRNet LW threadsafe libraries")
parallel = False
@@ -51,8 +44,8 @@ class Mrnet(Package):
depends_on("boost")
def install(self, spec, prefix):
# Build the MRNet LW thread safe libraries when the krelloptions
# variant is present
# Build the MRNet LW thread safe libraries when the
# lwthreads variant is present
if '+lwthreads' in spec:
configure("--prefix=%s" % prefix, "--enable-shared",
"--enable-ltwt-threadsafe")