From 6020a7b19c030ee501f92cac49d7e8207d4386c7 Mon Sep 17 00:00:00 2001 From: wangchao Date: Thu, 14 Nov 2019 11:00:06 +0800 Subject: [PATCH] upgrade gcc and g++ to version 9 --- docker/builder/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/builder/build.sh b/docker/builder/build.sh index 8af31cb3d43..983c25fdec4 100755 --- a/docker/builder/build.sh +++ b/docker/builder/build.sh @@ -3,7 +3,7 @@ #ccache -s # uncomment to display CCache statistics mkdir -p /server/build_docker cd /server/build_docker -cmake -G Ninja /server -DCMAKE_C_COMPILER=`which gcc-8` -DCMAKE_CXX_COMPILER=`which g++-8` +cmake -G Ninja /server -DCMAKE_C_COMPILER=`which gcc-9` -DCMAKE_CXX_COMPILER=`which g++-9` # Set the number of build jobs to the half of number of virtual CPU cores (rounded up). # By default, ninja use all virtual CPU cores, that leads to very high memory consumption without much improvement in build time.