[llvm] e37b220 - [gn build] (manually) hack around 70f8d0ac8a3

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 03:35:47 PDT 2020


Author: Nico Weber
Date: 2020-07-21T06:35:36-04:00
New Revision: e37b220442ec4f629a30e5ac229f2ae17580dca9

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

LOG: [gn build] (manually) hack around 70f8d0ac8a3

Added: 
    

Modified: 
    llvm/lib/Analysis/CMakeLists.txt
    llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/CMakeLists.txt b/llvm/lib/Analysis/CMakeLists.txt
index a6a267c81368..4f10e8de0258 100644
--- a/llvm/lib/Analysis/CMakeLists.txt
+++ b/llvm/lib/Analysis/CMakeLists.txt
@@ -1,7 +1,7 @@
 set(CommonMLSources MLInlineAdvisor.cpp)
 set(ReleaseModeMLSources ReleaseModeModelRunner.cpp)
 set(DevelopmentModeMLSources
-  DevelopmentModeInlineAdvisor.cpp 
+  DevelopmentModeInlineAdvisor.cpp
   TFUtils.cpp
   )
 

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
index c13dc723ecd1..1a339b6d4cfd 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
@@ -118,3 +118,10 @@ static_library("Analysis") {
     "VectorUtils.cpp",
   ]
 }
+
+static_library("TensorFlow") {
+  sources = [
+    "DevelopmentModeInlineAdvisor.cpp",
+    "TFUtils.cpp",
+  ]
+}


        


More information about the llvm-commits mailing list