hypre, superlu-dist, trilinos - support using develop/master branches of these packages (#2443)

Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 1 hour
This commit is contained in:
Barry Smith
2016-12-06 14:10:51 -06:00
committed by Todd Gamblin
parent 9c57a49bf4
commit 76dae1dc5f
3 changed files with 24 additions and 2 deletions

View File

@@ -24,6 +24,7 @@
##############################################################################
from spack import *
import glob
import os
class SuperluDist(Package):
@@ -32,6 +33,7 @@ class SuperluDist(Package):
homepage = "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
url = "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_dist_4.1.tar.gz"
version('develop', git='https://github.com/xiaoyeli/superlu_dist', tag='master')
version('5.1.1', '12638c631733a27dcbd87110e9f9cb1e')
version('5.1.0', '6bb86e630bd4bd8650243aed8fd92eb9')
version('5.0.0', '2b53baf1b0ddbd9fcf724992577f0670')
@@ -77,6 +79,7 @@ def install(self, spec, prefix):
with open('make.inc', 'w') as fh:
fh.write('\n'.join(makefile_inc))
mkdirp(os.path.join(self.stage.source_path, 'lib'))
make("lib", parallel=False)
# FIXME: