From 0e5ab6f95a553f4b8581287708b152d04b0302f6 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 8 Jun 2019 00:08:37 +0800 Subject: [PATCH] install-deps.sh: use GCC-9 on bionic two reasons * GCC-9 features more checks. so let's use it! * crimson targets the hardware + toolchain + kernel after 1+ years, so it would be great if we can compile and test crimson using the toolchain which is ubiquitous on most mainstream distos. Signed-off-by: Kefu Chai --- install-deps.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-deps.sh b/install-deps.sh index 62bd1297deb..03b48df5e5b 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -103,6 +103,8 @@ ENDOFKEY old=4.8;; xenial) old=5;; + bionic) + old=7;; esac $SUDO update-alternatives --remove-all gcc || true $SUDO update-alternatives \ @@ -281,6 +283,7 @@ else [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu xenial ;; *Bionic*) + ensure_decent_gcc_on_ubuntu 9 bionic [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu bionic ;; *) -- 2.39.5