Skip to content

Commit

Permalink
[Patch] ADIOS2: Fix ChunkV Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Aug 19, 2023
1 parent 9d46036 commit 4dffa20
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
12 changes: 12 additions & 0 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ exit /b 0
https://github.com/ornladios/ADIOS2/archive/v2.9.1.zip
powershell Expand-Archive adios2-2.9.1.zip -DestinationPath dep-adios2

:: C-Blosc2 Static Build
:: https://github.com/ornladios/ADIOS2/pull/3715
curl -sLo adios2-cblosc2-static.patch ^
https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/3715.patch
python -m patch -p 1 -d dep-adios2/ADIOS2-2.9.1 adios2-cblosc2-static.patch

:: fix compression issues
:: https://github.com/ornladios/ADIOS2/pull/3769
curl -sLo adios2-chunkv.patch ^
https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/3769.patch
python -m patch -p 1 -d dep-adios2/ADIOS2-2.9.1 adios2-chunkv.patch

cmake -S dep-adios2/ADIOS2-2.9.1 -B build-adios2 ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=OFF ^
Expand Down
18 changes: 14 additions & 4 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,24 @@ function build_adios1 {
function build_adios2 {
if [ -e adios2-stamp ]; then return; fi

#curl -sLo adios2-2.9.0.tar.gz \
# https://github.com/ornladios/ADIOS2/archive/v2.9.0.tar.gz
curl -sLo adios2-fix-blosc2-findpackage.tar.gz \
https://github.com/ax3l/ADIOS2/archive/refs/heads/fix-blosc2-findpackage.tar.gz
curl -sLo adios2-2.9.1.tar.gz \
https://github.com/ornladios/ADIOS2/archive/v2.9.1.tar.gz
file adios2*.tar.gz
tar -xzf adios2*.tar.gz
rm adios2*.tar.gz

# C-Blosc2 Static Build
# https://github.com/ornladios/ADIOS2/pull/3715
curl -sLo adios2-cblosc2-static.patch \
https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/3715.patch
python3 -m patch -p 1 -d ADIOS2-* adios2-cblosc2-static.patch

# fix compression issues
# https://github.com/ornladios/ADIOS2/pull/3769
curl -sLo adios2-chunkv.patch \
https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/3769.patch
python3 -m patch -p 1 -d ADIOS2-* adios2-chunkv.patch

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

0 comments on commit 4dffa20

Please sign in to comment.