Commit Graph

342 Commits

Author SHA1 Message Date
Mario Rodas
f1d5035a72 bazel-buildtools: 6.0.1 -> 6.1.0
https://github.com/bazelbuild/buildtools/releases/tag/6.1.0
2023-03-30 04:20:00 +00:00
Dmitry Ivankov
f320081439 bazel_6: 6.1.0 -> 6.1.1
https://github.com/bazelbuild/bazel/releases/tag/6.1.1
2023-03-21 15:59:38 +01:00
Dmitry Ivankov
be9859e899 bazel_6: 6.0.0 -> 6.1.0
Updating the updater script:
- `//external:all` -> `//external:*` to make it work with recent bazel versions

Avoiding chicken-egg problem by explicitly asking to first build previous version,
then update sources version, then use updater and previous version to update src-deps.

`bazel_self` may not necessarily build out of the box after just the sources version
bump and may depend on updater being run first, which can't run without `bazel_self`.
So listing steps to use old version to help updating to new version
2023-03-07 17:01:57 +01:00
Mario Rodas
cf87e23f92 bazel-buildtools: 5.1.0 -> 6.0.1
https://github.com/bazelbuild/buildtools/releases/tag/6.0.0
https://github.com/bazelbuild/buildtools/releases/tag/6.0.1
2023-02-08 04:20:00 +00:00
Uri Baghin
81dc5ee425 bazel_3: remove 2023-02-02 13:03:36 +11:00
Uri Baghin
ec57cb615b bazel_6: 6.0.0-pre.20220720.3 -> 6.0.0 2023-01-18 08:53:53 +11:00
R. Ryantm
c0d431caff bazel-remote: 2.3.9 -> 2.4.0 2023-01-12 08:51:03 +00:00
zowoq
ae50f0678a
Revert "bazel_6: 6.0.0-pre.20220720.3 -> 6.0.0" 2023-01-11 10:01:46 +10:00
Uri Baghin
4001c325ac
Merge pull request #206934 from alloveras/patch-2
bazel_6: 6.0.0-pre.20220720.3 -> 6.0.0
2023-01-11 10:25:22 +11:00
Dmitry Ivankov
c8bc2f2c0d bazel_5: 5.3.2 -> 5.4.0 2023-01-10 16:04:00 +01:00
Albert Lloveras
bc66db939a PR feedback 2023-01-10 20:11:59 +11:00
Dmitry Ivankov
9a82a9b524 bazel: 5.2.0 -> 5.3.2
https://blog.bazel.build/2022/08/23/bazel-5.3.html

to supersede https://github.com/NixOS/nixpkgs/pull/187943

re-reverts https://github.com/NixOS/nixpkgs/pull/199458 with more hash updates
2022-12-25 16:47:03 +01:00
Albert Lloveras
1e72427803 bazel_6: 6.0.0-pre.20220720.3 -> 6.0.0 2022-12-20 19:22:06 +11:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Robert Schütz
d6ecfa2b1a bazel_6: only use python3 2022-11-24 23:04:27 -08:00
Robert Schütz
6c251ae60b bazel_5: only use python3 2022-11-24 23:04:27 -08:00
Robert Schütz
c0143fbd4f bazel_4: only use python3 2022-11-24 23:04:27 -08:00
Robert Schütz
58dbe4d6de bazel_3: only use python3 2022-11-24 23:04:26 -08:00
Uri Baghin
949e592ed6
Revert "bazel: 5.2.0 -> 5.3.2" 2022-11-04 14:47:55 +11:00
Dmitry Ivankov
3e34d2674e bazel: 5.2.0 -> 5.3.2 2022-10-26 19:30:55 +02:00
Uri Baghin
7ce637bc99 bazel_5: fix sandbox 2022-09-20 14:01:39 +10:00
Dmitry Kalinkin
4922ed06b0
bazel: patch to fix for darwin sandbox 2022-09-11 12:51:48 -04:00
Uri Baghin
a6e347fb29
Merge pull request #186106 from layus/bazel-update
bazel_6: init with a WIP implem
2022-09-03 00:27:09 +10:00
Guillaume Maudoux
b4f4f49331 bazel_6: Cleanup leftover comments 2022-09-02 12:54:36 +02:00
R. Ryantm
7d03836dae bazel-remote: 2.3.8 -> 2.3.9 2022-09-01 07:34:29 +00:00
Uri Baghin
69c21d5bff bazel_6: fix darwin build 2022-08-23 19:24:07 +10:00
Guillaume Maudoux
095a37e13e bazel_6: Working fix for java toolchain on linux 2022-08-16 12:04:27 +02:00
Guillaume Maudoux
fff3c3b7a7 WIP v2 2022-08-12 17:04:44 +02:00
Guillaume Maudoux
882d0a3b7a bazel_6: init with a WIP implem 2022-08-11 15:33:28 +02:00
Claudio Bley
0917e34967 bazel_{3,4,5}: Use arm64 as arch suffix on aarch64
The official bazel wrapper script uses `$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)`
as the `os-arch` suffix.

