[llvm] a4a4f60 - [MLGO] Correct protobuf path

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 13:25:04 PDT 2021


Author: Mircea Trofin
Date: 2021-07-22T13:24:55-07:00
New Revision: a4a4f602c74f868125773e690005878e79551e39

URL: https://github.com/llvm/llvm-project/commit/a4a4f602c74f868125773e690005878e79551e39
DIFF: https://github.com/llvm/llvm-project/commit/a4a4f602c74f868125773e690005878e79551e39.diff

LOG: [MLGO] Correct protobuf path

Added: 
    

Modified: 
    llvm/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 8f4d89749004..37218cd1093b 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -803,7 +803,7 @@ if (TENSORFLOW_C_LIB_PATH)
     endif()
     string(REGEX MATCH "Location: ([^\n]*\n)" TF_PIP_LOC "${TF_PIP_OUT}")
     string(REPLACE "Location: " "" TF_PIP ${TF_PIP_LOC})
-    set(TF_PROTO_HEADERS ${TF_PIP}/include)
+    set(TF_PROTO_HEADERS ${TF_PIP}/tensorflow/include)
   endif()
   include_directories(${TF_PROTO_HEADERS})
   add_definitions("-DGOOGLE_PROTOBUF_NO_RTTI")


        


More information about the llvm-commits mailing list