Morris Frazier
03/12/2023, 7:27 PMFROM debian:sid
WORKDIR /root
RUN apt-get update
RUN apt-get -y install git python3 make wget
RUN apt-get -y install build-essential m4 tcsh csh libx11-dev tcl-dev tk-dev libcairo2-dev mesa-common-dev libglu1-mesa-dev libncurses-dev
RUN git clone <https://github.com/RTimothyEdwards/magic>
RUN cd ./magic && ./configure && make -j"$(nproc)" && make install
RUN git clone <https://github.com/RTimothyEdwards/open_pdks>
RUN cd ./open_pdks && ./configure --enable-sky130-pdk && make -j"$(nproc)" && make install
The above Dockerfile fails to build. I'm trying to follow the generic instructions for installing these packages from their respective webpages, is there a different procedure that must be followed that is described somewhere?
make[1]: *** [Makefile:824: all-A] Error 2
make[1]: Leaving directory '/root/open_pdks/sky130'
make: *** [Makefile:132: tech-sky130] Error 2
Morris Frazier
03/12/2023, 7:57 PMConfigurationLoadError: Unable to load configuration file.
path: /root/open_pdks/sources/sky130-pdk/env/conda/.condarc
reason: invalid yaml at line 3, column 0
make[2]: Leaving directory '/root/open_pdks/sources/sky130-pdk'
make[2]: *** [/root/open_pdks/sources/sky130-pdk/third_party/make-env/conda.mk:145: /root/open_pdks/sources/sky130-pdk/env/conda/envs/skywater-pdk-scripts/bin/python] Error 1
make[1]: *** [Makefile:632: pdk-repo] Error 2
make[1]: Leaving directory '/root/open_pdks/sky130'
make: *** [Makefile:132: tech-sky130] Error 2
The command '/bin/sh -c cd ./open_pdks && git checkout 1.0.399 && ./configure --enable-sky130-pdk && make -j"$(nproc)" && make install' returned a non-zero code: 2
Tim Edwards
03/13/2023, 1:31 AMMorris Frazier
03/13/2023, 2:15 AMdebian:sid
to ubuntu:latest
, and using the latest version tags. I suspect some kind of shell compatibility issue between debian and ubuntu.Tim Edwards
03/13/2023, 1:16 PMTim Edwards
03/13/2023, 7:15 PMconda update -y conda
which apparently gets around the conda issue with sky130-pdk on Debian systems. Apparently it's just an issue with Conda version differences.Morris Frazier
03/13/2023, 11:42 PM