client-root/helper.txt
2019-07-02 10:14:26 +02:00

46 lines
1.4 KiB
Plaintext

Update/initialize git submodules (Using the refs given!):
#Update the module
git submodule update --init --recursive
#Resetting local made changes
git submodule foreach git reset --hard
build_event.sh updated!
build_os_type: [linux|win32]
build_os_type linux
-> build_os_arch: [x86|amd64]
build_os_type win32
-> build_os_arch: [x86|amd64]
docker setup:
# General setup
echo "deb http://archive.debian.org/debian/ wheezy main contrib non-free" > /etc/apt/sources.list
apt-get update
apt-get install aptitude
aptitude install sudo git wget curl python-software-properties
# Setup GCC-9 from source
aptitude install build-essential
wget ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-9.1.0/gcc-9.1.0.tar.gz
tar xvf gcc-9.1.0.tar.gz
cd gcc-9.1.0
mkdir build && cd build
./contrib/download_prerequisites
../configure -v --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --prefix=/usr/local/gcc-9.1 --enable-checking=release --enable-languages=c,c++ --disable-multilib --program-suffix=-9.1
make -j 12
sudo make install
sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-9.1/bin/gcc-9.1 800 --slave /usr/bin/g++ g++ /usr/local/gcc-9.1/bin/g++-9.1
#Install cmake
wget https://github.com/Kitware/CMake/releases/download/v3.15.0-rc3/cmake-3.15.0-rc3-Linux-x86_64.sh
chmod +x cmake-3.15.0-rc3-Linux-x86_64.sh
./cmake-3.15.0-rc3-Linux-x86_64.sh --prefix=/ --skip-license