Commit Graph

7 Commits

Author SHA1 Message Date
r2r-dev
ed55d1f607
bazel_5: Explicitly add a dependency on bazel-rc
Co-authored-by: Uri Baghin <uri@canva.com>
2022-01-25 12:23:48 +01:00
r2r-dev
e1a28002a3 bazel_5: Build xcode-locator selectively for x86_64 (on "x86_64-darwin") or arm64 (on "aarch64-darwin") 2022-01-25 02:44:32 +01:00
r2r-dev
04500fd3a2 bazel_5: Build xcode-locator as a universal binary only on "aarch64-darwin" 2022-01-25 01:51:29 +01:00
r2r-dev
6cd1a18620 bazel_5:
- do not build xcode-locator as universal binary
- disable layering_check feature preventing grpc from compiling on darwin
2022-01-25 00:01:11 +01:00
r2r-dev
a8de70bcc6
bazel_5: removed trailing spaces
Co-authored-by: divanorama <divanorama@gmail.com>
2022-01-23 14:46:12 +01:00
r2r-dev
a3de5e71f9 bazel_5: remove patching of tools/xcode/realpath/BUILD and tools/xcode/stdredirect/BUILD in darwinPatches as these files do not exist anymore 2022-01-22 14:19:16 +01:00
r2r-dev
eeede61892 bazel_5: init at 5.0.0
Bazel 5 is going to be a second long term support release.

Changes from bazel_4:
- compile java_tools (such as ijar) using nix-provided jdk
- local jvm and jdk are now passed using --tool_java_runtime_version, --tool_java_runtime_version and --extra_toolchains flags
  see https://docs.bazel.build/versions/5.0.0/bazel-and-java.html for details
- update-srcDeps.py: distdir_tar function renamed to _distdir_tar to properly parse bazel query output executed against bazel 5 sources
- bazel_5.updater: uses bazel_4 to generate src-deps.json. This change was required to handle json.decode calls in bazel 5 dependencies
- protobuf-test and java-test adjusted to take into consideration both jdk 8 (for Bazel < 5.0.0) and jdk 11 (for Bazel >= 5.0.0)

https://blog.bazel.build/2022/01/19/bazel-5.0.html
https://github.com/bazelbuild/bazel/releases/tag/5.0.0
2022-01-22 10:23:04 +01:00