|
|
@ -1,8 +1,8 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
# ngspice build script for CYGWIN console (X11), release version, 64 bit |
|
|
# ngspice build script for CYGWIN console (X11), release version, 64 bit |
|
|
# compile_cyg_make_check.sh |
|
|
|
|
|
|
|
|
# compile_cyg_make_short_check.sh |
|
|
|
|
|
|
|
|
# short version, cd into release64_cyg, then call make, make install, make check |
|
|
|
|
|
|
|
|
# short version, skipping several of the device checks |
|
|
|
|
|
|
|
|
#Procedure: |
|
|
#Procedure: |
|
|
# Install CYGWIN, plus bison, flex, auto tools, perl, libiconv, libintl |
|
|
# Install CYGWIN, plus bison, flex, auto tools, perl, libiconv, libintl |
|
|
@ -11,8 +11,8 @@ |
|
|
# './compile_cyg_auto.sh' |
|
|
# './compile_cyg_auto.sh' |
|
|
|
|
|
|
|
|
# Options: |
|
|
# Options: |
|
|
# CIDER, XSPICE, OSDI, KLU, and OpenMP may be selected at will. |
|
|
|
|
|
# --disable-debug will give O2 optimization (versus O0 for debug) and removes all debugging info. |
|
|
|
|
|
|
|
|
# CIDER may be selected at will. |
|
|
|
|
|
# XSPICE, OSDI, KLU, and OpenMP may be deselected if not require |
|
|
# --enable-oldapps will make ngnutmeg ngsconvert ngproc2mod ngmultidec ngmakeidx in addition to ngspice |
|
|
# --enable-oldapps will make ngnutmeg ngsconvert ngproc2mod ngmultidec ngmakeidx in addition to ngspice |
|
|
# --enable-shortcheck will provide a fast 'make check' by checking only BSIM3 and BSIM4 |
|
|
# --enable-shortcheck will provide a fast 'make check' by checking only BSIM3 and BSIM4 |
|
|
|
|
|
|
|
|
@ -29,8 +29,7 @@ echo |
|
|
cd release64_cyg |
|
|
cd release64_cyg |
|
|
if [ $? -ne 0 ]; then echo "cd release64_cyg failed"; exit 1 ; fi |
|
|
if [ $? -ne 0 ]; then echo "cd release64_cyg failed"; exit 1 ; fi |
|
|
echo |
|
|
echo |
|
|
../configure --with-x=yes --with-readline=yes --disable-debug --enable-cider --enable-openmp --enable-xspice --enable-osdi --enable-klu --enable-predictor --enable-shortcheck CFLAGS="-O2 -m64" LDFLAGS="-s -m64" |
|
|
|
|
|
#../configure --with-x=no --with-readline=yes --disable-debug --enable-xspice --enable-cider --enable-openmp |
|
|
|
|
|
|
|
|
../configure --with-x=yes --enable-cider --enable-shortcheck CFLAGS="-O2 -m64" LDFLAGS="-s -m64" |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi |
|
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
|