c-blosc: 1.12.1 (#6571)
Adds a newer release of c-blosc, adds the new flags for external library builds, adds missing dependencies.
This commit is contained in:
parent
90c7bc7a24
commit
09e68c5c8a
1 changed files with 9 additions and 0 deletions
|
@ -33,6 +33,7 @@ class CBlosc(CMakePackage):
|
||||||
homepage = "http://www.blosc.org"
|
homepage = "http://www.blosc.org"
|
||||||
url = "https://github.com/Blosc/c-blosc/archive/v1.11.1.tar.gz"
|
url = "https://github.com/Blosc/c-blosc/archive/v1.11.1.tar.gz"
|
||||||
|
|
||||||
|
version('1.12.1', '6fa4ecb7ef70803a190dd386bf4a2e93')
|
||||||
version('1.11.1', 'e236550640afa50155f3881f2d300206')
|
version('1.11.1', 'e236550640afa50155f3881f2d300206')
|
||||||
version('1.9.2', 'dd2d83069d74b36b8093f1c6b49defc5')
|
version('1.9.2', 'dd2d83069d74b36b8093f1c6b49defc5')
|
||||||
version('1.9.1', '7d708d3daadfacf984a87b71b1734ce2')
|
version('1.9.1', '7d708d3daadfacf984a87b71b1734ce2')
|
||||||
|
@ -45,6 +46,8 @@ class CBlosc(CMakePackage):
|
||||||
depends_on('cmake@2.8.10:', type='build')
|
depends_on('cmake@2.8.10:', type='build')
|
||||||
depends_on('snappy')
|
depends_on('snappy')
|
||||||
depends_on('zlib')
|
depends_on('zlib')
|
||||||
|
depends_on('zstd')
|
||||||
|
depends_on('lz4')
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = []
|
args = []
|
||||||
|
@ -54,6 +57,12 @@ def cmake_args(self):
|
||||||
else:
|
else:
|
||||||
args.append('-DDEACTIVATE_AVX2=ON')
|
args.append('-DDEACTIVATE_AVX2=ON')
|
||||||
|
|
||||||
|
if self.spec.satisfies('@1.12.0:'):
|
||||||
|
args.append('-DPREFER_EXTERNAL_SNAPPY=ON')
|
||||||
|
args.append('-DPREFER_EXTERNAL_ZLIB=ON')
|
||||||
|
args.append('-DPREFER_EXTERNAL_ZSTD=ON')
|
||||||
|
args.append('-DPREFER_EXTERNAL_LZ4=ON')
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
|
|
Loading…
Reference in a new issue