Harald Pretl
02/02/2022, 3:38 PMmpw-5
of the `caravel_user_project`` I get the following error on `make openlane`:
Step 5/31 : RUN yum install -y <https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm> && yum install -y git
---> Running in f1f8e87a4e21
Loaded plugins: fastestmirror, ovl
Cannot open: <https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm>. Skipping.
Error: Nothing to do
The command '/bin/sh -c yum install -y <https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm> && yum install -y git' returned a non-zero code: 1
Variables are set like this:
export CARAVEL_USER_PROJECT_COMMIT=mpw-5
export CARAVEL_COMMIT=mpw-5
export OPEN_PDKS_COMMIT=c5730b574461889c82858b08d12ba42423d9c2cb
export OPENLANE_TAG=2021.12.17_05.07.41
Matt Venn
02/02/2022, 3:40 PMMatt Venn
02/02/2022, 3:40 PMHarald Pretl
02/02/2022, 3:41 PMMatt Venn
02/02/2022, 3:41 PMMatt Venn
02/02/2022, 3:42 PMHarald Pretl
02/02/2022, 3:42 PMMatt Venn
02/02/2022, 3:43 PMHarald Pretl
02/02/2022, 3:45 PMcaravel_user_project
with the right tag, and everything else is then taking care of by the makefiles… no messing around with commit lables 🙂Matt Venn
02/02/2022, 3:47 PMMatt Venn
02/02/2022, 3:48 PMMatt Venn
02/02/2022, 3:48 PMMatt Venn
02/02/2022, 3:48 PMMatt Venn
02/02/2022, 3:49 PMHarald Pretl
02/02/2022, 3:49 PMMatt Venn
02/02/2022, 3:50 PMMatt Venn
02/02/2022, 3:51 PMMatt Liberty
02/02/2022, 4:00 PMMatt Venn
02/02/2022, 4:03 PMomla
02/02/2022, 4:59 PMopenlane
image with the tag 2021.11.23_01.42.34
will not be possible. I will raise visibility to this issue and hopefully we provide a resolution soon.Mitch Bailey
02/02/2022, 5:33 PMmake openlane
in the cloned caravel_user_project
, you can also execute these commands.
pushd $OPENLANE_ROOT
export IMAGE_NAME=efabless/openlane:2021.11.23_01.42.34
sed -i.bak -e 's/endpoint.com/endpointdev.com/' -e '/endpoint/s/-1.7-1//' docker/{base,openlane}/Dockerfile
make openlane
popd
The build will complete; testing the pdk now.Mitch Bailey
02/02/2022, 5:56 PMmake pdk
in OpenLane
runs in docker, but make pdk
in caravel_user_project
runs native and make pdk-nonnative
runs in docker.
@User Just to verify, the caravel_user_project/openlane/Makefile
uses efabless/openlane:2021.11.23_01.42.34
but executing make pdk-nonnative
from caravel_user_project
uses efabless/openlane:2021.09.19_20.25.16
- an older version. Should make pdk-nonnative
use efabless/openlane:2021.11.23_01.42.34
instead?donn
02/02/2022, 5:59 PMdonn
02/02/2022, 6:04 PMMatt Venn
02/02/2022, 6:06 PMMatt Venn
02/02/2022, 6:07 PMdonn
02/02/2022, 6:08 PMMatt Venn
02/02/2022, 6:08 PMdonn
02/02/2022, 6:08 PMdonn
02/02/2022, 6:08 PMMatt Venn
02/02/2022, 6:08 PMdonn
02/02/2022, 6:09 PMMatt Venn
02/02/2022, 6:16 PMMatt Venn
02/02/2022, 6:16 PMMatt Venn
02/02/2022, 6:16 PMMatt Venn
02/02/2022, 6:17 PMdonn
02/02/2022, 6:17 PMMitch Bailey
02/02/2022, 6:42 PMmake user_project_wrapper
"works" for me, but I get
[WARNING]: The version of open_pdks installed does not match the one required by the OpenLane flow scripts (installed: 27ecf1c16911f7dd4428ffab96f62c1fb876ea70, expected: c5730b574461889c82858b08d12ba42423d9c2cb)
This is because the OpenLane
directory installed with make openlane
from the caravel_user_project/Makefile
expects the open_pdks
commit from OpenLane/dependencies/tool_metafile.yml
to match the $PDK_ROOT/sky130A/SOURCES
commit. But the actual open_pdks
commit installed with make pdk-nonnative
from the caravel_user_project/Makefile
is specified in the $CARAVEL_ROOT/Makefile
as OPEN_PDKS_COMMIT ?= 1.0.264
. (From Nov.)
Maybe add something like
OPEN_PDKS_COMMIT ?= $(shell python3 $(OPENLANE_ROOT)/dependencies/tool.py open_pdks -f commit)
to caravel_user_project/Makefile
and then pass OPEN_PDKS_COMMIT
to docker in make pdk-nonnative
?Matt Venn
02/03/2022, 11:50 AMMatt Venn
02/03/2022, 11:50 AMMatt Venn
02/03/2022, 11:50 AMMatt Venn
02/03/2022, 11:50 AMMatt Venn
02/03/2022, 11:51 AMMatt Venn
02/03/2022, 11:52 AMMatt Venn
02/03/2022, 11:52 AMMitch Bailey
02/03/2022, 1:57 PMcaravel_user_project/openlane/user_project_wrapper/config.tcl
has been updated in the latest commit. mpw-5
doesn't work but main
(9dda5c661ae0c15e22cf5477b46fbb033a4a8274
) does (better).