Hi, Does anyone know what version of magic is: com...
# magic
j
Hi, Does anyone know what version of magic is: commit f7df5e7c86fb47c5fd445c846afddc6fbabad6ae ?
t
8.3.315 (the most recent).
j
and do you know what version of openlane is compatible with this?
t
I haven't updated magic for a couple of months now, so I would expect the most recent openlane to work with it. I'm not absolutely certain on that point, though.
j
I understand, it's weird, I have that version of magic with the pdk, but I downloaded the latest from openlane and it says it's not compatible
t
Openlane is pretty strict about versioning. I know there's a way to change the version entries for various tools so it doesn't gripe about them. Let me see if I can find that. . .
j
Thanks, but there is something I don't understand, how to know which version of openlane I need for my version of magic
t
Remind me what error message it issues when you run it?
j
This
t
Ah, the file is in openlane under
dependencies/tool_metadata.yml
. There's an entry for magic like this:
Copy code
- name: magic
  repo: <https://github.com/rtimothyedwards/magic>
  commit: 47df9da0d3dfe551b5b67e69cd346b040e7e079f
  build: |
    ./configure --prefix=$PREFIX $MAGIC_CONFIG_OPTS
    make clean
    make -j$(nproc)
    make install
Change the commit value to
f7df5e7c86fb47c5fd445c846afddc6fbabad6ae
, rebuild openlane, and all should be well.
At least that's what I remember.
j
yes i tried that but then i get another error so i left it as it was
t
You might have to ask the openlane developers, then.
j
I will try again, in case I did it wrong, I put the version that I have installed there, right? also change the pdk?
This is the new error
a
@Juan Andres You are supposed to build the pdk using openlane.
Do not overwrite the versions of Magic VLSI
j
oh I understand, I first downloaded the pdk