Skip to content

Commit 9aec4bd

Browse files
[bazel] add new cmakedefine from #147418 to bazel config file
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 <[email protected]>
1 parent 931228e commit 9aec4bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/bazel/llvm_configs/llvm-config.h.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@
101101
/* Define if LLVM is using tflite */
102102
#cmakedefine LLVM_HAVE_TFLITE
103103

104+
/* Define if we want to check profile consistency in lit tests */
105+
#cmakedefine LLVM_ENABLE_PROFCHECK
106+
104107
/* Define to 1 if you have the <sysexits.h> header file. */
105108
#cmakedefine HAVE_SYSEXITS_H ${HAVE_SYSEXITS_H}
106109

0 commit comments

Comments
 (0)