Merge branch 'simd' of ssh://git.code.sf.net/p/ngspice/ngspice into simd
Incorporate other's modifications.
This commit is contained in:
commit
a31eaaefd7
|
|
@ -25,14 +25,14 @@
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
|
|
||||||
if test "$1" = "d"; then
|
if test "$1" = "d"; then
|
||||||
if [ ! -d "debug" ]; then
|
if [ ! -d "debug_simd" ]; then
|
||||||
mkdir debug
|
mkdir debug_simd
|
||||||
if [ $? -ne 0 ]; then echo "mkdir debug failed"; exit 1 ; fi
|
if [ $? -ne 0 ]; then echo "mkdir debug_simd failed"; exit 1 ; fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ ! -d "release" ]; then
|
if [ ! -d "release_simd" ]; then
|
||||||
mkdir release
|
mkdir release_simd
|
||||||
if [ $? -ne 0 ]; then echo "mkdir release failed"; exit 1 ; fi
|
if [ $? -ne 0 ]; then echo "mkdir release_simd failed"; exit 1 ; fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -48,19 +48,19 @@ if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
if test "$1" = "d"; then
|
if test "$1" = "d"; then
|
||||||
cd debug
|
cd debug_simd
|
||||||
if [ $? -ne 0 ]; then echo "cd debug failed"; exit 1 ; fi
|
if [ $? -ne 0 ]; then echo "cd debug_simd failed"; exit 1 ; fi
|
||||||
echo "configuring for 64 bit debug"
|
echo "configuring for 64 bit debug"
|
||||||
echo
|
echo
|
||||||
# You may add --enable-adms to the following command for adding adms generated devices
|
# You may add --enable-adms to the following command for adding adms generated devices
|
||||||
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp prefix="C:/Spice64d" CFLAGS="-g -m64 -O0 -Wall -Wno-unused-but-set-variable -march=native" LDFLAGS="-g -m64"
|
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --enable-modsimd prefix="C:/Spice64d" CFLAGS="-g -m64 -O0 -Wall -Wno-unused-but-set-variable -march=native" LDFLAGS="-g -m64"
|
||||||
else
|
else
|
||||||
cd release
|
cd release_simd
|
||||||
if [ $? -ne 0 ]; then echo "cd release failed"; exit 1 ; fi
|
if [ $? -ne 0 ]; then echo "cd release_simd failed"; exit 1 ; fi
|
||||||
echo "configuring for 64 bit release"
|
echo "configuring for 64 bit release"
|
||||||
echo
|
echo
|
||||||
# You may add --enable-adms to the following command for adding adms generated devices
|
# You may add --enable-adms to the following command for adding adms generated devices
|
||||||
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice64" CFLAGS="-m64 -O3 -mtune=native " LDFLAGS="-m64 -s"
|
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --disable-debug --enable-modsimd prefix="C:/Spice64" CFLAGS="-m64 -O3 -march=native " LDFLAGS="-m64 -s"
|
||||||
fi
|
fi
|
||||||
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi
|
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ AC_CONFIG_HEADER([src/include/ngspice/config.h])
|
||||||
|
|
||||||
# Initialise automake stuff
|
# Initialise automake stuff
|
||||||
AM_INIT_AUTOMAKE([-Wall -Werror nostdinc serial-tests])
|
AM_INIT_AUTOMAKE([-Wall -Werror nostdinc serial-tests])
|
||||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([no])])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
ext_CFLAGS="${CFLAGS+yes}"
|
ext_CFLAGS="${CFLAGS+yes}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue