Hey guys. We are getting an error while installing...
# sky130
d
Hey guys. We are getting an error while installing openlane onto the local machine. [ucass@localhost UNIC_CASS_IITGN]$ export OPENLANE_ROOT=$(PWD)/openlane [ucass@localhost UNIC_CASS_IITGN]$ make openlane find: ‘*’: No such file or directory find: ‘*’: No such file or directory find: ‘*’: No such file or directory find: ‘*’: No such file or directory find: ‘*’: No such file or directory OPENLANE_ROOT is set to '/home/ucass/Work/UNIC_CASS_IITGN/openlane' which contains openlane config files Please set it to a different directory make: * [openlane] Error 1 Can anyone clarify this error at the earliest?
m
Unfortunately, this can be somewhat confusing. The
<user_project>/openlane
directory will contain all the design data for your synthesized cells, so you don’t want to install the openlane programs on top of that. You’d also have problems when you git commit because all the openlane program data would be written too. Try
export OPENLANE_ROOT=$PWD/dependencies/openlane_src
. Make sure
dependencies
is in your
.gitignore
file.
d
Now, after executing the above command and running "make openlane", we are getting the following [ucass@localhost UNIC_CASS_IITGN]$ export OPENLANE_ROOT=$(PWD)/dependencies/openlane_src [ucass@localhost UNIC_CASS_IITGN]$ make openlane cd openlane && make openlane make[1]: Entering directory `/home/ucass/Work/UNIC_CASS_IITGN/openlane' make[1]: * No rule to make target `openlane'. Stop. make[1]: Leaving directory `/home/ucass/Work/UNIC_CASS_IITGN/openlane' make: * [openlane] Error 2 [ucass@localhost UNIC_CASS_IITGN]$
m
You want to run
make setup
from your cloned
caravel_user_project
directory.
Is this a clone of
caravel_user_project_analog
? If it is, the
openlane/Makefile
may still be an incorrect link. Delete the file and copy from
caravel_user_project
.
d
Yes. We also ran make setup in the caravel_user_project directory. But it couldn't install openlane. The same error as shown above was displayed.
m
What do these commands return?
Copy code
$ grep ^openlane openlane/Makefile
$ ls -l openlane/Makefile