Commit Graph

10 Commits (main)

Author SHA1 Message Date
Protobuf Team Bot 83ec410d30 Internal change
PiperOrigin-RevId: 619377672
2024-03-27 05:50:55 -07:00
aiuto 3ab1276bbb Update Bazel references to rules_pkg to the supported file locations. (#15780)
WIP:  I want to see this pass CI first.

Fixes: #15779

3 scripted transforms:
```
  -load("@rules_pkg//:mappings.bzl", ...)
  +load("@rules_pkg//pkg:mappings.bzl", ...)
```
```
  -load("@rules_pkg//:pkg.bzl", "pkg_tar")
  +load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
```
```
  -load("@rules_pkg//:pkg.bzl", "pkg_zip")
  +load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
```

Closes #15780

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15780 from aiuto:rules_pkg a630276341
PiperOrigin-RevId: 606641398
2024-02-13 09:08:42 -08:00
John Cater e0e88dea64 Remove uses of `incompatible_use_toolchain_transition`.
Now that Bazel 7.0 has been released, it's time to remove this tech debt.

This has been a no-op since Bazel 5.0, I've been waiting to remove the code for
two years, it's time.

Part of https://github.com/bazelbuild/bazel/issues/14127.

PiperOrigin-RevId: 591940644
2023-12-18 10:31:13 -08:00
zhangskz b37b613436
Update protobuf_version.bzl to separate protoc and per-language java major version (#9900) 2022-05-03 11:58:31 -04:00
deannagarcia 5b3f853d7d
Make protoc executable names consistent
Rename ppc64 cpu to ppcle_64 to match current release.
2022-02-25 10:45:28 -08:00
deannagarcia a5168a6e96
Fix package naming rule
Remove quotes around CPU since we want the variable evaluated instead of the string. This will allow the win64 build to get the correct name.
2022-02-23 16:45:56 -08:00
Deanna Garcia 667d5e9e9f No error throwing for unknown OS 2021-11-29 23:54:09 +00:00
Deanna Garcia 7d9c9ebd5d Add error throwing 2021-11-24 22:59:57 +00:00
Deanna Garcia e4e26dfdf7 Name protoc artifacts by their cpu and os 2021-11-24 21:27:54 +00:00
Derek Perez 3a4d9316aa
Creates a protoc release zip (#9188)
* Creates a protoc release zip

Mimics what we're doing manually today but powered by Bazel.

* don't special case this.

* Addressing feedback.

* adding comment about _cc_toolchain
2021-11-04 15:57:29 -07:00