mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-21 18:41:38 +00:00
Set devtoolset for centos7 build
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
# CentOS 7 comes with GCC 4.8.5 which does not fully support C++14, so we need
|
||||
# a newer toolchain.
|
||||
sudo yum install -y centos-release-scl
|
||||
sudo yum install -y devtoolset-9
|
||||
source /opt/rh/devtoolset-9/enable
|
||||
|
||||
# Build omnibus package
|
||||
. $HOME/.asdf/asdf.sh
|
||||
cd /vagrant
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
# CentOS 7 comes with GCC 4.8.5 which does not fully support C++14, so we need
|
||||
# a newer toolchain.
|
||||
sudo yum install -y centos-release-scl
|
||||
sudo yum install -y devtoolset-9
|
||||
source /opt/rh/devtoolset-9/enable
|
||||
|
||||
# Install prerequisites
|
||||
sudo yum install -y \
|
||||
|
||||
Reference in New Issue
Block a user