efabless / volare

Version manager (and builder) for the Google sky130 and gf180mcu open-source PDKs
Apache License 2.0
57 stars 8 forks source link

Unable to Add Missing Library #82

Open d-m-bailey opened 5 months ago

d-m-bailey commented 5 months ago

Description

Tried to add sky130_fd_sc_hs library but failed with errors.

Expected Behavior

Should add the missing library to the pdk.

Relevant command

volare build -l sky130_fd_sc_hs 12df12e2e74145e31c5a13de02f9a1e176b56e67

Relevant log output

==> config.log <==

                    set -e
                    export PATH="/home/user/local/bin:$PATH"
                    ./configure --enable-sky130-pdk --enable-sc-hs-sky130 --disable-sram-sky130 --disable-sc-lp-sky130 --disable-sc-hd-sky130 --disable-sc-hvl-sky130 --disable-io-sky130 --disable-primitive-sky130 --disable-alpha-sky130 --disable-sc-ls-sky130 --disable-sc-ms-sky130 --disable-sc-hdll-sky130 --with-reference

---
configure: WARNING: unrecognized options: --enable-sc-hs-sky130, --disable-sc-lp-sky130, --disable-sc-hd-sky130, --disable-sc-hvl-sky130, --disable-io-sky130, --disable-primitive-sky130, --disable-sc-ls-sky130, --disable-sc-ms-sky130, --disable-sc-hdll-sky130
checking for a Python interpreter with version >= 3.4... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.7
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.7/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.7/site-packages
checking python3 module: distutils... yes
checking for a sed that does not truncate output... /usr/bin/sed
configure: Found technology directories: gf180mcu sky130
Checking technology gf180mcu...
Checking technology sky130...
configure: PDK 'sky130' will be downloaded automatically during make.
configure: Link targets set to none
configure: Enabled variants set to all
configure: Found tools: klayout magic netgen irsim openlane qflow xschem xcircuit
checking for magic... /home/user/local/bin/magic
checking for patch... /usr/bin/patch
configure: Disabling package 'sky130_ml_xx_hd'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IndexError: list index out of range
configure: Package 'xschem_sky130' will be installed automatically during make.
configure: Package 'klayout_sky130' will be installed automatically during make.
configure: Package 'precheck_sky130' will be installed automatically during make.
configure: Disabling package 'sky130_sram_macros'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IndexError: list index out of range
configure: Package 'sky130_fd_bd_sram' will not be installed.
configure: Package 'sky130_osu_t12' will not be installed.
configure: Package 'sky130_osu_t15' will not be installed.
configure: Package 'sky130_osu_t18' will not be installed.
configure: Package 'gf180mcu_fd_pr' will be installed automatically during make.
configure: Package 'gf180mcu_fd_pv' will be installed automatically during make.
configure: Package 'gf180mcu_fd_io' will be installed automatically during make.
configure: Package 'gf180mcu_fd_sc_mcu7t5v0' will be installed automatically during make.
configure: Package 'gf180mcu_fd_sc_mcu9t5v0' will be installed automatically during make.
configure: Package 'gf180mcu_fd_ip_sram' will be installed automatically during make.
configure: Package 'gf180mcu_osu_sc' will be installed automatically during make.
configure: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem xcircuit
configure: creating ./config.status
config.status: creating ../gf180mcu/Makefile
config.status: creating ../Makefile
config.status: creating ../sky130/Makefile
configure: WARNING: unrecognized options: --enable-sc-hs-sky130, --disable-sc-lp-sky130, --disable-sc-hd-sky130, --disable-sc-hvl-sky130, --disable-io-sky130, --disable-primitive-sky130, --disable-sc-ls-sky130, --disable-sc-ms-sky130, --disable-sc-hdll-sky130
Build configured successfully

==> install.log <==

                    set -e
                    export LC_ALL=en_US.UTF-8
                    export PATH="/home/user/local/bin:$PATH"
                    make -j1
                    make 'SHARED_PDKS_PATH=/home/user/sky130/mpw-9/dependencies/pdks/volare/sky130/build/12df12e2e74145e31c5a13de02f9a1e176b56e67' install

---
(cd sky130 && make -j all)
make[1]: Entering directory '/home/user/sky130/mpw-9/dependencies/pdks/volare/sky130/build/12df12e2e74145e31c5a13de02f9a1e176b56e67/open_pdks/sky130'
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
if test "xsky130.json" != "x"; then \
        SKYWATER_COMMIT = `cat sky130.json | grep skywater_pdk | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        ALPHA_COMMIT = `cat sky130.json | grep sky130_ml_xx_hd | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        XSCHEM_COMMIT = `cat sky130.json | grep xschem_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        KLAYOUT_COMMIT = `cat sky130.json | grep klayout_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        PRECHECK_COMMIT = `cat sky130.json | grep precheck_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        SRAM_COMMIT = `cat sky130.json | grep sky130_sram_macros | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        SRAM_SPACE_COMMIT = `cat sky130.json | grep sky130_fd_bd_sram | grep -v COMMIT | cut -d'"' -f4` ; \
fi
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
if test "xsky130.json" != "x"; then \
        OSU_T12_COMMIT = `cat sky130.json | grep sky130_osu_sc_t12 | grep -v COMMIT | cut -d'"' -f4` ; \
fi
if test "xsky130.json" != "x"; then \
        OSU_T15_COMMIT = `cat sky130.json | grep sky130_osu_sc_t15 | grep -v COMMIT | cut -d'"' -f4` ; \
fi
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
if test "xsky130.json" != "x"; then \
        OSU_T18_COMMIT = `cat sky130.json | grep sky130_osu_sc_t18 | grep -v COMMIT | cut -d'"' -f4` ; \
fi
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: line 1: KLAYOUT_COMMIT: command not found
/bin/bash: line 1: SKYWATER_COMMIT: command not found
/bin/bash: line 1: XSCHEM_COMMIT: command not found
/bin/bash: line 1: ALPHA_COMMIT: command not found
make[1]: *** [Makefile:631: pdk-repo] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:696: klayout-repo] Error 127
/bin/bash: line 1: SRAM_SPACE_COMMIT: command not found
make[1]: *** [Makefile:683: xschem-repo] Error 127
/bin/bash: line 1: OSU_T12_COMMIT: command not found
/bin/bash: line 1: SRAM_COMMIT: command not found
make[1]: *** [Makefile:644: alpha-repo] Error 127
/bin/bash: line 1: OSU_T15_COMMIT: command not found
make[1]: *** [Makefile:670: sram-space-repo] Error 127
make[1]: *** [Makefile:722: osu-t12-repo] Error 127
make[1]: *** [Makefile:657: sram-repo] Error 127
make[1]: *** [Makefile:735: osu-t15-repo] Error 127
/bin/bash: line 1: OSU_T18_COMMIT: command not found
make[1]: *** [Makefile:748: osu-t18-repo] Error 127
/bin/bash: line 1: PRECHECK_COMMIT: command not found
make[1]: *** [Makefile:709: precheck-repo] Error 127
make[1]: Leaving directory '/home/user/sky130/mpw-9/dependencies/pdks/volare/sky130/build/12df12e2e74145e31c5a13de02f9a1e176b56e67/open_pdks/sky130'
make: *** [Makefile:132: tech-sky130] Error 2