gnu: c-blosc: Build with external libraries and without AVX2.
* gnu/packages/compression.scm (c-blosc)[inputs]: Add lz4, snappy, zlib, and zstd. [arguments]: Disable building with AVX2 instructions; prefer our compression packages over bundled sources.
This commit is contained in:
parent
41c8ee1b50
commit
7850856591
1 changed files with 12 additions and 0 deletions
|
@ -2621,6 +2621,18 @@ (define-public c-blosc
|
|||
(base32
|
||||
"1ywq8j70149859vvs19wgjq89d6xsvvmvm2n1dmkzpchxgrvnw70"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
'("-DDEACTIVATE_AVX2=ON"
|
||||
"-DPREFER_EXTERNAL_LZ4=ON"
|
||||
"-DPREFER_EXTERNAL_SNAPPY=ON"
|
||||
"-DPREFER_EXTERNAL_ZLIB=ON"
|
||||
"-DPREFER_EXTERNAL_ZSTD=ON")))
|
||||
(inputs
|
||||
`(("lz4" ,lz4)
|
||||
("snappy" ,snappy)
|
||||
("zlib" ,zlib)
|
||||
("zstd:lib" ,zstd "lib")))
|
||||
(home-page "https://blosc.org")
|
||||
(synopsis "Blocking, shuffling and lossless compression library")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue