Skip to content

Commit

Permalink
Merge branch 'bazelbuild:master' into add-support-for-wrapping-system…
Browse files Browse the repository at this point in the history
…-streams-in-workrequesthandler
  • Loading branch information
Bencodes authored Dec 15, 2021
2 parents cc18fc2 + 4c6e324 commit 901c960
Show file tree
Hide file tree
Showing 832 changed files with 16,460 additions and 73,730 deletions.
38 changes: 38 additions & 0 deletions .bazelci/postsubmit_bzlmod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
tasks:
centos7_java11_devtoolset10:
build_flags:
- "--config=bzlmod"
build_targets:
- "//src:bazel_nojdk"
ubuntu1804:
build_flags:
- "--config=bzlmod"
build_targets:
- "//src:bazel_nojdk"
ubuntu1804_clang:
platform: ubuntu1804
environment:
CC: clang
CC_CONFIGURE_DEBUG: 1
name: "Clang"
build_flags:
- "--config=bzlmod"
build_targets:
- "//src:bazel_nojdk"
ubuntu2004:
build_flags:
- "--config=bzlmod"
build_targets:
- "//src:bazel_nojdk"
macos:
xcode_version: "13.0"
build_flags:
- "--config=bzlmod"
build_targets:
- "//src:bazel_nojdk"
windows:
build_flags:
- "--config=bzlmod"
build_targets:
- "//src:bazel_nojdk"
6 changes: 6 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,11 @@ build:remote --config=ubuntu1804_java11

build:macos --macos_minimum_os=10.10

# Enable Bzlmod
build:bzlmod --experimental_enable_bzlmod
# TODO(pcloudy): The following should be removed after fixing https://github.com/bazelbuild/bazel/issues/14279
build:bzlmod --crosstool_top=@rules_cc.0.0.1.cc_configure.local_config_cc//:toolchain
build:bzlmod --xcode_version_config=@rules_cc.0.0.1.cc_configure.local_config_xcode//:host_xcodes

# User-specific .bazelrc
try-import user.bazelrc
964 changes: 964 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ bazel_dep(name = "grpc", version = "1.41.0", repo_name = "com_github_grpc_grpc")
bazel_dep(name = "platforms", version = "0.0.4")
bazel_dep(name = "rules_pkg", version = "0.5.1")
bazel_dep(name = "stardoc", version = "0.5.0", repo_name = "io_bazel_skydoc")
bazel_dep(name = "zstd-jni", version = "1.5.0-4")

# TODO(pcloudy): Add remoteapis and googleapis as Bazel modules in the BCR.
bazel_dep(name = "remoteapis", version = "")
Expand All @@ -27,10 +28,7 @@ local_path_override(
)

# The following are required when building without WORKSPACE SUFFIX
# TODO(pcloudy): Make building Bazel work without WORKSPACE SUFFIX.
# This requires migrating all dependencies and toolchain registration defined in
# WORKSPACE to their corresponding Bazel modules. Eg. remote jdks, java tools
# and java toolchain registrations all should be moved to rules_java.
bazel_dep(name = "rules_cc", version = "0.0.1")
bazel_dep(name = "rules_java", version = "4.0.0")
bazel_dep(name = "rules_python", version = "0.4.0")
bazel_dep(name = "rules_java", version = "5.0.0")
bazel_dep(name = "rules_proto", version = "4.0.0")
11 changes: 0 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,6 @@ bind(
actual = "//third_party:guava",
)

http_archive(
name = "bazel_j2objc",
# Computed using "shasum -a 256 j2objc-2.5.zip"
sha256 = "8d3403b5b7db57e347c943d214577f6879e5b175c2b59b7e075c0b6453330e9b",
strip_prefix = "j2objc-2.5",
urls = [
"https://mirror.bazel.build/github.com/google/j2objc/releases/download/2.5/j2objc-2.5.zip",
"https://github.com/google/j2objc/releases/download/2.5/j2objc-2.5.zip",
],
)

# For src/test/shell/bazel:test_srcs
load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository")

Expand Down
Loading

0 comments on commit 901c960

Please sign in to comment.