Skip to content

Commit

Permalink
[Patch] C-Blosc2 Static
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Nov 10, 2023
1 parent a9aaad9 commit fe01198
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ exit /b 0
https://github.com/ornladios/ADIOS2/archive/v2.9.2.zip
powershell Expand-Archive adios2-2.9.2.zip -DestinationPath dep-adios2

:: Patch Static Blosc2
curl -sLo find-blosc2.patch ^
https://github.com/ornladios/ADIOS2/commit/8333d5e6ff4665d12cbbd5bae5150bfff5be2daa.patch
python3 -m patch -p 1 -d ADIOS2-* find-blosc2.patch

cmake -S dep-adios2/ADIOS2-2.9.2 -B build-adios2 ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=OFF ^
Expand Down
5 changes: 5 additions & 0 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ function build_adios2 {
tar -xzf adios2*.tar.gz
rm adios2*.tar.gz

# Patch Static Blosc2
curl -sLo find-blosc2.patch \
https://github.com/ornladios/ADIOS2/commit/8333d5e6ff4665d12cbbd5bae5150bfff5be2daa.patch
python3 -m patch -p 1 -d ADIOS2-* find-blosc2.patch

# build
mkdir build-adios2
cd build-adios2
Expand Down

0 comments on commit fe01198

Please sign in to comment.