From: Michael Jeanson Date: Wed, 8 Sep 2021 20:21:24 +0000 (-0400) Subject: jjb: Add C++ to print.sh X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0a4d98658e47715049aa5f5cd797db5f4d42bc06;p=lttng-ci.git jjb: Add C++ to print.sh Signed-off-by: Michael Jeanson --- diff --git a/scripts/common/print.sh b/scripts/common/print.sh index 047ed7d..6b15f72 100755 --- a/scripts/common/print.sh +++ b/scripts/common/print.sh @@ -62,11 +62,23 @@ print_tooling() { gcc --version | head -n1 gcc -dumpmachine + print_blue "Selected CXX version" + ${CXX:-c++} --version | head -n1 + + print_blue "Default g++ version" + g++ --version | head -n1 + g++ -dumpmachine + if command -v clang >/dev/null 2>&1; then print_blue "Default clang version" clang --version fi + if command -v clang++ >/dev/null 2>&1; then + print_blue "Default clang++ version" + clang++ --version + fi + print_blue "git version" git --version