From 0ee1301dd2eb7cc3671f88f5e25bb1795faf87fe Mon Sep 17 00:00:00 2001 From: Kiril Gorovoy Date: Tue, 17 Jan 2017 15:30:42 -0800 Subject: Bazel dependency fix of the llvm and jemalloc packages that cause issues when TensorFlow is linked as a submodule. Change: 144764356 --- third_party/llvm/llvm.BUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'third_party/llvm') 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, ), -- cgit v1.2.3