<@U016EM8L91B> I am trying to update open_pdks and...
# open_pdks
d
@Tim Edwards I am trying to update open_pdks and openlane . I deleted old version. Now cloned both from git .The open pdks seems not build properly, getting below error while installing openpdks Downloading and Extracting Packages Preparing transaction: done Executing transaction: done /home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/downloads/Miniconda3-latest-Linux-x86_64.sh: 438: [[: not found Installing * environment... /home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/downloads/Miniconda3-latest-Linux-x86_64.sh: 444: [[: not found CondaFileIOError: '/home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/conda/pkgs/envs/*/env.txt'. [Errno 2] No such file or directory: '/home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/conda/pkgs/envs/*/env.txt' make[2]: * [/home/deepakverma/tools/open_pdks/sources/sky130-pdk/third_party/make-env/conda.mk128 /home/deepakverma/tools/open_pdks/sources/sky130-pdk/env/conda/bin/python] Error 1 make[2]: Leaving directory '/home/deepakverma/tools/open_pdks/sources/sky130-pdk' make[1]: * [Makefile608 pdk-repo] Error 2 make[1]: Leaving directory '/home/deepakverma/tools/open_pdks/sky130' make: * [Makefile132 tech-sky130] Error 2 I used commands :*sudo git clone https://github.com/RTimothyEdwards/open_pdks.git* 1. cd open_pdks 2. sudo ./configure --enable-sky130-pdk 3. sudo make 4. sudo make install But when i run openlane " make test" it shows below error [ERROR]: during executing: "python3 /openlane/scripts/mergeLib.py --output /openlane/designs/spm/runs/RUN_2022.12.30_18.32.29/tmp/synthesis/merged.lib --name sky130A_merged /usr/local/share/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib" [ERROR]: Exit code: 1 [ERROR]: Last 10 lines: rv = self.invoke(ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/openlane/scripts/mergeLib.py", line 51, in mergeLib file_strings = [open(input_lib).read() for input_lib in input_libs] File "/openlane/scripts/mergeLib.py", line 51, in <listcomp> file_strings = [open(input_lib).read() for input_lib in input_libs] FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/share/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib'
r
I'm getting this same error, running the same commands (other than "git clone git://opencircuitdesign.com/open_pdks openpdk-git" instead)
d
@User,is this issue resolved for you?
r
No. My idea is to alter line 1 of "Miniconda3-latest-Linux-x86_64.sh" to force it to use bash instead of sh. I haven't tested it yet though, as I'm installing openroad before I try again
d
okay thanks man!!
r
Got back to it and that fix works. If you change line 1 of "Miniconda3-latest-Linux-x86_64.sh" to use bash instead of sh the PDK will load fine. Confirmed it works w/ xschem and magic.
t
Sorry for the late reply, but I've found that just running
make
twice works---whatever error the Google PDK generates, it doesn't happen a second time.