From c632ee1c5d658c77601ab4a44c83fe5c548e7570 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Thu, 1 Sep 2022 18:38:03 +0200 Subject: [PATCH] [libc++] Shows the detailed compiler version info. 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot index a5ec935..91f203a 100755 --- a/libcxx/utils/ci/run-buildbot +++ b/libcxx/utils/ci/run-buildbot @@ -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 -- 2.7.4