Commit Graph

281 Commits

Author SHA1 Message Date
R. Ryantm
0a4f8a4984 bazel-remote: 2.3.3 -> 2.3.4 2022-02-24 02:08:19 +00:00
R. Ryantm
f018a19f79 bazel-buildtools: 5.0.0 -> 5.0.1 2022-02-12 01:28:50 +00:00
R. Ryantm
e215391451 bazel-buildtools: 4.2.5 -> 5.0.0 2022-02-11 12:49:23 +00:00
Uri Baghin
2b1e0f392c
Merge pull request #155949 from gbpdt/fix/bazel_runtime_deps
bazel_3, bazel_4: Explicitly add a dependency on bazel-rc
2022-02-07 21:44:30 +11:00
Felix Buehler
e67ee13da7 treewide: rename name to pname&version 2022-02-01 23:01:51 +01:00
zowoq
45bd0fd536 bazel-remote: update vendorSha256 2022-01-31 13:41:40 +10:00
Uri Baghin
4ff1e8deaf
Merge pull request #156110 from r2r-dev/init-bazel_5
bazel_5: init at 5.0.0
2022-01-26 11:14:47 +11:00
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
R. Ryantm
fff9730ce0 bazel-buildtools: 4.2.4 -> 4.2.5 2022-01-23 22:06:48 +00: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
Graham Bennett
eda51e3ea8 bazel_3, bazel_4: Explicitly add a dependency on bazel-rc
This resolves an issue where the path to the bazel-rc file is sometimes
optimised so the full hash is not present, and hence not picked up by
the scan as a runtime dependency.
2022-01-20 21:06:40 +00:00
Matthieu Coudron
c1220ff9b0
bazel_4: dont propagate absl-py (#153779)
otherwise bazel pollutes PYTHONPATH and if it's just necessary to generate the fish completion then we dont need to propagate it
2022-01-07 01:43:10 -05:00
R. Ryantm
ee250452c4 bazel-remote: 2.3.1 -> 2.3.3 2021-12-27 01:39:10 +00:00
R. Ryantm
8ff4f43381 bazel-remote: 2.3.0 -> 2.3.1 2021-12-24 01:35:09 +00:00
Uri Baghin
72e45af374
Merge pull request #151503 from timothyklim/bazel-4.2.2
bazel_4: 4.2.1 -> 4.2.2
2021-12-21 16:02:06 +11:00
Timothy
13c152bb1c bazel_4: 4.2.1 -> 4.2.2 2021-12-21 10:19:05 +07:00
Uri Baghin
d2a93c1fc1
Merge pull request #146389 from ylecornec/ylecornec/bazel_bash_fix
Consistent PATH between ctx.actions.run and ctx.actions.run_shell
2021-12-20 10:00:16 +11:00
Yves-Stan Le Cornec
cd842a9e42 bazel_4: remove duplicated python paths from the nix-support/depends file. 2021-12-17 08:47:00 +01:00
Profpatsch
924725cc9a bazel: add README file to point to the maintainers team. 2021-12-16 17:47:34 +01:00
Profpatsch
5238c41fa0 team-list: add bazel team
(refactor)

We are going to set up a maintenance team for bazel & tools.
2021-12-16 17:47:34 +01:00
Yves-Stan Le Cornec
ee62812f01 bazel_4: add default tools to buildInputs (to be accessible from repository rules)
Previously the customBash wrapper added the default tools to the PATH of commands from repository rules (which are run in the same environment as Bazel).
2021-12-16 10:25:31 +01:00
Yves-Stan Le Cornec
b55758e4f5 bazel_4: make some tests more verbose to help debugging
Co-Authored-By: Uri Baghin <33242106+uri-canva@users.noreply.github.com>
2021-12-15 17:11:38 +01:00
Yves-Stan Le Cornec
b147f2111d bazel_4: add default PATH for local actions if it is not set (darwin)
Co-Authored-By: Uri Baghin <33242106+uri-canva@users.noreply.github.com>
2021-12-15 17:07:30 +01:00
Yves-Stan Le Cornec
2aea3ebc9c bazel_4: add which binary to test buildInputs
The which binary is used by the tests to find python location from the PATH.
2021-12-15 15:53:56 +01:00
Yves-Stan Le Cornec
be9385ce59 bazel_4: remove customBash script
In order to remove duplicates in PATH when run_shell is called, the customBash script is removed.
This is consistent with how other platform behave: only look in the local environment if PATH is not set, but it may break builds that explicitly expects a different local environment.
2021-12-13 08:32:24 +01:00
Yves-Stan Le Cornec
0cff50f78e bazel_4: add default PATH for local actions if it is not set.
https://github.com/NixOS/nixpkgs/issues/94222
fixup1
2021-12-10 17:50:37 +01:00
Uri Baghin
ec68e9736c
Merge pull request #148859 from r-ryantm/auto-update/bazel-remote
bazel-remote: 2.2.0 -> 2.3.0
2021-12-08 08:46:00 +11:00
R. Ryantm
7366bbb3c5 bazel-remote: 2.2.0 -> 2.3.0 2021-12-06 04:37:00 +00:00
R. Ryantm
e62a334eae bazel-buildtools: 4.2.3 -> 4.2.4 2021-12-06 04:23:31 +00:00
Wael Nasreddine
c691e088d7
bazel_4: Fix Bazel-built protoc segfault on macOS Monterey (#147097)
This was fixed by enabling the user_link_flags_feature for macosx cc_toolchain_config.

References:
- https://github.com/bazelbuild/bazel/issues/14216
- https://github.com/bazelbuild/bazel/pull/14275
2021-11-24 10:55:14 -08:00
Jörg Thalheim
324d5b3ee8
Merge pull request #145709 from winterqt/bazel-md5sum
bazel: replace additional usages of md5sum
2021-11-13 22:51:21 +00:00
Winter
21727e4915 bazel: replace additional usages of md5sum 2021-11-12 21:50:32 -05:00
Uri Baghin
61c121424d
bazel_4: link to issue about aarch64-darwin 2021-11-12 21:58:45 +11:00
Uri Baghin
64144e80df bazel_4: disable install check on aarch64-darwin 2021-11-12 10:32:59 +01:00
Sandro Jäckel
8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Bobby Rong
6bd0720270
Merge pull request #143538 from r-ryantm/auto-update/bazel-remote
bazel-remote: 2.1.3 -> 2.2.0
2021-10-29 12:43:38 +08:00
R. Ryantm
74df451f60 bazel-remote: 2.1.3 -> 2.2.0 2021-10-29 02:38:39 +00:00
R. Ryantm
5f33ec4892 bazel-buildtools: 4.2.0 -> 4.2.3 2021-10-29 02:28:57 +00:00
github-actions[bot]
00e2bbfcff
Merge staging-next into staging 2021-09-17 06:02:03 +00:00
Bobby Rong
a3c4956cf9
Merge pull request #136004 from timothyklim/bazel-4.2.0
bazel_4: 4.1.0 -> 4.2.1
2021-09-17 10:45:20 +08:00
R. RyanTM
2d7ee6ac56 bazel-remote: 2.1.1 -> 2.1.3 2021-09-15 06:51:53 +00:00
R. RyanTM
c9e42a65d2 bazel-buildtools: 4.0.1 -> 4.2.0 2021-09-14 01:53:07 +00:00
Timothy
4b8c664c7e bazel_4: 4.1.0 -> 4.2.1 2021-08-31 02:23:16 +07:00
zowoq
13ea123c74 treewide: buildFlagsArray -> ldflags 2021-08-26 21:35:06 +10:00
R. RyanTM
db961ec5bc bazel-remote: 2.1.0 -> 2.1.1 2021-06-24 05:12:00 +00:00