forked from tensorflow/tfx-bsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
17 lines (15 loc) · 820 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This macro is needed in order for tfx-bsl to build statically with
# arrow.
# See tfx_bsl/cc/pybind11/arrow_casters.h
build --copt=-DTFX_BSL_USE_ARROW_C_ABI
build --cxxopt="-std=c++17"
# Due to the invalid escape sequence in rules_foreign_cc
# (e.g. "\(" in windows_commands.bzl) and the bazel 4.0.0 updates
# (https://github.com/bazelbuild/bazel/commit/73402fa4aa5b9de46c9a4042b75e6fb332ad4a7f).
build --incompatible_restrict_string_escapes=false
# icu@: In create_linking_context: in call to create_linking_context(),
# parameter 'user_link_flags' is deprecated and will be removed soon.
# It may be temporarily re-enabled by setting --incompatible_require_linker_input_cc_api=false
build --incompatible_require_linker_input_cc_api=false
build:macos --apple_platform_type=macos
build:macos_arm64 --cpu=darwin_arm64