Skip to content

Commit

Permalink
C-Blosc2 v2.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Nov 7, 2023
1 parent 1987bc5 commit b0c6944
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
15 changes: 4 additions & 11 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,11 @@ exit /b 0
:build_blosc2
if exist blosc2-stamp exit /b 0

curl -sLo blosc2-2.10.2.zip ^
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.10.2.zip
powershell Expand-Archive blosc2-2.10.2.zip -DestinationPath dep-blosc2
curl -sLo blosc2-2.11.1.zip ^
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.11.1.zip
powershell Expand-Archive blosc2-2.11.1.zip -DestinationPath dep-blosc2

:: Fix Threads search in Blosc2Config.cmake
:: https://github.com/Blosc/c-blosc2/pull/549
curl -sLo blosc2-threads.patch ^
https://github.com/Blosc/c-blosc2/pull/549.patch
python -m patch -p 1 -d dep-blosc2/c-blosc2-2.10.2 blosc2-threads.patch
if errorlevel 1 exit 1

cmake -S dep-blosc2/c-blosc2-2.10.2 -B build-blosc2 ^
cmake -S dep-blosc2/c-blosc2-2.11.1 -B build-blosc2 ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED=OFF ^
-DBUILD_STATIC=ON ^
Expand Down
7 changes: 2 additions & 5 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ function build_adios2 {
make -j${CPU_COUNT}
make install

# CMake Config package of C-Blosc 2.10.1+ only
rm -rf ${BUILD_PREFIX}/lib*/cmake/adios2/FindBlosc2.cmake

cd -

rm -rf build-adios2
Expand Down Expand Up @@ -199,8 +196,8 @@ function build_blosc {
function build_blosc2 {
if [ -e blosc-stamp2 ]; then return; fi

curl -sLo blosc2-v2.10.2.tar.gz \
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.10.2.tar.gz
curl -sLo blosc2-v2.11.1.tar.gz \
https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.11.1.tar.gz
file blosc2*.tar.gz
tar -xzf blosc2*.tar.gz
rm blosc2*.tar.gz
Expand Down

0 comments on commit b0c6944

Please sign in to comment.