-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3961c2
commit 498a5be
Showing
9 changed files
with
1,641 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
try-import user.bazelrc | ||
|
||
# build --javacopt=-Werror | ||
build --javacopt=-Xlint:all,-serial,-processing,-options | ||
|
||
# Windows | ||
build:windows --copt=/W3 | ||
build:windows --copt=/WX | ||
build:windows --copt=/std:c++20 | ||
build:windows --copt=/Zc:preprocessor | ||
build:windows --copt=/wd5105 | ||
build:windows --cxxopt=/wd4146 | ||
build:windows --cxxopt=/wd4267 | ||
build:windows --cxxopt=/wd4244 | ||
|
||
# Windows Arm | ||
build:windows_arm --copt=/W3 | ||
build:windows_arm --copt=/WX | ||
build:windows_arm --copt=/std:c++20 | ||
build:windows_arm --copt=/Zc:preprocessor | ||
build:windows_arm --copt=/wd5105 | ||
build:windows_arm --cxxopt=/wd4146 | ||
build:windows_arm --cxxopt=/wd4267 | ||
build:windows_arm --cxxopt=/wd4244 | ||
build:windows_arm --cpu=x64_arm64_windows | ||
|
||
# Linux | ||
build:linux --copt=-Wall | ||
build:linux --copt=-Wextra | ||
build:linux --copt=-Werror | ||
build:linux --copt=-std=c++20 | ||
build:linux --linkopt=-pthread | ||
|
||
# MacOS | ||
build:macos --copt=-Wall | ||
build:macos --copt=-Wextra | ||
build:macos --copt=-Werror | ||
build:macos --copt=-std=c++20 | ||
build:macos --cxxopt=-Wno-unused-parameter | ||
build:macos --cxxopt=-Wno-error=deprecated-declarations | ||
build:macos --cxxopt=-Wno-error=deprecated-enum-enum-conversion | ||
build:macos --cxxopt=-Wno-error=deprecated-anon-enum-enum-conversion | ||
build:macos --cxxopt=-Wno-error=inconsistent-missing-override | ||
build:macos --cxxopt=-Wno-error=overloaded-virtual | ||
|
||
# Roborio | ||
build:roborio --incompatible_enable_cc_toolchain_resolution | ||
build:roborio --copt=-std=c++20 | ||
build:roborio --platforms=@rules_bzlmodrio_toolchains//platforms/roborio | ||
build:roborio --build_tag_filters=-no-roborio | ||
build:roborio --features=compiler_param_file | ||
build:roborio --platform_suffix=roborio | ||
|
||
# bullseye32 | ||
build:bullseye32 --incompatible_enable_cc_toolchain_resolution | ||
build:bullseye32 --copt=-std=c++20 | ||
build:bullseye32 --platforms=@rules_bzlmodrio_toolchains//platforms/bullseye32 | ||
build:bullseye32 --build_tag_filters=-no-bullseye | ||
build:bullseye32 --features=compiler_param_file | ||
build:bullseye32 --platform_suffix=bullseye32 | ||
|
||
# bullseye64 | ||
build:bullseye64 --incompatible_enable_cc_toolchain_resolution | ||
build:bullseye64 --copt=-std=c++20 | ||
build:bullseye64 --platforms=@rules_bzlmodrio_toolchains//platforms/bullseye64 | ||
build:bullseye64 --build_tag_filters=-no-bullseye | ||
build:bullseye64 --features=compiler_param_file | ||
build:bullseye64 --platform_suffix=bullseye64 | ||
|
||
# rasppi | ||
build:raspi32 --incompatible_enable_cc_toolchain_resolution | ||
build:raspi32 --copt=-std=c++20 | ||
build:raspi32 --platforms=@rules_bzlmodrio_toolchains//platforms/raspi32 | ||
build:raspi32 --build_tag_filters=-no-raspi | ||
build:raspi32 --features=compiler_param_file | ||
build:raspi32 --platform_suffix=raspi32 | ||
|
||
# Global | ||
import .bazelrc-buildbuddy | ||
test --test_output=errors | ||
build --java_language_version=17 | ||
build --registry=https://raw.githubusercontent.com/pjreiniger/bazel-central-registry/bzlmodrio/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
build:remote --bes_results_url=https://app.buildbuddy.io/invocation/ | ||
build:remote --bes_backend=grpcs://remote.buildbuddy.io | ||
build:remote --remote_cache=grpcs://remote.buildbuddy.io | ||
build:remote --remote_download_toplevel # Helps remove network bottleneck if caching is enabled | ||
build:remote --remote_timeout=3600 | ||
|
||
build --experimental_inmemory_jdeps_files | ||
build --experimental_inmemory_dotd_files | ||
|
||
build:ci --build_metadata=ROLE=CI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bazel_dep(name = "rules_bzlmodrio_jdk", version = "") | ||
|
||
local_path_override( | ||
module_name = "rules_bzlmodrio_jdk", | ||
path = "..", | ||
) | ||
|
||
|
||
bazel_dep(name = "rules_java", version = "7.1.0") |
Oops, something went wrong.