[libc++] Shows the detailed compiler version info.
authorMark de Wever <koraq@xs4all.nl>
Thu, 1 Sep 2022 16:38:03 +0000 (18:38 +0200)
committerMark de Wever <koraq@xs4all.nl>
Fri, 16 Sep 2022 14:15:36 +0000 (16:15 +0200)
The libc++ pre-commit CI uses Clang nightly builds. Currently it's not
possible to determine the exact version used since CMake doesn't show
this information by default. Instead use the --version flag to get this
information.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D133122

libcxx/utils/ci/run-buildbot

index a5ec935..91f203a 100755 (executable)
@@ -148,6 +148,8 @@ function check-cxx-benchmarks() {
 ${CMAKE} --version
 ${NINJA} --version
 
+if [ ! -z "${CXX}" ]; then ${CXX} --version; fi
+
 case "${BUILDER}" in
 check-format)
     clean