Has anyone built the whole toolchain natively on a...
# openlane
t
Has anyone built the whole toolchain natively on a Mac yet?
a
let me see if i can find it
t
I remember someone trying it way back when it was first released. You can probably use my
openlane-baremetal
as a base.
t
I'm getting an M1 macbook so hopefully everything works on arm
a
it’ll probbaly be easier to get this to run than it was to get e.g. ruby to run on my m1, since the dependencies for this project are pretty basic
here are some notes from @Ryan Thornton: Notes for mac setup: tcl and tk must be linked against X11 (brew doesn’t support) sudo port install tk +x11 For magic, to configure: ./configure --with-tcl=/opt/local/ --with-tk=/opt/local/ make CFLAGS=‘-Wno-implicit-function-declaration -I/opt/local/include’ Use ports to install xcb 1.13: $> git clone --single-branch https://github.com/macports/macports-ports.git $> cd macports-ports $> git checkout b0ba9280eab572558a893dd27e17f1ceade9ab38 $> cd x11/xorg-libxcb $> sudo port install $> cd ../xorg-xcb-proto $> sudo port install YOSYS:   new bison has to be installed   iverilog needs to be installed for make test Comment yosys and netlistsvg out of conda env after install Install bash >4
r
Magic is by far the hardest thing to get working, and as of this morning the newest magic segfaults on the rc5 tech files
t
Mmm ... I'm using it just fine.
Oh wait. It might not be the very latest, it's a couple of days old.
r
The latest magic or PDK? A few days ago the pdk and an old version of magic were working, I might just have to check if a different branch functions better
t
f934fc3cf5ede514c48de6b5d131e5db94970d2a
is magic and is recent.
PDK is
d8e2cf1ba006ed01468aa60e7f4e85a1ece74ca4
r
Thanks, I’ll test that out!
t
Where did it crash ?
r
Magic segfaults when I try to load the tech files
t
oh
t
@tnt https://github.com/smunaut is not loading, where is your openlane-baremetal repo?
t
Welll there.
t
heh 😉 then I get this though, so that means more hacking when I don't have a 4 year old wanting to play games
Copy code
% /opt/local/bin/bash openlane_build.sh 
readlink: illegal option -- f
t
Arf BSD 😕