Merge pull request #1354 from paulhopkins/bugfix/preferred_variants_do_not_recognise_-variant

Bugfix/preferred variants do not recognise  -variant
This commit is contained in:
becker33
2016-08-02 09:15:06 -07:00
committed by GitHub
4 changed files with 114 additions and 5 deletions

View File

@@ -24,6 +24,7 @@
##############################################################################
from spack import *
class Mpileaks(Package):
homepage = "http://www.llnl.gov"
url = "http://www.llnl.gov/mpileaks-1.0.tar.gz"
@@ -35,6 +36,8 @@ class Mpileaks(Package):
variant('debug', default=False, description='Debug variant')
variant('opt', default=False, description='Optimized variant')
variant('shared', default=True, description='Build shared library')
variant('static', default=True, description='Build static library')
depends_on("mpi")
depends_on("callpath")