- Jul 26, 2024
-
-
Bot authored
# [1.0.0-beta.13](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2024-07-26) ### Bug Fixes * **ape_toolchain:** make `toolchain_utils` constraints relative to `[@ape](https://git.gitlab.arm.com/ape)` module ([69001a59](https://git.gitlab.arm.com/bazel/ape/commit/69001a59b44c7618fc04f51ae741a884710daa60))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Jul 22, 2024
-
-
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))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows downstream users to select a `target` configuration compatible APE target.
-
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.
-
- Jun 26, 2024
-
-
Matthew Clarkson authored
This rule only depends on local data so can be marked as such.
-
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.
-
- Jun 24, 2024
-
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Jun 18, 2024
-
-
Bot authored
# [1.0.0-beta.11](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2024-06-18) ### Bug Fixes * **assimilate:** ensure Windows executable extension ([4e636524](https://git.gitlab.arm.com/bazel/ape/commit/4e636524a5cfa246a24d8478d2c2f2494fee0983))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
This tags targets which cannot build on every platform and run targets that are unnecessary to build as part of a recursive build.
-
Matthew Clarkson authored
We need to make sure our APE binary targets work when symlinked. The shift to assimilated binaries removes the need for runfiles. The test will pass with assimilated binary targets.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Bot authored
# [1.0.0-beta.10](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2024-06-18) ### Bug Fixes * alias assimilate targets ([1632a5fd](https://git.gitlab.arm.com/bazel/ape/commit/1632a5fd837b2d8a0c1b73a6f5606e9a4ede0f72)) * **assimilate:** propagate runfiles ([afcd2473](https://git.gitlab.arm.com/bazel/ape/commit/afcd247373004a05c4ede739a571cb9ef6b82d64)) * **assimilate:** symlink on Apple Silicon ([d3a05909](https://git.gitlab.arm.com/bazel/ape/commit/d3a0590934a3c560d3456942a202caeda4158e08)) ### Code Refactoring * **binary:** change from `target` to `src` ([ce0fb14f](https://git.gitlab.arm.com/bazel/ape/commit/ce0fb14f408a2a5bd3afb5c2a3b0b8673bd7aed0)) ### BREAKING CHANGES * **binary:** The `ape_binary#target` attribute has changed to `ape_binary#src`. This aligns to other `*_binary` rules such as `sh_binary`.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Assimilated binaries are not runnable on Apple Silicon and require the APE loader. Symlinking the "fat" APE will force the loader to be extracted to run the binary.
-
Matthew Clarkson authored
Targets have been created for both `ape_binary` and `ape_assimilate` so that we can `select`, if we want to.
-
Matthew Clarkson authored
-
- Jun 17, 2024
-
-
Matthew Clarkson authored
BREAKING CHANGE: The `ape_binary#target` attribute has changed to `ape_binary#src`. This aligns to other `*_binary` rules such as `sh_binary`.
-
Bot authored
# [1.0.0-beta.9](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2024-06-17) ### Bug Fixes * **assimilate:** symlink on Windows ([21c70a35](https://git.gitlab.arm.com/bazel/ape/commit/21c70a35358847fb6452f1b086d5ae208b0f9b33)) * **assimilate:** use ELF on Apple Silicon ([85084d32](https://git.gitlab.arm.com/bazel/ape/commit/85084d326695d94c033e9458ebad84cabb83455d))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Bot authored
# [1.0.0-beta.8](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2024-06-17) ### Bug Fixes * **upload:** bump to `rules_curl@1.0.0-alpha.8` ([46be5506](https://git.gitlab.arm.com/bazel/ape/commit/46be5506f8c2fe37a4d2bc649f1abb47c9f875fb)) ### Features * add `//:assimilate` ([4a43c390](https://git.gitlab.arm.com/bazel/ape/commit/4a43c3907740218bebcda4c6c5c6f1bc26c63c32)) * add `ape_assimilate` rule ([0ffc0247](https://git.gitlab.arm.com/bazel/ape/commit/0ffc02472fac8cd93db0daa393fab072c5864e68)) * switch to assimilated binaries ([def09160](https://git.gitlab.arm.com/bazel/ape/commit/def09160eeaeba44a59717b23a04ac626584e2b9))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Assimilated binaries are converted from a "fat" APE into a native binary for the provided host. This change means that the APE binaries are completely hermetic binaries that do not require their own launcher, shell script or anything else. This solves a huge bootstrapping problem that POSIX shell scripts need runfiles but to effectively find the runfiles one needs POSIX tooling to resolve symlinks, etc. Having a single executable to rely on solves the need for runfiles.
-
Matthew Clarkson authored
This rule takes a APE binary and turns it into a native binary.
-
- Jun 14, 2024
-
-
Matthew Clarkson authored
This can be used to convert a APE into a native binary
-
Matthew Clarkson authored
-
- Jun 10, 2024
-
-
Matthew Clarkson authored
Fixes hermeticity and runfiles issues with `curl`.
-
- May 22, 2024
-
-
Bot authored
# [1.0.0-beta.7](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2024-05-22) ### Bug Fixes * correct `ape-m1.c` upstream URL ([db0cb832](https://git.gitlab.arm.com/bazel/ape/commit/db0cb83293d1ef9df91882e71dfba8007dd2a7ad)) * rolled back `pigz` version ([6d098c8a](https://git.gitlab.arm.com/bazel/ape/commit/6d098c8a6b80b86eda05c25996927e207c9878d8)) ### Features * add `chmod`/`cp`/`dd`/`echo`/`gzip`/`mkdir`/`mv`/`printf`/`rm`/`uname` ([b312d301](https://git.gitlab.arm.com/bazel/ape/commit/b312d30110dda67426e6db2e124a1c316340ec2b))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
`pigz` is being downgraded because with the current version decompression fails[1]: ```sh $ curl -sLf https://github.com/ahgamut/superconfigure/releases/download/z0.0.39/compress.zip -o compress.zip $ unzip compress.zip $ echo "Hello, world" > hello-world.txt $ ./bin/pigz hello-world.txt $ ./bin/pigz -cdkv hello-world.txt.gz --stdout > hello-world.txt~ (segmentation fault) ``` The `3.2.4` binary worked fine, so we are rolling back to that for now. When a new version of `cosmos` binaries have been released, we should check that the decompression works and upgrade. [1]: https://github.com/ahgamut/superconfigure/issues/38
-