Skip to content

Commit

Permalink
Merge branch 'main' into bzlmod
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre authored Dec 6, 2024
2 parents 6678563 + a33f901 commit 0e1d350
Show file tree
Hide file tree
Showing 93 changed files with 1,009 additions and 963 deletions.
43 changes: 43 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,49 @@ tasks:
# test_targets:
# - "--"
# - "//..."
extensions_prost_linux:
platform: ubuntu2004
name: Extensions Prost
working_directory: extensions/prost
build_flags: *aspects_flags
test_flags: *aspects_flags
build_targets:
- "//..."
test_targets:
- "//..."
extensions_prost_linux_rbe:
platform: rbe_ubuntu2004
name: Extensions Prost
working_directory: extensions/prost
shell_commands:
- sed -i 's/^# load("@bazel_ci_rules/load("@bazel_ci_rules/' WORKSPACE.bazel
- sed -i 's/^# rbe_preconfig/rbe_preconfig/' WORKSPACE.bazel
build_flags: *aspects_flags
test_flags: *aspects_flags
build_targets:
- "//..."
test_targets:
- "//..."
extensions_prost_macos:
platform: macos_arm64
name: Extensions Prost
working_directory: extensions/prost
build_flags: *aspects_flags
test_flags: *aspects_flags
build_targets:
- "//..."
test_targets:
- "//..."
extensions_prost_windows:
platform: windows
name: Extensions Prost
working_directory: extensions/prost
build_flags: *aspects_flags
test_flags: *aspects_flags
build_targets:
- "//..."
test_targets:
- "//..."
extensions_protobuf_linux:
platform: ubuntu2004
name: Extensions Protobuf
Expand Down
3 changes: 0 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
## https://bazel.build/docs/best-practices#bazelrc-file
###############################################################################

# Skip building runfiles links for faster builds.
build --nobuild_runfile_links

# https://bazel.build/reference/command-line-reference#flag--enable_platform_specific_config
common --enable_platform_specific_config

Expand Down
24 changes: 14 additions & 10 deletions extensions/prost/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ local_path_override(
path = "../..",
)

bazel_dep(
name = "platforms",
version = "0.0.10",
)
bazel_dep(
name = "bazel_skylib",
version = "1.7.1",
Expand All @@ -35,16 +39,16 @@ bazel_dep(
rust_ext = use_extension("//:extensions.bzl", "rust_ext")
use_repo(
rust_ext,
"rules_rust_prost_deps",
"rules_rust_prost_deps__h2-0.4.6",
"rules_rust_prost_deps__heck",
"rules_rust_prost_deps__prost-0.13.1",
"rules_rust_prost_deps__prost-types-0.13.1",
"rules_rust_prost_deps__protoc-gen-prost-0.4.0",
"rules_rust_prost_deps__protoc-gen-tonic-0.4.1",
"rules_rust_prost_deps__tokio-1.39.3",
"rules_rust_prost_deps__tokio-stream-0.1.15",
"rules_rust_prost_deps__tonic-0.12.1",
"rrprd",
"rrprd__h2-0.4.6",
"rrprd__heck",
"rrprd__prost-0.13.1",
"rrprd__prost-types-0.13.1",
"rrprd__protoc-gen-prost-0.4.0",
"rrprd__protoc-gen-tonic-0.4.1",
"rrprd__tokio-1.39.3",
"rrprd__tokio-stream-0.1.15",
"rrprd__tonic-0.12.1",
)

register_toolchains(
Expand Down
4 changes: 3 additions & 1 deletion extensions/prost/private/3rdparty/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ crates_vendor(
version = "0.12.1",
),
},
repository_name = "rules_rust_prost_deps",
# Shorten the repository name to avoid MAX_PATH issues on Windows
# `rules_rust_prost_deps` == `rrprd`
repository_name = "rrprd",
tags = ["manual"],
)

Expand Down

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

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

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

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

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

40 changes: 20 additions & 20 deletions extensions/prost/private/3rdparty/crates/BUILD.axum-0.7.5.bazel

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

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

Loading

0 comments on commit 0e1d350

Please sign in to comment.