mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:55:42 +00:00
Trim Bazel 9 compatibility flags (#7075)
This commit is contained in:
@@ -6,8 +6,9 @@ common --ui_event_filters=-INFO
|
||||
common --enable_bzlmod
|
||||
|
||||
# Bazel 9 removes native rule symbols. Keep external repositories that still
|
||||
# reference native rules building while upstream module metadata catches up.
|
||||
common --incompatible_autoload_externally=+CcInfo,+JavaInfo,+ProtoInfo,+cc_binary,+cc_library,+cc_proto_library,+cc_test,+java_proto_library,+proto_library,+sh_test
|
||||
# reference JavaInfo or call native C++/proto rules building while upstream
|
||||
# Starlark catches up.
|
||||
common --incompatible_autoload_externally=+CcInfo,+JavaInfo,+ProtoInfo,+cc_binary,+cc_library,+cc_proto_library,+java_proto_library,+proto_library
|
||||
|
||||
# Use pre-built protoc binary instead of compiling from source
|
||||
common --incompatible_enable_proto_toolchain_resolution
|
||||
@@ -28,11 +29,11 @@ common --local_test_jobs=64
|
||||
common --jobs=64
|
||||
|
||||
common --cxxopt="--std=c++23"
|
||||
common --cxxopt="-Wno-unknown-warning-option"
|
||||
common --cxxopt="-Wno-character-conversion"
|
||||
common --cxxopt="-Wno-deprecated-non-prototype"
|
||||
common --per_file_copt=src/test/cpp/.*@-Wno-sign-compare
|
||||
common --per_file_copt=src/test/cpp/.*@-Wno-character-conversion
|
||||
common --per_file_copt=src/test/cpp/.*@-Wno-deprecated-enum-compare
|
||||
common --per_file_copt=src/test/cpp/.*@-Wno-sign-compare
|
||||
common --per_file_copt=src/test/cpp/.*@-Wno-unknown-warning-option
|
||||
common --host_cxxopt="--std=c++23"
|
||||
|
||||
common --javacopt="-Xlint:-options"
|
||||
|
||||
Reference in New Issue
Block a user