Aleksandar Pajkanovic
05/10/2022, 2:22 PMopen_pdks
by Tim Edwards, so now I am trying to get openlane going.
I see that docker containers are advised, however, I don't think that fits in my case; namely, this is a VM that students are accessing via internet (server is, alas, native Win machine and VM is Ubuntu), remotely, so adding another layer of abstraction wouldn't be what I am looking for. Plus, I already have the PDK all set, so I wouldn't like to double that. Hence, I'd like to set openlane like we did in the olden' days 🙂
Unless... that is... there are arguments that it will really benefit us if I scratch everything and actually move on to containers? It's not that I don't like containers, I use them on a daily basis, actually, on another project, but in this case it seems we are better of avoiding them... Are we?
Anyway, when I try following the instructions from here: https://openroad.readthedocs.io/en/latest/user/BuildLocally.html
this is what I get:
:/opt/OpenROAD-flow-scripts$ ./build_openroad.sh --local
[INFO FLW-0002] Updating git submodules.
[INFO FLW-0001] Using local build method. This will create binaries at 'tools/install' unless overwritten.
[INFO FLW-0017] Compiling Yosys.
make: Entering directory '/opt/OpenROAD-flow-scripts/tools/yosys'
mkdir -p /opt/OpenROAD-flow-scripts/tools/install/yosys/bin
cp yosys yosys-config yosys-abc yosys-filterlib yosys-smtbmc /opt/OpenROAD-flow-scripts/tools/install/yosys/bin
strip -S /opt/OpenROAD-flow-scripts/tools/install/yosys/bin/yosys
strip /opt/OpenROAD-flow-scripts/tools/install/yosys/bin/yosys-abc
strip /opt/OpenROAD-flow-scripts/tools/install/yosys/bin/yosys-filterlib
mkdir -p /opt/OpenROAD-flow-scripts/tools/install/yosys/share/yosys
cp -r share/. /opt/OpenROAD-flow-scripts/tools/install/yosys/share/yosys/.
make: Leaving directory '/opt/OpenROAD-flow-scripts/tools/yosys'
[INFO FLW-0018] Compiling OpenROAD.
CMake Error: The source directory "/opt/OpenROAD-flow-scripts/CMAKE_INSTALL_PREFIX=/opt/OpenROAD-flow-scripts/tools/install/OpenROAD" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
the .../tools/install/OpenROAD
directory does exist, but from that line: /opt/OpenROAD-flow-scripts/CMAKE_INSTALL_PREFIX
it seems to me that there's a mess up within that script somewhere... as if the export
part of the command got mixed in within another line...
Could someone take a look and help? I am happy to share temporary access to the server, as well, just let me know and we'll find a timeslot to look at this together. Thanks!Arman Avetisyan
05/10/2022, 2:33 PMAleksandar Pajkanovic
05/10/2022, 2:38 PMMatt Venn
05/10/2022, 2:46 PMAleksandar Pajkanovic
05/16/2022, 2:14 PMopenlane
git, readme says:
Containerless/Local Installations
Please see here.
https://github.com/The-OpenROAD-Project/OpenLane#containerlesslocal-installations
pointing me to: https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/local_installs.md
which tells me the following:
DO NOTE: We expect you to get some tools on your own, because said tools are too complex to build in an automated fashion. Namely:
OpenROAD
Klayout
Git 2.34+
i.e. it instructs me to get OpenROAD installed and set, hence I went for this: https://openroad.readthedocs.io/en/latest/user/BuildLocally.html
===
The point here being, it's not that I wanted to use OpenROAD instead of openlane, it's just the way things seem to have arranged themselves... I may be understanding something wrong, though, so... do correct me, please.
===
Can you maybe recommend another way around (without docker containers)?