From e579ee394b7b2eac266d2b980cbd23b15e7d149e Mon Sep 17 00:00:00 2001 From: Sascha Wagner Date: Tue, 4 Dec 2018 12:43:05 +0100 Subject: [PATCH] Add setup script for 8.2 release --- setup_8.2.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 setup_8.2.sh diff --git a/setup_8.2.sh b/setup_8.2.sh new file mode 100644 index 0000000..7cbff68 --- /dev/null +++ b/setup_8.2.sh @@ -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