Skip to content

Commit

Permalink
Regen
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Sep 17, 2024
1 parent c4a8fbc commit 1d0b9f7
Show file tree
Hide file tree
Showing 15 changed files with 83 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
try-import user.bazelrc
try-import .buildbuddy-auth.rc

import .bazelrc-cc
import .bazelrc-java
import .bazelrc-buildbuddy
Expand Down
9 changes: 8 additions & 1 deletion .bazelrc-buildbuddy
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
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

# Additional suggestions from buildbuddy for speed
build:remote --experimental_remote_cache_compression
build:remote --experimental_remote_cache_compression_threshold=100
build:remote --noslim_profile
build:remote --experimental_profile_include_target_label
build:remote --experimental_profile_include_primary_output
build:remote --nolegacy_important_outputs

build --experimental_inmemory_jdeps_files
build --experimental_inmemory_dotd_files

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0
7.3.1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bazel-*
*.pyc
user.bazelrc
.buildbuddy-auth.rc
.DS_Store
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module(

bazel_dep(name = "platforms", version = "0.0.9")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_java", version = "7.6.1")
bazel_dep(name = "rules_java", version = "7.6.5")
bazel_dep(name = "rules_bazelrio", version = "0.0.14")
bazel_dep(name = "rules_bzlmodrio_toolchains", version = "2024-1")

Expand Down
6 changes: 6 additions & 0 deletions maven_cpp_deps.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions private/cpp/chipobject/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "shared",
alias(
name = "header_files",
actual = "@bazelrio_edu_wpi_first_ni-libraries_chipobject_headers//:header_files",
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

filegroup(
name = "shared_raw",
srcs = select({
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio": ["@bazelrio_edu_wpi_first_ni-libraries_chipobject_linuxathena//:shared"],
}),
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

cc_library(
name = "shared",
srcs = [":shared_raw"],
target_compatible_with = select({
"@bazel_tools//src/conditions:darwin": ["@platforms//:incompatible"],
"@bazel_tools//src/conditions:linux_x86_64": ["@platforms//:incompatible"],
Expand Down
16 changes: 14 additions & 2 deletions private/cpp/netcomm/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "shared",
alias(
name = "header_files",
actual = "@bazelrio_edu_wpi_first_ni-libraries_netcomm_headers//:header_files",
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

filegroup(
name = "shared_raw",
srcs = select({
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio": ["@bazelrio_edu_wpi_first_ni-libraries_netcomm_linuxathena//:shared"],
}),
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

cc_library(
name = "shared",
srcs = [":shared_raw"],
target_compatible_with = select({
"@bazel_tools//src/conditions:darwin": ["@platforms//:incompatible"],
"@bazel_tools//src/conditions:linux_x86_64": ["@platforms//:incompatible"],
Expand Down
10 changes: 8 additions & 2 deletions private/cpp/runtime/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "shared",
filegroup(
name = "shared_raw",
srcs = select({
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio": ["@bazelrio_edu_wpi_first_ni-libraries_runtime_linuxathena//:shared"],
}),
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

cc_library(
name = "shared",
srcs = [":shared_raw"],
target_compatible_with = select({
"@bazel_tools//src/conditions:darwin": ["@platforms//:incompatible"],
"@bazel_tools//src/conditions:linux_x86_64": ["@platforms//:incompatible"],
Expand Down
16 changes: 14 additions & 2 deletions private/cpp/visa/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "shared",
alias(
name = "header_files",
actual = "@bazelrio_edu_wpi_first_ni-libraries_visa_headers//:header_files",
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

filegroup(
name = "shared_raw",
srcs = select({
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio": ["@bazelrio_edu_wpi_first_ni-libraries_visa_linuxathena//:shared"],
}),
visibility = ["@bzlmodrio-ni//:__subpackages__"],
)

cc_library(
name = "shared",
srcs = [":shared_raw"],
target_compatible_with = select({
"@bazel_tools//src/conditions:darwin": ["@platforms//:incompatible"],
"@bazel_tools//src/conditions:linux_x86_64": ["@platforms//:incompatible"],
Expand Down
4 changes: 2 additions & 2 deletions private/non_bzlmod_dependencies/download_dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ def download_dependencies():
# Rules Java
http_archive(
name = "rules_java",
sha256 = "f8ae9ed3887df02f40de9f4f7ac3873e6dd7a471f9cddf63952538b94b59aeb3",
url = "https://github.com/bazelbuild/rules_java/releases/download/7.6.1/rules_java-7.6.1.tar.gz",
sha256 = "8afd053dd2a7b85a4f033584f30a7f1666c5492c56c76e04eec4428bdb2a86cf",
url = "https://github.com/bazelbuild/rules_java/releases/download/7.6.5/rules_java-7.6.5.tar.gz",
)

# JVM External
Expand Down
2 changes: 2 additions & 0 deletions tests/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
try-import user.bazelrc
try-import .buildbuddy-auth.rc

import .bazelrc-cc
import .bazelrc-java
import .bazelrc-buildbuddy
Expand Down
9 changes: 8 additions & 1 deletion tests/.bazelrc-buildbuddy
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
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

# Additional suggestions from buildbuddy for speed
build:remote --experimental_remote_cache_compression
build:remote --experimental_remote_cache_compression_threshold=100
build:remote --noslim_profile
build:remote --experimental_profile_include_target_label
build:remote --experimental_profile_include_primary_output
build:remote --nolegacy_important_outputs

build --experimental_inmemory_jdeps_files
build --experimental_inmemory_dotd_files

Expand Down
2 changes: 1 addition & 1 deletion tests/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0
7.3.1
2 changes: 1 addition & 1 deletion tests/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local_path_override(

bazel_dep(name = "googletest", version = "1.14.0")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_java", version = "7.6.1")
bazel_dep(name = "rules_java", version = "7.6.5")
bazel_dep(name = "rules_jvm_external", version = "6.1")
bazel_dep(name = "rules_bazelrio", version = "0.0.14")
bazel_dep(name = "rules_bzlmodrio_toolchains", version = "2024-1")
Expand Down

0 comments on commit 1d0b9f7

Please sign in to comment.