forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
34 lines (28 loc) · 1.39 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
# Copied from https://github.com/google/asylo/blob/v0.3.4/.bazelrc
build:asylo --crosstool_top=@com_google_asylo_toolchain//toolchain:crosstool
build:asylo --dynamic_mode=off
build:asylo --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build:asylo --fission=no
build:asylo --custom_malloc=@com_google_asylo_toolchain//toolchain:malloc
build:asylo --define=grpc_no_ares=true
build:sgx --config=asylo
build:sgx --define=ASYLO_SGX=1
build:sgx --define=SGX_SIM=0
build:sgx-sim --config=asylo
build:sgx-sim --define=ASYLO_SGX=1
build:sgx-sim --define=SGX_SIM=1
# The enclave simulation backend currently makes use of the SGX simulator.
# However, this is subject to change and users of this config should not
# make assumptions about it being related to SGX.
build:enc-sim --config=sgx-sim
# Toolchain for compiling C++ code to wasm32
build:wasm32 --crosstool_top=//toolchain:clang_llvm
build:wasm32 --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build:wasm32 --cpu=wasm32
# Bazel 0.27.0 deprecates features that our dependencies (gRPC, protobuf) rely on, so disable
# the checks until all dependencies have been updated to cope with a later Bazel.
# TODO: remove these options when possible
build --incompatible_disable_deprecated_attr_params=false
build --incompatible_depset_is_not_iterable=false
build --incompatible_new_actions_api=false
build --incompatible_no_support_tools_in_action_inputs=false