forked from Viq111/travis-container-packets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# source this file to setup the deployed package | ||
if [[ ! -z "$CXX" && "$CXX" != "g++" ]]; then | ||
return | ||
fi | ||
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=3 https://github.com/A2-Collaboration/travis-container-packets/releases/download/gcc-8.2.0/gcc.tar.xz | ||
tar -xJf gcc.tar.xz | ||
rm gcc.tar.xz | ||
export PATH=$(pwd)/gcc/bin:$PATH | ||
export LIBRARY_PATH=$(pwd)/gcc/lib64:$LIBRARY_PATH | ||
export LD_LIBRARY_PATH=$(pwd)/gcc/lib64:$LD_LIBRARY_PATH | ||
export CPLUS_INCLUDE_PATH=$(pwd)/gcc/include/c++/8.2.0:$CPLUS_INCLUDE_PATH |