Move bazel.rc to workspace root to support bazel-0.18.0

Bazel 0.18.0 will contain a change for which rc files it accepts.
ec83598cb6
https://github.com/bazelbuild/bazel/issues/4502

Old bazel used to read %workspace%/tools/bazel.rc. New bazel will not
read that and instead will only read %workspace%/.bazelrc.

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2018-08-04 14:13:00 +08:00
parent 32627bfba1
commit a74a3217f7
2 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ build:mkl -c opt
# This config option is used to enable MKL-DNN open source library only,
# without depending on MKL binary version.
build:mkl_open_source_only --define=build_with_mkl_dnn_only=true
build:mkl_open_source_only --define=build_with_mkl_dnn_only=true
build:mkl_open_source_only --define=build_with_mkl=true --define=enable_mkl=true
build:download_clang --crosstool_top=@local_config_download_clang//:toolchain
@ -84,3 +84,5 @@ build:dynamic_kernels --define=dynamic_loaded_kernels=true
build --define=PREFIX=/usr
build --define=LIBDIR=$(PREFIX)/lib
build --define=INCLUDEDIR=$(PREFIX)/include
# Do not commit the tf_configure.bazelrc line

1
.gitignore vendored
View File

@ -1,7 +1,6 @@
.DS_Store
.ipynb_checkpoints
node_modules
/.bazelrc
/.tf_configure.bazelrc
/bazel-*
/bazel_pip