diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-17 16:12:28 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-17 20:45:54 +0000 |
commit | 7850856591e91850237e163ba9d39509ced718ed (patch) | |
tree | c4a9c7316edeb1b779fe5d7af134c5ff860ec26b /gnu/packages/compression.scm | |
parent | 41c8ee1b50ef096683d1542008de28e1b7e14891 (diff) | |
download | guix-7850856591e91850237e163ba9d39509ced718ed.tar.gz |
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.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 3098230bd5..0a993d1550 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -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 |