File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff line change @@ -77,31 +77,23 @@ function install_buildessentials {
7777function 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
93+ git apply 4820.diff
10294 git diff
95+ cd ..
10396 fi
104- cd ..
10597
10698 # build
10799 mkdir build-adios2
You can’t perform that action at this time.
0 commit comments