8 Commits

Author SHA1 Message Date
Paul Gschwendtner
183f77201e build: update to bazel 6
This is necessary for an incremental migration to `rules_js` which
requires Bazel v6. Bazel v6 removed the managed directories feature,
which means we no longer can rely on symlinked node modules as the Bazel
repository; but rather need to duplicate dependencies. This is
okay/acceptable to enable the incremental migration.
2024-12-16 12:17:17 -05:00
Doug Parker
80c8d9ba89 build: bump Bazel version to 5.4.1
This is needed for `ctx.actions.run_shell(toolchain = ...)` which was added in 5.4.0 and needed for `@aspect_bazel_lib` v2.9.2.
2024-10-17 09:03:51 +02:00
Alan Agius
1229dfb1ad build: update Bazel to 5.3 and rules_pkg to 0.7.1
These updates have been combined as rules_pkg 0.7.1 requires support for non string labels which older versions of Bazel do not support which would cause the below failure

```
Error in select: select: got Label for dict key, want a label string
```
2022-09-09 13:09:37 +02:00
Charles Lyding
41a649a591 build: update bazel to 5.0.0
Update bazel to the latest stable version (currently 5.0.0).
2022-02-18 08:10:40 -05:00
Paul Gschwendtner
a6761d31ed build: use platform from shared dev-infra package for remote execution
Uses the new shared RBE platform from the dev-infra package.

We introduced a shared Bazel platform for remote execution builds
using Google cloud. Previously we used `bazel_toolchains` for
providing the platform w/ additional CPP and Java toolchains

`bazel_toolchains` no longer provides default toolchains with the
latest version, but provides a tool (linux and windows only) for
generating toolchain/platforms, which then need to be checked
into the repository. This is quite inconvenient and cumbersome
(especially with no macOS support), so we just provided our own
platform and CPP toolchain within `@angular/dev-infra-private`. This is
more simple than all the effort we'd need to make the toolchain
generation tool work (while it would also increase the amount
of checked-in sources significantly; with more unused toolchains
for CPP or Java)

See: angular/angular#41767.
2021-05-05 13:02:59 -04:00
Joey Perrott
b5c309ada1 build: update bazel to 4.0.0
Update to the latest version of bazel (4.0.0).
2021-01-28 09:37:19 +01:00
Alan Agius
d462813f5d build: update to bazel 3.4.0 2020-08-19 16:00:07 +02:00
Filipe Silva
a51c5cdf2b build: use @bazel/bazelisk 2020-04-30 15:12:46 -07:00