Aga S
10/27/2022, 3:23 AMmake: *** No targets specified and no makefile found. Stop.
Here are the two command lines after downloading a Git repository:
./configure --enable-sky130-pdk
make
There was one error with regards to 'magic' tool- please see below:
configure: Found tools: klayout magic netgen irsim openlane qflow xschem xcircuit
checking for magic... no configure: error: You need 'magic' to generate the needed various cell views.Mitch Bailey
10/27/2022, 3:38 AMopen_pdk
git repo? You do need magic to install open_pdks and the version of magic may be important.Aga S
10/27/2022, 4:11 AMMitch Bailey
10/27/2022, 4:18 AMmagic -dnull -noc --version
Aga S
10/27/2022, 4:21 AMAga S
10/27/2022, 4:27 AMAga S
10/27/2022, 4:27 AMMitch Bailey
10/27/2022, 4:32 AMAga S
10/27/2022, 4:35 AMAga S
10/27/2022, 4:41 AMAga S
10/27/2022, 4:41 AMMitch Bailey
10/27/2022, 5:07 AMcd magic
./configure --prefix=<your_install_path>
make
make install
Where did ./configure --enable-magic
come from?
Once magic is installed, make sure it’s on your path.
magic -dnull -noc --version
Once that works, you can go back to open_pdks
and try ./configure --enable-sky130-pdk
again.Aga S
10/27/2022, 5:18 AMAga S
10/27/2022, 5:34 AM./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... yes
checking for putenv... yes
checking for vfork... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for gzopen in -lz... yes
checking for gcore... /usr/bin/gcore
checking for csh... no
configure: error: cannot find /bin/csh---cannot compile!
agajan@agajan-HP:~/open_pdks/magic$ ./configure --enable-magic-open_pdks
configure: WARNING: unrecognized options: --enable-magic-open_pdks
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... yes
checking for putenv... yes
checking for vfork... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for gzopen in -lz... yes
checking for gcore... /usr/bin/gcore
checking for csh... no
configure: error: cannot find /bin/csh---cannot compile!Mitch Bailey
10/27/2022, 5:42 AM./configure --prefix=$HOME/local
and then
export PATH=$HOME/local/bin:$PATH
Aga S
10/27/2022, 5:45 AMAga S
10/27/2022, 5:46 AMAga S
10/28/2022, 11:36 PMMitch Bailey
10/29/2022, 12:26 AM/home/folder1/open_pdks/sources/sky130-pdk/env/conda/.condarc
?Aga S
10/30/2022, 1:16 AMAga S
10/30/2022, 1:16 AMAga S
10/30/2022, 1:17 AMMitch Bailey
10/30/2022, 3:45 PMexport PDK_ROOT=$HOME/local/pdks
and then
git clone <https://github.com/RTimothyEdwards/open_pdks.git>
cd open_pdks
./configure --prefix=$HOME/local/pdks --enable-sky130-pdk
make
and everything seemed to work without problems. commit 002b5dd29d81e9affec60cb6d57ed867c888e23c
Mihai Hurdugaciu
01/11/2023, 3:28 PM./configure --prefix=\$HOME/vlsi/magic
for `make`I get :
make[2]: *** [../rules.mak:31: libgraphics.o] Error 1
make[2]: Leaving directory '/home/mihaih/vlsi/Repos/magic/graphics'
make[1]: *** [Makefile:52: modules] Error 1
make[1]: Leaving directory '/home/mihaih/vlsi/Repos/magic'
make: *** [Makefile:22: standard] Error 2
Mitch Bailey
01/12/2023, 1:34 AM\
in \$HOME
for?Mihai Hurdugaciu
01/12/2023, 5:20 AM./configure --prefix=$HOME/vlsi/magic
I have the same errorsMitch Bailey
01/12/2023, 11:41 AM$HOME/vlsi/magic
- is that correct?
If so, you probably want --prefix
to point to somewhere else - that’s where the installed program will go.
I generally use --prefix=$HOME/local
and then add $HOME/local/bin
to the PATH
variable.
export PATH=$HOME/local/bin:$PATH