-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor out prerequisite setup to scripts in ci/
- Loading branch information
1 parent
a31d35c
commit d4f42c0
Showing
4 changed files
with
51 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
mkdir zstd | ||
cd zstd | ||
git init | ||
git remote add origin https://github.com/facebook/zstd.git | ||
git fetch --depth 1 origin 63779c798237346c2b245c546c40b72a5a5913fe # 1.5.5 | ||
git checkout FETCH_HEAD | ||
cd build/cmake | ||
mkdir build | ||
cd build | ||
cmake .. -DZSTD_BUILD_SHARED=On -DZSTD_BUILD_SHARED=Off -DZSTD_LEGACY_SUPPORT=Off -DZSTD_BUILD_PROGRAMS=Off -DZSTD_BUILD_CONTRIB=Off -DZSTD_BUILD_TESTS=Off -G"Unix Makefiles" | ||
make -j | ||
make install | ||
cd ../../../.. | ||
mkdir libdwarf | ||
cd libdwarf | ||
git init | ||
git remote add origin https://github.com/jeremy-rifkin/libdwarf-lite.git | ||
git fetch --depth 1 origin 5c0cb251f94b27e90184e6b2d9a0c9c62593babc | ||
git checkout FETCH_HEAD | ||
mkdir build | ||
cd build | ||
cmake .. -DPIC_ALWAYS=TRUE -DBUILD_DWARFDUMP=FALSE -G"Unix Makefiles" | ||
make -j | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
mkdir zstd | ||
cd zstd | ||
git init | ||
git remote add origin https://github.com/facebook/zstd.git | ||
git fetch --depth 1 origin 63779c798237346c2b245c546c40b72a5a5913fe # 1.5.5 | ||
git checkout FETCH_HEAD | ||
make -j | ||
sudo make install | ||
cd .. | ||
mkdir libdwarf | ||
cd libdwarf | ||
git init | ||
git remote add origin https://github.com/jeremy-rifkin/libdwarf-lite.git | ||
git fetch --depth 1 origin 5c0cb251f94b27e90184e6b2d9a0c9c62593babc | ||
git checkout FETCH_HEAD | ||
mkdir build | ||
cd build | ||
cmake .. -DPIC_ALWAYS=TRUE -DBUILD_DWARFDUMP=FALSE | ||
make -j | ||
sudo make install |