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 <kchai@redhat.com>
old=4.8;;
xenial)
old=5;;
+ bionic)
+ old=7;;
esac
$SUDO update-alternatives --remove-all gcc || true
$SUDO update-alternatives \
[ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu xenial
;;
*Bionic*)
+ ensure_decent_gcc_on_ubuntu 9 bionic
[ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu bionic
;;
*)