Skip to content

Commit

Permalink
Add c-blosc2 package variant for Guix with AVX-512 enabled
Browse files Browse the repository at this point in the history
In preparation for the merging of Blosc#567.
  • Loading branch information
ivilata committed Oct 27, 2023
1 parent 0380bf8 commit 0b697f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .guix/modules/c-blosc2-package.scm
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
;; Disable AVX2 by default as in Guix' c-blosc package.
`(#:configure-flags '("-DBUILD_STATIC=OFF"
"-DDEACTIVATE_AVX2=ON"
"-DDEACTIVATE_AVX512=ON"
"-DPREFER_EXTERNAL_LZ4=ON"
"-DPREFER_EXTERNAL_ZLIB=ON"
"-DPREFER_EXTERNAL_ZSTD=ON")))
Expand Down Expand Up @@ -88,4 +89,11 @@ supported).")
#~(list "-DDEACTIVATE_AVX2=OFF")))
(name "c-blosc2-with-avx2")))

(define-public c-blosc2-with-avx512
(package
(inherit (package-with-configure-flags c-blosc2
#~(list "-DDEACTIVATE_AVX2=OFF"
"-DDEACTIVATE_AVX512=OFF")))
(name "c-blosc2-with-avx512")))

c-blosc2

0 comments on commit 0b697f9

Please sign in to comment.