|
|
@ -11,12 +11,10 @@ |
|
|
# './compile_cyg_auto.sh' |
|
|
# './compile_cyg_auto.sh' |
|
|
|
|
|
|
|
|
# Options: |
|
|
# Options: |
|
|
# --adms and --enable-adms will install extra HICUM, EKV and MEXTRAM models via the |
|
|
|
|
|
# adms interface. |
|
|
|
|
|
# Please see http://ngspice.sourceforge.net/admshowto.html for more info on adms. |
|
|
|
|
|
# CIDER, XSPICE, and OpenMP may be selected at will. |
|
|
|
|
|
|
|
|
# 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. |
|
|
# --disable-debug will give O2 optimization (versus O0 for debug) and removes all debugging info. |
|
|
# --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 |
|
|
|
|
|
|
|
|
if [ ! -d "release64_cyg" ]; then |
|
|
if [ ! -d "release64_cyg" ]; then |
|
|
mkdir release64_cyg |
|
|
mkdir release64_cyg |
|
|
@ -27,18 +25,11 @@ fi |
|
|
./autogen.sh |
|
|
./autogen.sh |
|
|
if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi |
|
|
if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
# Alternatively, if compiling sources from CVS, and want to add adms created devices, |
|
|
|
|
|
# you may need to uncomment the following two lines (and don't forget to add adms option |
|
|
|
|
|
# to the ../configure statement): |
|
|
|
|
|
#./autogen.sh --adms |
|
|
|
|
|
#if [ $? -ne 0 ]; then echo "./autogen.sh --adms failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
|
|
|
echo |
|
|
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 |
|
|
# You may add --enable-adms to the following command for adding adms generated devices |
|
|
|
|
|
../configure --with-x=yes --with-readline=yes --disable-debug --enable-cider --enable-openmp --enable-xspice --enable-osdi --enable-predictor --enable-shortcheck CFLAGS="-O2 -m64" LDFLAGS="-s -m64" |
|
|
|
|
|
|
|
|
../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=no --with-readline=yes --disable-debug --enable-xspice --enable-cider --enable-openmp |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi |
|
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi |
|
|
|