Commits on Source (9)
-
Matthew Clarkson authored
-
Matthew Clarkson authored
The extension can be use to "export" local repositories into the extension. This is especially useful for exposing repositories that provide hermetic, executable entrypoints.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Follows the common convention of prefixing public exports in `defs.bzl`
-
Matthew Clarkson authored
This is important to provide a consistent target for resolving hermetic tools in repository rules. For example, one can use a local tool as so: ```py local(name = "echo") something(echo = "@echo//:entrypoint") ``` Later, one can switch out the local entrypoint for a hermetically downloaded tool. In the future, we may provide a `toolchain_entrypoint` repository rule that provides an entrypoint that understands how to correctly setup `LD_LIBRARY_PATH` (and similar). This is helpful when using pre-built binaries from package repositories that are linked dynamically: ```py download_deb(name = "unionfs", ...) download_deb(name = "fuse", ...) toolchain_entrypoint( name = "unionfs", libraries = [ "@fuse//:usr/lib/libfuse.so", ], ) ``` -
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows access with a GitLab API token. Normal release assets need a UI login.
-
Matthew Clarkson authored
-
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))
e2e/export/BUILD.bazel
0 → 100644
icon.svg
0 → 100644
toolchain/export/BUILD.bazel
0 → 100644
toolchain/export/defs.bzl
0 → 100644
toolchain/export/extension.bzl
0 → 100644
toolchain/export/symlink/BUILD.bazel
0 → 100644
toolchain/export/symlink/repository.bzl
0 → 100644
toolchain/local/which/entrypoint.tmpl.sh
0 → 100644
toolchain/local/which/stub.sh
0 → 100755