aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/llvm
diff options
context:
space:
mode:
authorGravatar Kiril Gorovoy <kgorovoy@google.com>2017-01-17 15:30:42 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-17 15:52:23 -0800
commit0ee1301dd2eb7cc3671f88f5e25bb1795faf87fe (patch)
tree92219e16e0673e325af3e5a5929150ff821e7d41 /third_party/llvm
parent7a7d4af00a53a3043d661463d9bb87efda1fa8a8 (diff)
Bazel dependency fix of the llvm and jemalloc packages that cause issues when TensorFlow is linked as a submodule.
Change: 144764356
Diffstat (limited to 'third_party/llvm')
-rw-r--r--third_party/llvm/llvm.BUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/llvm/llvm.BUILD b/third_party/llvm/llvm.BUILD
index 0f7ef74545..330d8b79ce 100644
--- a/third_party/llvm/llvm.BUILD
+++ b/third_party/llvm/llvm.BUILD
@@ -7,18 +7,18 @@ licenses(["notice"])
exports_files(["LICENSE.TXT"])
load(
- "@//third_party/llvm:llvm.bzl",
+ "@%ws%//third_party/llvm:llvm.bzl",
"gentbl",
"expand_cmake_vars",
"llvm_target_cmake_vars",
"cmake_var_string",
)
load(
- "@//third_party:common.bzl",
+ "@%ws%//third_party:common.bzl",
"template_rule",
)
-package(default_visibility = ["@//tensorflow/compiler/xla:internal"])
+package(default_visibility = ["@%ws%//tensorflow/compiler/xla:internal"])
llvm_host_triple = "x86_64-unknown-linux_gnu"
@@ -147,7 +147,7 @@ darwin_cmake_vars = {
# TODO(phawkins): use a better method to select the right host triple, rather
# than hardcoding x86_64.
all_cmake_vars = select({
- "@//tensorflow:darwin": cmake_var_string(
+ "@%ws%//tensorflow:darwin": cmake_var_string(
cmake_vars + llvm_target_cmake_vars("X86", "x86_64-apple-darwin") +
darwin_cmake_vars,
),