Skip to content

Commit

Permalink
C-Blosc 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Aug 16, 2023
1 parent f7c0101 commit 7caefd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
25 changes: 5 additions & 20 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -92,26 +92,11 @@ exit /b 0
:build_blosc2
if exist blosc2-stamp exit /b 0

curl -sLo blosc2-2.9.3.zip ^
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.9.3.zip
powershell Expand-Archive blosc2-2.9.3.zip -DestinationPath dep-blosc2

:: https://github.com/Blosc/c-blosc2/pull/525
curl -sLo c-blosc2-cmake.patch ^
https://patch-diff.githubusercontent.com/raw/Blosc/c-blosc2/pull/525.patch
python -m patch -p 1 -d dep-blosc2/c-blosc2-2.9.3 c-blosc2-cmake.patch

:: https://github.com/Blosc/c-blosc2/issues/526
curl -sLo c-blosc2-cxx20.patch ^
https://github.com/Blosc/c-blosc2/pull/527.patch
python -m patch -p 1 -d dep-blosc2/c-blosc2-2.9.3 c-blosc2-cxx20.patch

:: https://github.com/Blosc/c-blosc2/pull/529
curl -sLo c-blosc2-external-zlib.patch ^
https://github.com/Blosc/c-blosc2/pull/529.patch
python -m patch -p 1 -d dep-blosc2/c-blosc2-2.9.3 c-blosc2-external-zlib.patch

cmake -S dep-blosc2/c-blosc2-2.9.3 -B build-blosc2 ^
curl -sLo blosc2-2.10.1.zip ^
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.10.1.zip
powershell Expand-Archive blosc2-2.10.1.zip -DestinationPath dep-blosc2

cmake -S dep-blosc2/c-blosc2-2.10.1 -B build-blosc2 ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED=OFF ^
-DBUILD_STATIC=ON ^
Expand Down
5 changes: 2 additions & 3 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,8 @@ function build_blosc {
function build_blosc2 {
if [ -e blosc-stamp2 ]; then return; fi

#curl -sLo blosc2-v2.10.0.tar.gz \
curl -sLo blosc2-topic-cmake-install-targets.tar.gz \
https://github.com/Blosc/c-blosc2/archive/d510951c492db9f09ab9171675c3dddbf8ffd4fa.tar.gz
curl -sLo blosc2-v2.10.1.tar.gz \
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.10.1.tar.gz
file blosc2*.tar.gz
tar -xzf blosc2*.tar.gz
rm blosc2*.tar.gz
Expand Down

0 comments on commit 7caefd6

Please sign in to comment.