From e37b220442ec4f629a30e5ac229f2ae17580dca9 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 21 Jul 2020 06:35:24 -0400 Subject: [PATCH] [gn build] (manually) hack around 70f8d0ac8a3 --- llvm/lib/Analysis/CMakeLists.txt | 2 +- llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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", + ] +}