Skip to content

Assimilate the binaries! 馃

Matthew Clarkson requested to merge assimilate into main

An assimilated APE binary converts between the "fat" format to the native format for the provided binary format and CPU.

This solves a huge problem with POSIX runfiles. We were using the APE launchers to make sure we avoid binfmt_misc issues on the host. That required a small POSIX shell script to launch the binary. By assimilating the binaries, we do not need any Shell/Batch to get going, we just execute the binary!

We use the target constraints for the ape_assimilate rule to create the correct binary from the "fat" APE.

Edited by Matthew Clarkson

Merge request reports