aboutsummaryrefslogtreecommitdiff
path: root/.bazelrc
diff options
context:
space:
mode:
authorGravatar Jeff McGlynn <jwmcglynn@google.com>2019-01-23 16:03:11 -0800
committerGravatar Jeff McGlynn <jeff@jeffmcglynn.com>2019-01-23 17:55:54 -0800
commit63537d518790132eac86659169c256ac1bf247be (patch)
tree3a4f4185a363b10bb730fcf60877dec3401b4d7c /.bazelrc
parente0904c84162a2a078a47b7966305f84f817d6247 (diff)
Update to build with the latest version of bazel
* http_archive and git_repository are now skylark rules, update to use them. * new_http_archive has been merged with http_archive, and takes a label for build_file instead of a path. Add an empty third_party/BUILD file so that we can reference the label. * Rename tools/bazel.rc to .bazelrc
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
new file mode 100644
index 0000000..e47b006
--- /dev/null
+++ b/.bazelrc
@@ -0,0 +1,6 @@
+# For building with the clang-specific flavor of ASAN.
+build:clang-asan --client_env=CC=clang-5.0
+build:clang-asan --copt -g3
+build:clang-asan --copt -fsanitize=address
+build:clang-asan --linkopt -fsanitize=address
+build:clang-asan --copt -fno-omit-frame-pointer