Skip to content

Commit 4705753

Browse files
committed
Use Python's patch module
1 parent ccc07a5 commit 4705753

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

library_builders.bat

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

24-
curl -sLo dep-adios2/ADIOS2-2.10.2/patch.diff https://github.com/franzpoeschel/ADIOS2/commit/9f3bea5d3974578bb40fc629506666633a4b6743.patch
25-
cd dep-adios2/ADIOS2-2.10.2
26-
git init
27-
git config user.email "tooling@tools.com"
28-
git config user.name "Tooling"
29-
git add .
30-
git commit --message="Initial commit so we can use git-am"
31-
git am patch.diff
32-
cd ..
33-
cd ..
24+
python -m patch --directory=dep-adios2/ADIOS2-2.10.2/ https://github.com/franzpoeschel/ADIOS2/commit/9f3bea5d3974578bb40fc629506666633a4b6743.patch
3425

3526
cmake --version
3627

0 commit comments

Comments
 (0)