Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
bazel fixes (#13)
Browse files Browse the repository at this point in the history
* bazel fixes

* fix duplication
  • Loading branch information
Sualeh Asif authored Jun 16, 2022
1 parent dc17fe6 commit 8f4ee52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# REMINDER: WHEN CHANGING THIS FILE, PLEASE CHANGE ALL .BAZELRC FILES IN ALL THREE REPOS!!!!
# (unfortunately, we cannot have a single source of truth...)

build --incompatible_enable_cc_toolchain_resolution

# note: each bazelrc that try-imports this one needs to try-import the buildbuddy bazelrc but using the correct relative path
try-import %workspace%/../.buildbuddy.bazelrc

# to prevent problems with CI, we cannot try-import this bazelrc from other places. instead we just copy-paste.
build --incompatible_enable_cc_toolchain_resolution

# note: each bazelrc that try-imports this one needs to include a .user.bazelrc in its workspace directory
try-import %workspace%/.user.bazelrc
Expand All @@ -17,9 +16,9 @@ build --bes_backend=grpcs://remote.buildbuddy.io
build --remote_cache=grpcs://remote.buildbuddy.io
build --remote_upload_local_results
build --remote_timeout=3600
build --experimental_remote_cache_compression
build --experimental_remote_cache_async
build --remote_download_toplevel
# build --experimental_remote_cache_compression
# build --experimental_remote_cache_async
# build --remote_download_toplevel

build --genrule_strategy=local
# test --test_strategy=standalone
Expand Down Expand Up @@ -77,4 +76,4 @@ build:san --copt -O3
build:san --copt -fno-omit-frame-pointer
# we ignore ODR violations because we have two versions of zlib, one from protobuf and one from seal. not good. but issok.
build:san --action_env=ASAN_OPTIONS=detect_odr_violation=0
build:san --linkopt -fsanitize=address,undefined
build:san --linkopt -fsanitize=address,undefined
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.0.0

0 comments on commit 8f4ee52

Please sign in to comment.