On aarch64 Darwin, `uname -m` returns "arm64", on aarch64 Linux it returns "aarch64".
2022-08-01 06:39:12 +02:00
Uri Baghin
75d6a6a7fb bazel_5: get libtool from path
We're resolving most cc toolchain tools from the path and environment variables, but we hardcode libtool. This makes it hard to point libtool to the specific one you need, for example to work around issues like
https://github.com/NixOS/nixpkgs/pull/180251#issuecomment-1200096413. Make it consistent by getting libtool from path too, like other cc toolchain tools.
2022-07-30 17:32:28 +10:00
R. Ryantm
4a706341b1 bazel-remote: 2.3.7 -> 2.3.8 2022-07-08 03:50:06 +00:00
Michael Davis
7c3d4d3af8
bazel: 5.1.1 -> 5.2.0 2022-06-27 15:44:14 -05:00
Yves-Stan Le Cornec
c6909daf0e bazel_5: use correct bazel version for tests
`bazel_self` is the current package. If we do not specify it explicitly when defining tests then Bazel 3 is used by default.
2022-06-24 17:37:20 +02:00
Yves-Stan Le Cornec
384035c4cf bazel_4: use correct bazel version for tests
`bazel_self` is the current package. If we do not specify it explicitly when defining tests then Bazel 3 is used by default.
2022-06-24 17:34:47 +02:00
Yves-Stan Le Cornec
ad5f4abb9c bazel_5: remove unnecessary buildInputs from tests
Now that PATH dependencies are provided via a wrapper, these buildInputs become unnecessary
2022-06-24 17:26:05 +02:00
Yves-Stan Le Cornec
934ad0d729 bazel_4: remove unnecessary buildInputs from tests.
Now that PATH dependencies are provided via a wrapper, these buildInputs become unnecessary
2022-06-24 17:23:11 +02:00
Yves-Stan Le Cornec
aa06cc8b9a bazel_5: wraps bazel to add default runtime dependencies to PATH
Bazel requires basic runtime dependencies in the PATH for repository rules and genrules. When `which` is missing in particular, it can lead to misleading error messages.
2022-06-13 11:35:54 +02:00
Yves-Stan Le Cornec
14dcb2c929 bazel_4: wraps bazel to add default runtime dependencies to PATH
Bazel requires basic runtime dependencies in the PATH for repository rules and genrules. When `which` is missing in particular, it can lead to misleading error messages.
2022-06-13 11:35:18 +02:00
Robert Scott
3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Uri Baghin
b5d30ae3a3 bazel_0, bazel_0_26, bazel_0_29, bazel_1: remove 2022-05-09 17:08:33 +10:00
Vladimír Čunát
9478ec747c
Merge branch 'staging-next-2022-04-23'
Close #169965: the PR and real 'staging-next' branch contained
extra systemd rebuild that I wanted to avoid in this iteration.
(to save Hydra's work)
2022-05-02 09:12:51 +02:00
Uri Baghin
fb879fa935
Merge pull request #170218 from uri-canva/no-debug-spam
bazel_4, bazel_5: disable sandbox debug
2022-05-02 16:21:05 +10:00
github-actions[bot]
4a997ba4a6
Merge master into staging-next 2022-04-26 00:02:23 +00:00
Uri Baghin
8342425cb0 bazel_4, bazel_5: disable sandbox debug 2022-04-25 17:53:43 +10:00
R. Ryantm
16dc611f05 bazel-remote: 2.3.6 -> 2.3.7 2022-04-25 02:16:04 +00:00
github-actions[bot]
6a14b5834e
Merge master into staging-next 2022-04-25 00:02:35 +00:00
Timo Kaufmann
3c632ea1f6
Merge pull request #170073 from uri-canva/remove
python3Packages.dm-sonnet, python3Packages.graph_nets: remove
2022-04-24 21:23:46 +02:00
github-actions[bot]
b9e4b22843
Merge master into staging-next 2022-04-24 12:01:14 +00:00
Uri Baghin
31ed8a5745 python3Packages.dm-sonnet, python3Packages.graph_nets: remove 2022-04-24 19:38:18 +10:00