ButterflyPACK package: add URL, versions 1.0.0 and 1.0.1 (#12428)
This commit is contained in:
parent
e47b65a2a7
commit
7303b6cdc9
@ -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 @@ def on_off(varstr):
|
||||
'-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
|
||||
|
Loading…
Reference in New Issue
Block a user