diff options
| author | Andrew Sayman <andrew.sayman@gmail.com> | 2018-12-11 02:30:37 -0500 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-12-10 23:30:37 -0800 |
| commit | 3fb47a376f94094a5b2ffd46bb016a5955eb8530 (patch) | |
| tree | c51ae85ec4bdcc9dcb7f61245472b716fb7efacb | |
| parent | 5ff5ab7ae29313e95eab07172721800c5fa84c0c (diff) | |
| download | vcpkg-3fb47a376f94094a5b2ffd46bb016a5955eb8530.tar.gz vcpkg-3fb47a376f94094a5b2ffd46bb016a5955eb8530.zip | |
Include instructions for CentOS bootstrapping (#4892)
Currently only includes Ubuntu or apt oriented system. CentOS provides similarly working compilers through devtoolsets.
| -rw-r--r-- | scripts/bootstrap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 478183372..cc272da58 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -181,9 +181,14 @@ selectCXX() gccversion="$(extractStringBetweenDelimiters "$gccversion" "gcc version " ".")" if [ "$gccversion" -lt "6" ]; then echo "CXX ($CXX) is too old; please install a newer compiler such as g++-7." + echo "On Ubuntu try the following: echo "sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y" echo "sudo apt-get update -y" echo "sudo apt-get install g++-7 -y" + echo "On CentOS try the following:" + echo "sudo yum install centos-release-scl" + echo "sudo yum install devtoolset-7" + echo "scl enable devtoolset-7 bash" return 1 fi |
