OpenLane install is failing on M1 MacBook (BTW, I ...
# openlane
h
OpenLane install is failing on M1 MacBook (BTW, I am working in Parallels with ARM64, so I guess this same error would be there for any ARM64-based machine). When I do
make openlane
the following error shows up:
Copy code
Step 1/25 : FROM openlane-run-base
pull access denied for openlane-run-base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
If I try to do
make pull-openlane
it fetches the prebuilt docker image, but fails later during
make pdk
with:
Copy code
[ -d /home/parallels/OpenLane/pdks/sky130A ] && rm -rf /home/parallels/OpenLane/pdks/sky130A || true
docker run --rm -v /home/parallels/OpenLane:/openlane -v /home/parallels/OpenLane/designs:/openlane/install -v /home/parallels/OpenLane/pdks:/home/parallels/OpenLane/pdks -e PDK_ROOT=/home/parallels/OpenLane/pdks -e STD_CELL_LIBRARY=sky130_fd_sc_hd --user 1000:1000 -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/parallels/.Xauthority:/.Xauthority --network host efabless/openlane:0d8d4c187cb6d0af7b221b364caa2908d8cc9843 sh -c "\
	cd /home/parallels/OpenLane/pdks/open_pdks && \
	./configure --enable-sky130-pdk=/home/parallels/OpenLane/pdks/skywater-pdk/libraries ""\
"
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error
make: *** [dependencies/pdk.mk:72: build-pdk] Error 1
Please help, I am stuck!
v
a
which version of docker?
which os you are running
h
Docker version 20.10.13, build a224086 Darwin 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 203558 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T6000 arm64 This is a M1 MacOS 12.3
m
Probably not the latest version of openlane, but does installing via
caravel_user_project
work? https://github.com/efabless/caravel_user_project/blob/main/docs/source/quickstart.rst
p
@User So, is the OpenLane working in MAC M1 by now?
h
Yes. I will publish it later this week. We have all important tools running on aarch64 😁
p
Sounds great, thanks!