forked from istio/proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
42 lines (32 loc) · 1.42 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# =====================================================================
# Envoy specific Bazel build/test options.
# =====================================================================
# Keep envoy.bazelrc up-to-date by run:
# curl -sSL https://raw.githubusercontent.com/envoyproxy/envoy-wasm/master/.bazelrc > envoy.bazelrc
import %workspace%/envoy.bazelrc
# Overrides workspace_status_command
build --workspace_status_command=tools/bazel_get_workspace_status
build:remote --remote_timeout=7200
# ========================================
# Istio specific Bazel build/test options.
# ========================================
# Need for CI image to pickup docker-credential-gcloud, PATH is fixed in rbe-toolchain-* configs.
build:remote-ci --action_env=PATH=/usr/local/google-cloud-sdk/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/llvm/bin
# Enable path normalization by default.
# See: https://github.com/envoyproxy/envoy/pull/6519
build --define path_normalization_by_default=true
# Build with embedded V8-based WebAssembly runtime.
build --define wasm=v8
# Build Proxy-WASM plugins as native extensions.
build --copt -DNULL_PLUGIN
# Release builds without debug symbols.
build:release -c opt
build:release --strip=always
# Release builds with debug symbols
build:release-symbol -c opt
# Debug builds
build:debug -c dbg
# Add compile option for all C++ files
build --cxxopt -Wnon-virtual-dtor
build --cxxopt -Wformat
build --cxxopt -Wformat-security