Skip to content

Commit ba5dad3

Browse files
committed
[Bazel] Enable LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG (for #87585)
1 parent d08a76d commit ba5dad3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@
306306
/* Whether tools show host and target info when invoked with --version */
307307
#define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
308308

309+
/* Whether tools show optional build config flags when invoked with --version */
310+
#define LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG 1
311+
309312
/* Define if libxml2 is supported on this platform. */
310313
/* #undef LLVM_ENABLE_LIBXML2 */
311314

utils/bazel/llvm_configs/config.h.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@
290290
/* Whether tools show host and target info when invoked with --version */
291291
#cmakedefine01 LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO
292292

293+
/* Whether tools show optional build config flags when invoked with --version */
294+
#cmakedefine01 LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG
295+
293296
/* Define if libxml2 is supported on this platform. */
294297
#cmakedefine LLVM_ENABLE_LIBXML2 ${LLVM_ENABLE_LIBXML2}
295298

0 commit comments

Comments
 (0)