Krzysztof Herman
10/30/2021, 3:06 PMBooshan
10/30/2021, 3:18 PMPDK_ROOT
is enough for a container-less Openlane. So, please forgive me if I am misleading.)Krzysztof Herman
10/30/2021, 3:19 PMKrzysztof Herman
10/30/2021, 3:19 PMKrzysztof Herman
10/30/2021, 3:20 PMBooshan
10/30/2021, 3:20 PMmake openlane
alone depends on the docker. Please correct me if I am wrong.Krzysztof Herman
10/30/2021, 3:21 PM./configure --enable-sky130-pdk=/home/asic/pdks/skywater-pdk/libraries --enable-sram-sky130=disabled"
Unable to find image 'efabless/openlane:2021.10.25_20.35.00' locally
Trying to pull repository <http://docker.io/efabless/openlane|docker.io/efabless/openlane> ...
/usr/bin/docker-current: manifest for <http://docker.io/efabless/openlane:2021.10.25_20.35.00|docker.io/efabless/openlane:2021.10.25_20.35.00> not found.
See '/usr/bin/docker-current run --help'.
make: *** [build-pdk] Error 125
Krzysztof Herman
10/30/2021, 3:21 PMKrzysztof Herman
10/30/2021, 3:21 PMBooshan
10/30/2021, 3:25 PMopenlane
uses docker pull
.
The pdk is installed by cloning git repos. I installed my pdks (skywater-pdk and open-pdks) separately in a folder I named ~/OpenEDA
- following the steps here: http://opencircuitdesign.com/open_pdks/index.html
I installed this separately because I wanted to setup an Analog design flow. When I run my digital flow, I set ~/OpenEDA
as my PDK_ROOT
and it works fine as long as the versions are compatible.
@User can probably comment on this.Krzysztof Herman
10/30/2021, 3:32 PMMitch Bailey
10/30/2021, 5:02 PMcd docker_build
make merge
Krzysztof Herman
10/30/2021, 5:02 PMKrzysztof Herman
10/30/2021, 5:02 PMKrzysztof Herman
10/30/2021, 5:04 PMmake merge
for tarFile in tar/klayout.tar.gz tar/cugr.tar.gz tar/drcu.tar.gz tar/yosys.tar.gz tar/magic.tar.gz tar/openroad_app.tar.gz tar/padring.tar.gz tar/netgen.tar.gz tar/vlogtoverilog.tar.gz tar/cvc.tar.gz; do \
tar -xzf $tarFile ; \
done
chmod -R +x ./build/bin
find ./build/ -name "*.tcl" -exec chmod +x {} \;
cd tar && tar -czf openroad_tools.tar.gz ../build
tar: Removing leading `../' from member names
cd tar && tar --exclude='../../.git' --exclude='../../docker_build' --exclude="../../designs" --exclude="../../pdks" --exclude="../../logs/*" -czf openlane.tar.gz ../../
tar: Removing leading `../..' from member names
tar: Removing leading `../../' from member names
cat ../dependencies/tool_metadata.yml > ./tar/tool_metadata.yml
cat ../dependencies/python/run_time.txt > ./tar/pip_dependencies.txt
cat ../dependencies/centos-7/run_time.txt > ./tar/yum_dependencies.txt
mkdir -p logs/docker/tar
docker build --build-arg CACHE_INVALIDATOR=1635613520 --rm -t efabless/openlane:current -f ./docker/openlane/Dockerfile ./tar | tee logs/docker/tar/openroad_tools.tar.gz.build.txt ; \
unable to prepare context: The Dockerfile (/home/asic/OpenLane/docker_build/docker/openlane/Dockerfile) must be within the build context (./tar)
Krzysztof Herman
10/30/2021, 5:05 PMKrzysztof Herman
10/30/2021, 5:06 PMKrzysztof Herman
10/30/2021, 5:06 PMMitch Bailey
10/30/2021, 5:25 PMKrzysztof Herman
10/30/2021, 5:25 PM