- Dec 08, 2023
-
-
Bot authored
# [1.0.0-alpha.7](https://git.gitlab.arm.com/bazel/rules_toolchain/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2023-12-08) ### Bug Fixes * be graceful when `uname` is not found ([6f4242c1](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/6f4242c19284b424ffd4079c0a02ed6a2bdef103)) * correct `{{basename}}` in `which` ([892c6233](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/892c6233cce27d1ff2a6b950d3ddca1e34b807ff)) * fail fast when not three Linux version parts ([e298c3e5](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/e298c3e5e0674809bd62def624aaf0104089468e)) * need to foward on `.cmd` not `.com` ([49d7c9fd](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/49d7c9fd03763b135cf2e19db16ddfe30e00c8a5)) * pin Bazel version ([585e5f41](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/585e5f4168736c050687be6e59c359ab3a50f8ae)) * **resolved:** propagate `.bat`/`.com` extensions ([b0a41761](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/b0a4176194fcf379e4ab4a8ac9f213f34bc9771c)) * **select:** add `map` to the error string ([727be3b7](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/727be3b7570aebda46b78560cd98cbaa74368b99)) * **symlink_target:** propagate `.bat`/`.com` extensions ([78a62657](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/78a62657e5dc911a75418afb28243e0d29f3db93)) * **symlink_target:** use `ctx.executable` ([fdf8d732](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/fdf8d732de0a1137172d0cbd311277834760dbe8)) * **test:** simplify POSIX variable substitution ([82a4ecaa](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/82a4ecaa71dbd06c98f24ef5fb4dc40ad58a40a6)) ### Features * add `//toolchain/constraint/libc:ucrt` ([4deb57e8](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/4deb57e881ad3fd4e43b49bc5a6724ad0db68ffd)) * add `//toolchain/constraint/os:windows` ([064ecafc](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/064ecafcc9b0a1ed3afc3c62c459f0b541438b27)) * add a plain string value to local triplet repository ([e41e05ff](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/e41e05ffec1208b535ccfdcb4d70bc5d4c9311af)) * add launcher ([96823abd](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/96823abd1096cb17d81b554072916450f6944fa7)) * add simple Windows OS detection ([a090eabe](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/a090eabe2dae4e52eb611c610c617437a31a46f0)) * add Universal C runtime detection ([cd8b097b](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/cd8b097bd731403b3502214fffefb15089a975be)) * add Windows version detection ([b2d0c537](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/b2d0c53752ca2488a7ae9c70697591098bdb06b3)) * **local/which:** support Windows ([1398d386](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/1398d3869c59f6500def3894c4065ef2d9a0d9a1)) * **select:** add more selection options ([22e5104a](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/22e5104a50b8fcfdffed77a2c8af82bdb79c512f)) * **test:** add Batch script for Windows ([ea1a75db](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/ea1a75db5b906e31646d0e41adad7b8ad8a63381)) * **toolchain_triplet:** add Windows support ([32e2220d](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/32e2220df6254455713d331f9cbd4509fb9d9bc8))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
This is a bit of a hack for Windows. We want to be able to do: bazelisk run -- @echo//:entrypoint However, because there is no extension on `entrypoint` which is actually a hardlink/symlink to `entrypoint.bat` Bazel puts it through `CreateProcessW` and attempts to start it as a portable executable (PE/COFF). The launcher is a bit of C# code to create an `exe` that uses argument zero to find the corresponding `.bat` script and launches that instead. The resulting executable can be hardlinked/symlinked from anywhere that has a batch script to provide a executable launcher for the script. We can then have nice labels on both POSIX/Windows.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows the `load` graph to be "load what you use" rather than pulling in all `.bzl` files in a single `def.bzl` file.
-
Matthew Clarkson authored
-
-
Matthew Clarkson authored
Allows loading the triplet string without any extra dependencies. Most downstream users will use the `triplet.bzl` but the `value.bzl` is useful for _this_ project to load. It may be of use to downstream as well.
-
Matthew Clarkson authored
-
No need to use arithmetic substitution.
-
-
- Dec 07, 2023
-
-
Matthew Clarkson authored
A `.com` file is a MS-DOS executable and will happily execute under `CreateProcessW`.
-
Matthew Clarkson authored
Needed for Windows to execute the scripts correctly under `cmd.exe`.
-
These _need_ to be propagated for Windows to know to not run them as portable executables (PE/COFF) but under `cmd.exe`.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Dec 05, 2023
-
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
We were not forwarding it through to the templating.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Re-uses the Java detection.
-
Matthew Clarkson authored
There _may_ be systems that do not report all three versions. We want to catch that in the split call as the error shows the string that was to be split.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Universal C runtime is used on Windows.
-
- Dec 01, 2023
-
-
Matthew Clarkson authored
We have the package registry enabled now!
-
- Nov 30, 2023
-
-
Bot authored
# [1.0.0-alpha.6](https://git.gitlab.arm.com/bazel/rules_toolchain/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2023-11-30) ### Bug Fixes * add missing stub file ([fdcc9c01](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/fdcc9c013c99bf6c0fb8c29270f4412f83400a83)) * upload release files to generic package registry ([d5deccfa](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/d5deccfa9dc35482c23b7376fb368f8037d51845)) ### Features * add `export` extension ([35bae073](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/35bae07323b7ac4a9ddeab60909d9c411970fab2)) * **rules_toolchain:** add `:entrypoint` target to local repositories ([a995bd47](https://git.gitlab.arm.com/bazel/rules_toolchain/commit/a995bd4702de985b14cd99ce1f896f1833342b29))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows access with a GitLab API token. Normal release assets need a UI login.
-
Matthew Clarkson authored
-