summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorliuyangzhuan <liuyangzhuan@gmail.com>2019-08-21 17:23:18 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-21 17:23:18 -0700
commit7303b6cdc938aedf420579848cdf26986b6fa1fa (patch)
tree2e200304f8e001501719ab1357ad7e4970b72e89 /var
parente47b65a2a7dd6dc2a902c4b0edd53048b8421b12 (diff)
downloadspack-7303b6cdc938aedf420579848cdf26986b6fa1fa.tar.gz
spack-7303b6cdc938aedf420579848cdf26986b6fa1fa.tar.bz2
spack-7303b6cdc938aedf420579848cdf26986b6fa1fa.tar.xz
spack-7303b6cdc938aedf420579848cdf26986b6fa1fa.zip
ButterflyPACK package: add URL, versions 1.0.0 and 1.0.1 (#12428)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/butterflypack/package.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/butterflypack/package.py b/var/spack/repos/builtin/packages/butterflypack/package.py
index c894b0c910..2b61d69c23 100644
--- a/var/spack/repos/builtin/packages/butterflypack/package.py
+++ b/var/spack/repos/builtin/packages/butterflypack/package.py
@@ -22,10 +22,12 @@ class Butterflypack(CMakePackage):
homepage = "https://github.com/liuyangzhuan/ButterflyPACK"
git = "https://github.com/liuyangzhuan/ButterflyPACK.git"
-
+ url = "https://github.com/liuyangzhuan/ButterflyPACK/archive/v1.0.0.tar.gz"
maintainers = ['liuyangzhuan']
version('master', branch='master')
+ version('1.0.0', sha256='86c5eb09a18522367d63ce2bacf67ca1c9813ef351a1443baaab3c53f0d77232')
+ version('1.0.1', sha256='e8ada37466a19f49e13456b150700d4c3afaad2ddbe3678f4e933f9d556a24a5')
variant('shared', default=True, description='Build shared libraries')
@@ -50,10 +52,7 @@ class Butterflypack(CMakePackage):
'-DTPL_SCALAPACK_LIBRARIES=%s' % spec['scalapack'].
libs.joined(";"),
'-DTPL_ARPACK_LIBRARIES=%s' % spec['arpack-ng'].libs.joined(";"),
+ '-DBUILD_SHARED_LIBS=%s' % on_off('+shared'),
]
- args.extend([
- '-DBUILD_SHARED_LIBS=%s' % on_off('+shared')
- ])
-
return args