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:
Ricardo Wurmus 2021-11-17 16:12:28 +00:00
parent 41c8ee1b50
commit 7850856591
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -2621,6 +2621,18 @@ chunks.")
(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