Skip to content

Add files for GNU Guix support#568

Merged
FrancescAlted merged 3 commits intoBlosc:mainfrom
ivilata:add-guix-files
Oct 30, 2023
Merged

Add files for GNU Guix support#568
FrancescAlted merged 3 commits intoBlosc:mainfrom
ivilata:add-guix-files

Conversation

@ivilata
Copy link
Contributor

@ivilata ivilata commented Oct 27, 2023

This adds the files needed to ease development and installation from upstream source under GNU Guix, as described in From development environments to continuous integration. For instance, spawning a shell with build dependencies would be a easy as guix shell -CP -D -f guix.scm, and building just guix build -f guix.scm. Variants supporting AVX2 and AVX-512 (for #567) are provided too (guix -L $PWD/.guix/modules c-blosc2-with-avx2), as some packages in GNU Guix disable it by default, most notably c-blosc.

Configure flags are similar to those in Guix' c-blosc package definition:
besides disabling static libraries and using external libraries when possible,
AVX2 are disabled as some CPUs do not support them.
@ivilata ivilata requested a review from FrancescAlted October 27, 2023 19:09
Copy link
Member

@FrancescAlted FrancescAlted left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FrancescAlted FrancescAlted merged commit af2c534 into Blosc:main Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants