<#173 make install with DESTDIR doesn't work> New ...
# open_pdks
g
#173 make install with DESTDIR doesn't work New issue created by mithro Seems like
-local
argument to
../common/staging_install.py
doesn't work.
Copy code
+ cd open_pdks
+ ./configure --enable-sky130-pdk=/host/skywater-pdk --enable-alpha-sky130 --enable-xschem-sky130 --prefix=/usr/local
checking for a Python interpreter with version >= 3.4... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.9
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.9/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.9/site-packages
checking python3 module: distutils... yes
checking for a sed that does not truncate output... /bin/sed
configure: Found technology directories: sky130
Checking technology sky130...
configure: Checking specified path for 'sky130' at /host/skywater-pdk
checking for /host/skywater-pdk... yes
configure: 'sky130' source path found at /host/skywater-pdk
configure: Link targets set to none
configure: Found tools: klayout magic netgen irsim openlane qflow xschem
checking for magic... /host/out/magic/bin/magic
checking for patch... /usr/bin/patch
configure: Package 'sky130_ml_xx_hd' will be installed automatically during make.
configure: Package 'xschem_sky130' will be installed automatically during make.
configure: Package 'sky130_sram_macros' 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: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem
configure: creating ./config.status
config.status: creating ../sky130/Makefile
config.status: creating ../Makefile
Build configured successfully
+ make DESTDIR=/host/out/pdk install
(cd sky130 && make install)
make[1]: Entering directory '/host/open_pdks/sky130'
echo "Starting SKY130 PDK migration on "`date` > sky130A_install.log
../common/staging_install.py -local /host/out/pdk -std_format \
        -source /host/open_pdks/sky130/sky130A \
        -target /usr/local/share/pdk/sky130A \
        -variable PDKPATH \
        -link_from none 2>&1 | tee -a sky130A_install.log
Installing in target directory /usr/local/share/pdk/sky130A
Removing files from target
Copying staging files to target
Done.
Changing local path references from /host/open_pdks/sky130/sky130A to /host/out/pdk
Part 1:  Tools
      xcircuit (1 substitution)
      qflow (16 substitutions)
      xschem (1 substitution)
      magic (2 substitutions)
Part 2:  Libraries
   sky130_fd_sc_hvl
      mag (1 substitution)
      maglef (1 substitution)
   sky130_fd_pr
      mag (1 substitution)
      maglef (1 substitution)
   sky130_fd_io
      mag (1 substitution)
      maglef (1 substitution)
   sky130_ml_xx_hd
   sky130_fd_sc_hd
      mag (1 substitution)
      maglef (1 substitution)
Removing temporary files from destination.
Done with PDK migration.
echo "Ended SKY130 PDK migration on "`date` >> sky130A_install.log
make[1]: Leaving directory '/host/open_pdks/sky130'
Common install:  Done.
Done.
+ ls -l /host/out
total 4
drwxr-xr-x 5 root root 4096 Nov 13 02:57 magic
RTimothyEdwards/open_pdks