mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:35:42 +00:00
34 lines
1009 B
Plaintext
34 lines
1009 B
Plaintext
bazel-1.0.0.bazelrc
|
|
|
|
common --enable_bzlmod
|
|
|
|
# Try to speed up sandboxes
|
|
common --experimental_reuse_sandbox_directories
|
|
|
|
common --strategy=Scalac=worker
|
|
common --worker_sandboxing
|
|
|
|
common --jobs=64
|
|
|
|
common --cxxopt="--std=c++20"
|
|
common --host_cxxopt="--std=c++20"
|
|
|
|
# suppress warnings due to https://developer.apple.com/forums/thread/733317
|
|
common --linkopt=-Wl,-no_warn_duplicate_libraries
|
|
|
|
common --java_language_version=17
|
|
common --java_runtime_version=remotejdk_17
|
|
test --tool_java_runtime_version=remotejdk_17
|
|
|
|
#
|
|
# For grail toolchain
|
|
#
|
|
# Not needed after https://github.com/bazelbuild/bazel/issues/7260 is closed
|
|
build --incompatible_enable_cc_toolchain_resolution
|
|
|
|
# Tell Bazel to pass the right flags for llvm-ar, not libtool. Only needed if you are building on darwin.
|
|
# See https://github.com/bazelbuild/bazel/blob/5c75d0acec21459bbb13520817e3806e1507e907/tools/cpp/unix_cc_toolchain_config.bzl#L1000-L1024
|
|
build --features=-libtool
|
|
|
|
# Remove after bazel 7
|
|
build --features=-supports_dynamic_linker |