aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2016-12-14 15:46:53 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-12-14 16:04:11 -0800
commit2e4869af1afe55135d522142be3a2a483162a1b1 (patch)
treec676b228682e796ff0c2896b20faf97b66b8a1f2 /tools
parent811629aed466db32eeefbd60783e199d2fe154a9 (diff)
Merge changes from github.
Change: 142074581
Diffstat (limited to 'tools')
-rw-r--r--tools/bazel.rc.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bazel.rc.template b/tools/bazel.rc.template
index 8f99bf02fa..a1fb55632c 100644
--- a/tools/bazel.rc.template
+++ b/tools/bazel.rc.template
@@ -5,6 +5,9 @@ build:win-cuda --define=using_cuda=true --define=using_cuda_nvcc=true
build:sycl --crosstool_top=@local_config_sycl//crosstool:toolchain
build:sycl --define=using_sycl=true
+build:sycl_asan --crosstool_top=@local_config_sycl//crosstool:toolchain
+build:sycl_asan --define=using_sycl=true --copt -fno-omit-frame-pointer --copt -fsanitize-coverage=3 --copt -fsanitize=address --copt -DGPR_NO_DIRECT_SYSCALLS --linkopt -fPIC --linkopt -lasan
+
build --force_python=py$PYTHON_MAJOR_VERSION
build --host_force_python=py$PYTHON_MAJOR_VERSION
build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY