aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/BUILD')
-rw-r--r--tensorflow/core/BUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index 9f1554b5b6..24b0f702b3 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -121,7 +121,6 @@ load(
"//third_party/mkl:build_defs.bzl",
"if_mkl",
)
-load("@local_config_sycl//sycl:build_defs.bzl", "if_sycl")
# -----------------------------------------------------------------------------
# Public targets
@@ -820,7 +819,7 @@ cc_library(
":test",
"//tensorflow/core/kernels:constant_op",
"//tensorflow/core/kernels:ops_util",
- "//tensorflow/core/platform/default/build_config:gtest", # + if_sycl([":sycl_runtime"])
+ "//tensorflow/core/platform/default/build_config:gtest",
],
)
@@ -1854,7 +1853,7 @@ cc_library(
"common_runtime/sycl/sycl_device_context.h",
]),
copts = tf_copts(),
- linkstatic = 1,
+ linkstatic = 0,
deps = [
":core_cpu",
":core_cpu_internal",
@@ -1866,7 +1865,7 @@ cc_library(
"//third_party/eigen3",
"@local_config_sycl//sycl:sycl",
],
- alwayslink = 1,
+ alwayslink = 0,
)
# -----------------------------------------------------------------------------