Skip to content

Commit 8e70a4a

Browse files
committed
Patch Cleanup/Simplify
1 parent 59a3bd8 commit 8e70a4a

File tree

2 files changed

+14
-22
lines changed

2 files changed

+14
-22
lines changed

library_builders.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ exit /b 0
2121
https://github.com/ornladios/ADIOS2/archive/v2.11.0.zip
2222
powershell Expand-Archive adios2-2.11.0.zip -DestinationPath dep-adios2
2323

24+
:: Patch Win32 on ADIOS 2.11.0 https://github.com/ornladios/ADIOS2/issues/4808
2425
curl -sLo dep-adios2/ADIOS2-2.11.0/patch.diff https://github.com/franzpoeschel/ADIOS2/commit/13e9747799e32841b29f166c2bcdfd82ee915f1a.patch
2526

2627
:: Use git-am for applying the patch,

library_builders.sh

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function install_buildessentials {
2424
# - Travis-CI macOS ships a pre-installed HDF5
2525
brew unlink hdf5 || true
2626
brew uninstall --ignore-dependencies hdf5 || true
27-
rm -rf /usr/local/Cellar/hdf5
27+
rm -rf /usr/local/Cellar/hdf5git
2828
fi
2929

3030
# musllinux: Alpine Linux
@@ -77,31 +77,22 @@ function install_buildessentials {
7777
function build_adios2 {
7878
if [ -e adios2-stamp ]; then return; fi
7979

80-
# curl -sLo adios2-2.11.0.tar.gz \
81-
# https://github.com/ornladios/ADIOS2/archive/v2.11.0.tar.gz
82-
# file adios2*.tar.gz
83-
# tar -xzf adios2*.tar.gz
84-
# rm adios2*.tar.gz
85-
86-
# cd ADIOS2-*
87-
# # Need this PR for static builds https://github.com/ornladios/ADIOS2/pull/4812
88-
# # Since the PR does not cleanly merge, this is a custom patch that checks out
89-
# # the subdirectories of the atl, dill, EVPath and ffs thirdparty libraries
90-
# patch -p1 ../0001-Pull-in-atl-dill-EVPath-ffs-after-merging-https-gith.patch
91-
# cd ..
92-
93-
# temporary for macOS on ADIOS 2.11.0
94-
git clone https://github.com/ornladios/ADIOS2 ADIOS2-2.11.0
95-
cd ADIOS2-2.11.0
96-
git checkout 7a21e4ef2f5def6659e67084b5210a66582d4b1a
80+
curl -sLo adios2-2.11.0.tar.gz \
81+
https://github.com/ornladios/ADIOS2/archive/v2.11.0.tar.gz
82+
file adios2*.tar.gz
83+
tar -xzf adios2*.tar.gz
84+
rm adios2*.tar.gz
85+
86+
# static build of macOS on ADIOS 2.11.0
87+
# https://github.com/ornladios/ADIOS2/issues/4807
9788
if [ "$(uname -s)" = "Darwin" ]
9889
then
99-
curl -sLo 4820.patch https://github.com/ornladios/ADIOS2/pull/4820.patch
90+
cd ADIOS2-2.11.0
91+
curl -sLo 4820.diff https://github.com/ornladios/ADIOS2/pull/4820.diff
10092
GIT_COMMITTER_NAME="Greg Eisenhauer" GIT_COMMITTER_EMAIL="eisen@cc.gatech.edu" \
101-
git am 4820.patch
102-
git diff
93+
patch -p1 < 4820.diff
94+
cd ..
10395
fi
104-
cd ..
10596

10697
# build
10798
mkdir build-adios2

0 commit comments

Comments
 (0)