Uri Baghin
8342425cb0
bazel_4, bazel_5: disable sandbox debug
2 years ago
R. Ryantm
16dc611f05
bazel-remote: 2.3.6 -> 2.3.7
2 years ago
Uri Baghin
31ed8a5745
python3Packages.dm-sonnet, python3Packages.graph_nets: remove
2 years ago
betaboon
51114edb8f
bazel_3: fix build with gcc11
2 years ago
R. Ryantm
f3d888fc30
bazel-buildtools: 5.0.1 -> 5.1.0
2 years ago
Ben Siraphob
259fa13d53
treewide: remove nativeBuildInputs that are in stdenv
2 years ago
betaboon
8c5ed979be
bazel_5: 5.0.0 -> 5.1.1
2 years ago
OPNA2608
d2f268745a
treewide: autoPatchelfHook only on Linux
2 years ago
R. Ryantm
03aee6a526
bazel-remote: 2.3.5 -> 2.3.6
2 years ago
R. Ryantm
8977f6379b
bazel-remote: 2.3.4 -> 2.3.5
2 years ago
R. Ryantm
0a4f8a4984
bazel-remote: 2.3.3 -> 2.3.4
2 years ago
R. Ryantm
f018a19f79
bazel-buildtools: 5.0.0 -> 5.0.1
2 years ago
R. Ryantm
e215391451
bazel-buildtools: 4.2.5 -> 5.0.0
2 years ago
Felix Buehler
e67ee13da7
treewide: rename name to pname&version
2 years ago
zowoq
45bd0fd536
bazel-remote: update vendorSha256
2 years ago
r2r-dev
ed55d1f607
bazel_5: Explicitly add a dependency on bazel-rc
...
Co-authored-by: Uri Baghin <uri@canva.com>
2 years ago
r2r-dev
e1a28002a3
bazel_5: Build xcode-locator selectively for x86_64 (on "x86_64-darwin") or arm64 (on "aarch64-darwin")
2 years ago
r2r-dev
04500fd3a2
bazel_5: Build xcode-locator as a universal binary only on "aarch64-darwin"
2 years ago
r2r-dev
6cd1a18620
bazel_5:
...
- do not build xcode-locator as universal binary
- disable layering_check feature preventing grpc from compiling on darwin
2 years ago
R. Ryantm
fff9730ce0
bazel-buildtools: 4.2.4 -> 4.2.5
2 years ago
r2r-dev
a8de70bcc6
bazel_5: removed trailing spaces
...
Co-authored-by: divanorama <divanorama@gmail.com>
2 years ago
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
2 years ago
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
2 years ago
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.
2 years ago
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
2 years ago
R. Ryantm
ee250452c4
bazel-remote: 2.3.1 -> 2.3.3
2 years ago
R. Ryantm
8ff4f43381
bazel-remote: 2.3.0 -> 2.3.1
2 years ago
Timothy
13c152bb1c
bazel_4: 4.2.1 -> 4.2.2
2 years ago
Yves-Stan Le Cornec
cd842a9e42
bazel_4: remove duplicated python paths from the nix-support/depends file.
2 years ago
Profpatsch
924725cc9a
bazel: add README file to point to the maintainers team.
2 years ago
Profpatsch
5238c41fa0
team-list: add bazel team
...
(refactor)
We are going to set up a maintenance team for bazel & tools.
2 years ago
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).
3 years ago
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>
3 years ago
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>
3 years ago
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.
3 years ago
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.
3 years ago
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
3 years ago
R. Ryantm
7366bbb3c5
bazel-remote: 2.2.0 -> 2.3.0
3 years ago
R. Ryantm
e62a334eae
bazel-buildtools: 4.2.3 -> 4.2.4
3 years ago
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
3 years ago
Winter
21727e4915
bazel: replace additional usages of md5sum
3 years ago
Uri Baghin
61c121424d
bazel_4: link to issue about aarch64-darwin
3 years ago
Uri Baghin
64144e80df
bazel_4: disable install check on aarch64-darwin
3 years ago
Sandro Jäckel
8547db919a
treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)`` to lib.importJSON ./file.json
3 years ago
R. Ryantm
74df451f60
bazel-remote: 2.1.3 -> 2.2.0
3 years ago
R. Ryantm
5f33ec4892
bazel-buildtools: 4.2.0 -> 4.2.3
3 years ago
R. RyanTM
2d7ee6ac56
bazel-remote: 2.1.1 -> 2.1.3
3 years ago
R. RyanTM
c9e42a65d2
bazel-buildtools: 4.0.1 -> 4.2.0
3 years ago
Timothy
4b8c664c7e
bazel_4: 4.1.0 -> 4.2.1
3 years ago
zowoq
13ea123c74
treewide: buildFlagsArray -> ldflags
3 years ago