aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-05-08 06:29:01 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-08 10:13:37 -0700
commite6bf33e8eb62a9490b9621316fe757c3f500c6f3 (patch)
treef65b71510bab6bb6e306f37cd707242ec6e1f625 /third_party
parentd592502460f5647422cf490d44243a8f5a41a882 (diff)
Added missing dependencies in llvm.BUILD.
Change: 155376589
Diffstat (limited to 'third_party')
-rw-r--r--third_party/llvm/llvm.BUILD26
1 files changed, 25 insertions, 1 deletions
diff --git a/third_party/llvm/llvm.BUILD b/third_party/llvm/llvm.BUILD
index 386c41910b..15aa53962d 100644
--- a/third_party/llvm/llvm.BUILD
+++ b/third_party/llvm/llvm.BUILD
@@ -441,6 +441,16 @@ llvm_target_list = [
for target in llvm_target_list
]
+# This target is used to provide *.def files to x86_code_gen.
+# Files with '.def' extension are not allowed in 'srcs' of 'cc_library' rule.
+cc_library(
+ name = "x86_defs",
+ hdrs = glob([
+ "lib/Target/X86/*.def",
+ ]),
+ visibility = ["//visibility:private"],
+)
+
cc_library(
name = "aarch64_asm_parser",
srcs = glob([
@@ -628,6 +638,7 @@ cc_library(
"lib/Analysis/*.cpp",
"lib/Analysis/*.inc",
"include/llvm/Transforms/Utils/Local.h",
+ "include/llvm/Transforms/Scalar.h",
"lib/Analysis/*.h",
]),
hdrs = glob([
@@ -730,6 +741,7 @@ cc_library(
"lib/Target/ARM/MCTargetDesc/*.cpp",
"lib/Target/ARM/MCTargetDesc/*.inc",
"lib/Target/ARM/*.h",
+ "include/llvm/CodeGen/GlobalISel/GISelAccessor.h",
]),
hdrs = glob([
"include/llvm/Target/ARM/MCTargetDesc/*.h",
@@ -910,6 +922,7 @@ cc_library(
":bit_writer",
":config",
":core",
+ ":instrumentation",
":mc",
":profile_data",
":scalar",
@@ -1108,6 +1121,9 @@ cc_library(
"lib/Transforms/IPO/*.c",
"lib/Transforms/IPO/*.cpp",
"lib/Transforms/IPO/*.inc",
+ "include/llvm/Transforms/SampleProfile.h",
+ "include/llvm-c/Transforms/IPO.h",
+ "include/llvm-c/Transforms/PassManagerBuilder.h",
"lib/Transforms/IPO/*.h",
]),
hdrs = glob([
@@ -1374,6 +1390,7 @@ cc_library(
"lib/Transforms/ObjCARC/*.c",
"lib/Transforms/ObjCARC/*.cpp",
"lib/Transforms/ObjCARC/*.inc",
+ "include/llvm/Transforms/ObjCARC.h",
"lib/Transforms/ObjCARC/*.h",
]),
hdrs = glob([
@@ -1683,6 +1700,7 @@ cc_library(
"lib/Support/Unix/*.inc",
"lib/Support/Unix/*.h",
"include/llvm-c/*.h",
+ "include/llvm/CodeGen/MachineValueType.h",
"lib/Support/*.h",
]),
hdrs = glob([
@@ -1691,7 +1709,11 @@ cc_library(
"include/llvm/Support/*.inc",
"include/llvm/ADT/*.h",
"include/llvm/Support/ELFRelocs/*.def",
- ]) + ["include/llvm/Support/DataTypes.h"],
+ "include/llvm/Support/WasmRelocs/*.def",
+ ]) + [
+ "include/llvm/Support/DataTypes.h",
+ "include/llvm/ExecutionEngine/ObjectMemoryBuffer.h",
+ ],
deps = [
":config",
":demangle",
@@ -1788,6 +1810,7 @@ cc_library(
":analysis",
":config",
":core",
+ ":scalar",
":support",
":transform_utils",
],
@@ -1867,6 +1890,7 @@ cc_library(
":support",
":target",
":x86_asm_printer",
+ ":x86_defs",
":x86_desc",
":x86_info",
":x86_utils",