Skip to content

Commit

Permalink
ADIOS: 2.6.0 -> 2.7.1
Browse files Browse the repository at this point in the history
Add support for improved blosc support:
ornladios/ADIOS2#2592
  • Loading branch information
ax3l committed Jun 4, 2021
1 parent 6d8596c commit 8adb4c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@ exit /b 0

:build_adios2
if exist adios2-stamp exit /b 0
curl -sLo adios2-2.6.0.zip ^
https://github.com/ornladios/ADIOS2/archive/v2.6.0.zip
powershell Expand-Archive adios2-2.6.0.zip -DestinationPath dep-adios2
curl -sLo adios2-2.7.1.zip ^
https://github.com/ornladios/ADIOS2/archive/v2.7.1.zip
powershell Expand-Archive adios2-2.7.1.zip -DestinationPath dep-adios2

:: Patch FindBlosc.cmake w/ ADIOS 2.6.0
curl -sLo adios2-blosc.patch ^
https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/2550.patch
python -m patch -p 1 -d dep-adios2/ADIOS2-2.6.0 adios2-blosc.patch

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

curl -sLo adios2-2.6.0.tar.gz \
https://github.com/ornladios/ADIOS2/archive/v2.6.0.tar.gz
curl -sLo adios2-2.7.1.tar.gz \
https://github.com/ornladios/ADIOS2/archive/v2.7.1.tar.gz
file adios2*.tar.gz
tar -xzf adios2*.tar.gz
rm adios2*.tar.gz
Expand Down

0 comments on commit 8adb4c3

Please sign in to comment.