jjb: lttng-tools/babeltrace: smokebuild proof-of-concept
[lttng-ci.git] / scripts / common / print.sh
index 21c5e609219a72253337a918ef57305af0f322de..5da444401c4b2ffe79d4001f490b34b27bafdd92 100755 (executable)
@@ -58,15 +58,27 @@ print_tooling() {
     print_blue "Selected CC version"
     ${CC:-cc} --version | head -n1
 
+    print_blue "Selected CXX version"
+    ${CXX:-c++} --version | head -n1
+
     print_blue "Default gcc version"
     gcc --version | head -n1
     gcc -dumpmachine
 
+    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
 
@@ -108,7 +120,7 @@ print_tooling() {
     ${TAR:-tar} --version | head -n1
 
     print_blue "Selected python version"
-    ${PYTHON} --version
+    ${PYTHON:-python} --version
 
     if command -v "${PYTHON2:-python2}" >/dev/null 2>&1; then
         print_blue "python2 version"
This page took 0.024387 seconds and 4 git commands to generate.