Well, I have the first multiarch build of OpenLane...
# general
d
Well, I have the first multiarch build of OpenLane up on Docker:
docker run --rm -ti donnio/openlane:better_installability
It should pull the right image for either x86-64 or aarch64 (Apple Silicon). If anyone could just give it a shot, I'd appreciate it!
👀 1
g
How did you build it? Docker buildx?
d
@User Nope, just the regular ol' builder. No buildkit, even. I create two images postfixed with the architecture, then use
docker manifest
to create a manifest with the final image name.
g
Okay, so you just built each image on a native machine. For https://github.com/hpretl/iic-osic-tools we used buildx and defined a context (one local builder and a remote builder with a different architecture) for each architecture. Then it is easy to build and no manual manifest step is required! (See build-all.sh)
d
That does look fairly neat- but I have to keep the limitations of GitHub Actions in mind.
Also not native, qemu-- though that is a nightmare, frankly. We do need a native solution.
g
That is why we went for the build on two native nodes. Even on a 16-core Ryzen, the emulated compile took days and also crashed sometimes.
d
@Georg Zachl I'm looking into this now- my one concern at the moment is hooking up the build nodes to GitHub Actions securely while ensuring pull requests still work