From 5ad7ef6fec63de35a02526bc3e7fce648ab486e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20M=C3=BCller?= Date: Mon, 28 Jul 2025 11:38:57 +0100 Subject: [PATCH] [bazel] add new cmakedefine from #147418 to bazel config file (#150912) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR adds the `#cmakedefine LLVM_ENABLE_PROFCHECK` in `llvm-config.h.cmake` introduced in #147418 to the copy of that file in the bazel overlay directory such that that define is also avalable in the bazel build. Not having the define broke the bazel build. Signed-off-by: Ingo Müller --- utils/bazel/llvm_configs/llvm-config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/bazel/llvm_configs/llvm-config.h.cmake b/utils/bazel/llvm_configs/llvm-config.h.cmake index a6832299e5b6..39136bc45c29 100644 --- a/utils/bazel/llvm_configs/llvm-config.h.cmake +++ b/utils/bazel/llvm_configs/llvm-config.h.cmake @@ -101,6 +101,9 @@ /* Define if LLVM is using tflite */ #cmakedefine LLVM_HAVE_TFLITE +/* Define if we want to check profile consistency in lit tests */ +#cmakedefine LLVM_ENABLE_PROFCHECK + /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYSEXITS_H ${HAVE_SYSEXITS_H}