Commits on Source (9)
-
Matthew Clarkson authoredVerifiedd4b1be09
-
Matthew Clarkson authoredVerified793c0f2e
-
Matthew Clarkson authored
If a Linux user has Wine installed with the `binfmt_misc` registration, an APE binary is picked up and ran under the Wine runtime. Normally, this does not occur, as we force execution under the launcher. However, Python `sys.executable` will return the original binary so any Python script that uses `sys.executable` with `subprocess` will unexpectedly run under Wine. Assimilating the binary on Linux avoids this situation. In all other cases we can symlink to the binary.
Verifiedb4ff17be -
Matthew Clarkson authored
This rule only depends on local data so can be marked as such.
Verified699fcb6c -
Matthew Clarkson authored
The `@ape//:*` targets are explicitly for the `exec` configuration. This has lead to confusion when selecting a APE binary target that is needed for the `target` configuration. New `@ape//ape/toolchain/info` targets have been added to make the target name explicit. A toolchain will _always_ be for the execution platform.
Verifiedc767ec08 -
Matthew Clarkson authored
Allows downstream users to select a `target` configuration compatible APE target.
Verified4978c177 -
Matthew Clarkson authoredVerifiedd4a36525
-
Matthew Clarkson authoredVerifiedda7a23e6
-
Bot authored
# [1.0.0-beta.12](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2024-07-22) ### Bug Fixes * **assimilate:** make rule public ([d4b1be09](https://git.gitlab.arm.com/bazel/ape/commit/d4b1be09d711defd822cb581c43674924e04e656)) * **binary:** make rule public ([793c0f2e](https://git.gitlab.arm.com/bazel/ape/commit/793c0f2e83b3f95ce7b147d6fc65c2a9c3c07d79)) * **entrypoint:** add `local = True` ([699fcb6c](https://git.gitlab.arm.com/bazel/ape/commit/699fcb6c036b94a3505d4231ee522daafbb4391d)) * **entrypoint:** assimilate on Linux ([b4ff17be](https://git.gitlab.arm.com/bazel/ape/commit/b4ff17be88820667fd85fb37283e0e5d06130087)) ### Features * add `@ape//ape/toolchain/info:*` targets ([c767ec08](https://git.gitlab.arm.com/bazel/ape/commit/c767ec08894e1874cd183ffe99e76c4f25e1bc86)) * make `@ape//ape:*` targets publically visible ([4978c177](https://git.gitlab.arm.com/bazel/ape/commit/4978c177fd073b18eec3e600a5a2fe1e26f5b5f8))
Showing
- BUILD.bazel 5 additions, 4 deletionsBUILD.bazel
- CHANGELOG.md 14 additions, 0 deletionsCHANGELOG.md
- MODULE.bazel 1 addition, 1 deletionMODULE.bazel
- README.md 3 additions, 3 deletionsREADME.md
- ape/BUILD.bazel 1 addition, 1 deletionape/BUILD.bazel
- ape/assimilate/defs.bzl 1 addition, 1 deletionape/assimilate/defs.bzl
- ape/binary/defs.bzl 1 addition, 1 deletionape/binary/defs.bzl
- ape/entrypoint/repository.bzl 19 additions, 5 deletionsape/entrypoint/repository.bzl
- ape/test/BUILD.bazel 1 addition, 1 deletionape/test/BUILD.bazel
- ape/toolchain/info/BUILD.bazel 11 additions, 0 deletionsape/toolchain/info/BUILD.bazel
- e2e/symlink/test/rule.bzl 1 addition, 1 deletione2e/symlink/test/rule.bzl
- e2e/toolchain/curl/BUILD.bazel 1 addition, 1 deletione2e/toolchain/curl/BUILD.bazel
- e2e/toolchain/install/BUILD.bazel 1 addition, 1 deletione2e/toolchain/install/BUILD.bazel
ape/toolchain/info/BUILD.bazel
0 → 100644