https://open-source-silicon.dev logo
#general
Title
# general
d

donn

04/29/2022, 11:39 PM
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

Georg Zachl

05/01/2022, 2:54 PM
How did you build it? Docker buildx?
d

donn

05/11/2022, 11:30 AM
@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

Georg Zachl

05/13/2022, 8:16 AM
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

donn

05/13/2022, 8:53 AM
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

Georg Zachl

05/16/2022, 1:01 PM
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

donn

05/17/2022, 5:49 PM
@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