aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Müller <ingomueller@google.com>2025-07-28 11:38:57 +0100
committerGitHub <noreply@github.com>2025-07-28 12:38:57 +0200
commit5ad7ef6fec63de35a02526bc3e7fce648ab486e2 (patch)
tree50c3c6fe50cf59e87e01fab5fe02a48a53391afc
parentbd2b7eb23918b618ab8fb9963ea0533522a6c16a (diff)
downloadllvm-5ad7ef6fec63de35a02526bc3e7fce648ab486e2.zip
llvm-5ad7ef6fec63de35a02526bc3e7fce648ab486e2.tar.gz
llvm-5ad7ef6fec63de35a02526bc3e7fce648ab486e2.tar.bz2
[bazel] add new cmakedefine from #147418 to bazel config file (#150912)
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 <ingomueller@google.com>
-rw-r--r--utils/bazel/llvm_configs/llvm-config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/bazel/llvm_configs/llvm-config.h.cmake b/utils/bazel/llvm_configs/llvm-config.h.cmake
index a683229..39136bc 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 <sysexits.h> header file. */
#cmakedefine HAVE_SYSEXITS_H ${HAVE_SYSEXITS_H}