Skip to content

Commit

Permalink
Download prebuilt libbacktrace before building
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrox committed Jan 3, 2020
1 parent a1a2c80 commit a00d30d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-scripts/libbacktrace-mingw-sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7932bc330b982da3e3f9603287dbf5ee3014692b3998b84ef1b045fa0a826706 *libbacktrace-mingw.tar.gz
7 changes: 7 additions & 0 deletions build-scripts/requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ if [ -n "${MXE_TARGET}" ]; then
# Need to overwrite CXX to make the Makefile $CROSS logic work right.
export CXX="$COMPILER"
export CCACHE=1

curl -L -o libbacktrace-mingw.tar.gz https://github.com/Qrox/libbacktrace/releases/download/2020-01-03/libbacktrace-mingw.tar.gz
if ! shasum -a 256 -c ./build-scripts/libbacktrace-mingw-sha256; then
echo "Checksum failed for libbacktrace-mingw.tar.gz"
return -1;
fi
sudo tar -xzf libbacktrace-mingw.tar.gz --exclude=LICENSE -C ${MXE_DIR}/../${PLATFORM}
fi

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
Expand Down

0 comments on commit a00d30d

Please sign in to comment.