[PATCH] D132902: [CMake] Fix cmake for MLGO
Yueh-Ting (eop) Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 18:17:24 PDT 2022
eopXD created this revision.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: All.
eopXD requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The if-statement should check whehter TFLITE is on or not rather than if the variable is specified.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132902
Files:
llvm/lib/Analysis/CMakeLists.txt
Index: llvm/lib/Analysis/CMakeLists.txt
===================================================================
--- llvm/lib/Analysis/CMakeLists.txt
+++ llvm/lib/Analysis/CMakeLists.txt
@@ -18,7 +18,7 @@
endif()
if (DEFINED LLVM_HAVE_TF_API)
- if (DEFINED LLVM_HAVE_TFLITE)
+ if (LLVM_HAVE_TFLITE)
build_proto(
tensorflow/core/protobuf/error_codes
tensorflow/core/example/feature
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132902.456511.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220830/bcfc033e/attachment.bin>
More information about the llvm-commits
mailing list