- Sep 06, 2024
-
-
Bot authored
# [1.0.0-beta.14](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2024-09-06) ### Bug Fixes * **local:** grab first part of `uname -r` ([e040928d](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/e040928dc9ba3ba87e6feedbe3850d751a0896a2)) * **local:** provide `/etc/os-release` defaults ([177738d7](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/177738d71b8b50b0c13a02c494f6cf04d93bd316)) * remove `ToolchainInfo#inherited` ([7608c42b](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/7608c42b57f6c2b7b9db4b61aed54a3fc27557d7)) ### Features * add `//toolchain/constraint/local:{cpu,os,libc}` aliases ([a384e649](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/a384e6491bbad9975e4cf9ce5e16758e8e6b7c01)) * add `//toolchain/local/constraint:{cpu,os,libc}` targets ([cf24d760](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/cf24d7609f95b765698181a24a370fc4b5c160ac)) * add couplet platforms ([27ba292a](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/27ba292a92948f25e8b429d25b463f47727c8597)) ### BREAKING CHANGES * `ToolchainInfo#inherited` removed It is not possible to use these in an action as the host environment variables cannot be read host environment variables.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Provides `//toolchain/platform:amd64-linux`, etc.
-
Matthew Clarkson authored
Saves time when building recrusively, as they are only needed when running or as a dependency.
-
- Aug 30, 2024
-
-
Matthew Clarkson authored
`uname -r` may only return purely the Linux kernel version on distroless images.
-
Matthew Clarkson authored
`/etc/os-release` does not have to container `ID_LIKE`. The code accesses `data.id_like`. This patch provides a default value of `None`.
-
- Aug 20, 2024
-
-
Matthew Clarkson authored
Already defined in `.bazelrc`
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Aug 12, 2024
-
-
Matthew Clarkson authored
BREAKING CHANGE: `ToolchainInfo#inherited` removed It is not possible to use these in an action as the host environment variables cannot be read host environment variables.
-
- Jul 30, 2024
-
-
Bot authored
# [1.0.0-beta.13](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2024-07-30) ### Bug Fixes * add support for `--incompatible_use_plus_in_repo_names` ([fc7d4858](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/fc7d485887292676b5a87eb51c40f92aa6343b6b))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
It was [found][1] the `~` character slows down C/C++ includes on Windows. Bazel 8 will change to the `+` symbol. The [--incompatible_use_plus_in_repo_names][2] flag allows testing this early. This patch supports any separator. [1]: https://github.com/bazelbuild/bazel/issues/22865 [2]: https://github.com/bazelbuild/bazel/issues/23127
-
- Jul 09, 2024
-
-
Bot authored
# [1.0.0-beta.12](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2024-07-09) ### Features * **info:** forward on `RunEnvironmentInfo` through `ToolchainInfo` ([08baa79e](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/08baa79e8464d31cfaaa24ad199cde0a819f1d64))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows downstream toolchain consumers to export the environment variables.
-
Matthew Clarkson authored
-
- Jun 24, 2024
-
-
Matthew Clarkson authored
It is always enabled on Bazel 7+
-
- Jun 21, 2024
-
-
Bot authored
# [1.0.0-beta.11](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2024-06-21) ### Bug Fixes * **export:** mark extension as reproducible ([8d61b2e0](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/8d61b2e0a76c64393fc5c43428c653f1f4fa5e5b))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Prevents adding repositories into the lockfile.
-
- Jun 11, 2024
-
-
Matthew Clarkson authored
-
- May 22, 2024
-
-
Bot authored
# [1.0.0-beta.10](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2024-05-22) ### Bug Fixes * **info:** make var matches info ([f82eb108](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/f82eb1082dc5858231ab937d4cec4698678e5f6e))
-
Lukasz Okraszewski authored
-
- May 20, 2024
-
-
Lukasz Okraszewski authored
This commit updates the make variable exported by `toolchain_info` to match the `ToolchainInfo` provider.
-
- May 03, 2024
-
-
Bot authored
# [1.0.0-beta.9](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2024-05-03) ### Features * add `toolchain_info` rule ([11ea2416](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/11ea241647f87759bebd2c5ce7a7b0bdba55953a)) ### BREAKING CHANGES * The `toolchain_symlink_target` no longer exports `ToolchainInfo`/`TemplateVariableInfo`. The `toolchain_info` can provide those providers. The `toolchain_symlink_target` is purely for creating a symlink to a previous target. This still enables changing the basename for multi-call binaries. To gain the old functionality, if `basename` attribute is not being used, `toolchain_symlink_target` can be switched directly for `toolchain_info`. If `basename` is being used, an extra `toolchain_info` rule will need to be created to wrap the `toolchain_symlink_target` rule.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
BREAKING CHANGE: The `toolchain_symlink_target` no longer exports `ToolchainInfo`/`TemplateVariableInfo`. The `toolchain_info` can provide those providers. The `toolchain_symlink_target` is purely for creating a symlink to a previous target. This still enables changing the basename for multi-call binaries. To gain the old functionality, if `basename` attribute is not being used, `toolchain_symlink_target` can be switched directly for `toolchain_info`. If `basename` is being used, an extra `toolchain_info` rule will need to be created to wrap the `toolchain_symlink_target` rule.
-
Bot authored
# [1.0.0-beta.8](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2024-05-03) ### Bug Fixes * **symlink/target:** add `run` property on `ToolchainInfo` provider ([0f18fef6](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/0f18fef6742b133d2da0d0c920bc0fda30e14214)) ### BREAKING CHANGES * **symlink/target:** the `files_to_run` property has been removed from the `ToolchainInfo` provider. Use `info.default.files_to_run` instead. A new `info.run` has been added that is `info.default.files_to_run` or `info.default.executable`. This is a convenience property that can be passed to `ctx.actions.run#execute`.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
BREAKING CHANGE: the `files_to_run` property has been removed from the `ToolchainInfo` provider. Use `info.default.files_to_run` instead. A new `info.run` has been added that is `info.default.files_to_run` or `info.default.executable`. This is a convenience property that can be passed to `ctx.actions.run#execute`.
-
Bot authored
# [1.0.0-beta.7](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2024-05-03) ### Bug Fixes * **symlink/target:** add `files_to_run` property on `ToolchainInfo` provider ([2966744e](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/2966744e1328bef9143dbb5c9c1d32fc756e0219)) * **symlink/target:** add target to runfiles ([4ec23317](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/4ec23317cba14be99c3eec807e9b3873fc5636b0)) * **symlink/target:** merge all data runfiles ([753b43a4](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/753b43a44ff14e768dd98f9fd9234d4f30eb3d0d)) * **toolchain/test:** break `diff` loop correctly ([d57cc719](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/d57cc71913ae936d26ed4a385ad3eb24bde6e8d9)) ### BREAKING CHANGES * **symlink/target:** `toolchain_symlink_path` no longer provides `ToolchainInfo`/`TemplateVariableInfo`. It is required to use `toolchain_symlink_target` to the `toolchain_symlink_path`. This is due to `toolchain_symlink_target` needing to export the `DefaultInfo.file_to_run` from the symlinked target. That is not possible with a filesystem path. This should not affect most users as `toolchain_symlink_path` is mainly used in `toolchain_local_which`. If `toolchain_symlink_path` is being used, then to gain the previous functionality, create a `toolchain_symlink_target` to the `toolchain_symlink_path` label.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
BREAKING CHANGE: `toolchain_symlink_path` no longer provides `ToolchainInfo`/`TemplateVariableInfo`. It is required to use `toolchain_symlink_target` to the `toolchain_symlink_path`. This is due to `toolchain_symlink_target` needing to export the `DefaultInfo.file_to_run` from the symlinked target. That is not possible with a filesystem path. This should not affect most users as `toolchain_symlink_path` is mainly used in `toolchain_local_which`. If `toolchain_symlink_path` is being used, then to gain the previous functionality, create a `toolchain_symlink_target` to the `toolchain_symlink_path` label.
-
Matthew Clarkson authored
Prevents a circular dependency between `toolchain_utils`, `ape` and `rules_diff` which negatively impacts developer experience when changing `toolchain_utils`.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-