client-root/helper.txt

54 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-07-01 16:32:56 -04:00
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
2019-07-02 04:14:26 -04:00
-> 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
2019-07-02 06:32:53 -04:00
aptitude install sudo git wget curl python-software-properties realpath
apt-get install golang-go #For boringssl
2019-07-02 04:14:26 -04:00
# 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
2019-07-02 06:32:53 -04:00
# Setup go
wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz
sudo tar -xvf go1.12.6.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export PATH=$GOROOT/bin:$PATH
2019-07-02 04:14:26 -04:00
#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