use only a single spinit file for installation (spinit_orig)
This commit is contained in:
parent
db5c33efb0
commit
f5c8c4eb26
|
|
@ -21,7 +21,7 @@ copy %cmsrc%\table.cm %dst%\lib\ngspice\table.cm
|
|||
copy %cmsrc%\xtraevt.cm %dst%\lib\ngspice\xtraevt.cm
|
||||
copy %cmsrc%\xtradev.cm %dst%\lib\ngspice\xtradev.cm
|
||||
copy %cmsrc%\spice2poly.cm %dst%\lib\ngspice\spice2poly.cm
|
||||
copy .\spinit %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinit_orig %dst%\share\ngspice\scripts\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2
|
||||
if "%3" == "fftw" goto copy2
|
||||
|
|
@ -50,7 +50,7 @@ copy %cmsrc%\table64.cm %dst%\lib\ngspice\table.cm
|
|||
copy %cmsrc%\xtraevt64.cm %dst%\lib\ngspice\xtraevt.cm
|
||||
copy %cmsrc%\xtradev64.cm %dst%\lib\ngspice\xtradev.cm
|
||||
copy %cmsrc%\spice2poly64.cm %dst%\lib\ngspice\spice2poly.cm
|
||||
copy .\spinit64 %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinit_orig %dst%\share\ngspice\scripts\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2-64
|
||||
if "%3" == "fftw" goto copy2-64
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ copy %cmsrc%\table.cm %dst%\lib\ngspice\table.cm
|
|||
copy %cmsrc%\xtraevt.cm %dst%\lib\ngspice\xtraevt.cm
|
||||
copy %cmsrc%\xtradev.cm %dst%\lib\ngspice\xtradev.cm
|
||||
copy %cmsrc%\spice2poly.cm %dst%\lib\ngspice\spice2poly.cm
|
||||
copy .\spinitd %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinit_orig %dst%\share\ngspice\scripts\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2
|
||||
if "%3" == "fftw" goto copy2
|
||||
|
|
@ -50,7 +50,7 @@ copy %cmsrc%\table64.cm %dst%\lib\ngspice\table.cm
|
|||
copy %cmsrc%\xtraevt64.cm %dst%\lib\ngspice\xtraevt.cm
|
||||
copy %cmsrc%\xtradev64.cm %dst%\lib\ngspice\xtradev.cm
|
||||
copy %cmsrc%\spice2poly64.cm %dst%\lib\ngspice\spice2poly.cm
|
||||
copy .\spinitd64 %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinit_orig %dst%\share\ngspice\scripts\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2-64
|
||||
if "%3" == "fftw" goto copy2-64
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
* Standard ngspice init file
|
||||
alias exit quit
|
||||
alias acct rusage all
|
||||
set x11lineararcs
|
||||
*set rndseed=12
|
||||
** ascii rawfile **
|
||||
set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** asking after quit **
|
||||
*set askquit
|
||||
** set the number of threads in openmp
|
||||
** default (if compiled with --enable-openmp) is: 2
|
||||
set num_threads=4
|
||||
set interactive
|
||||
|
||||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
|
||||
codemodel C:/Spice/lib/ngspice/spice2poly.cm
|
||||
|
||||
* The other codemodels
|
||||
codemodel C:/Spice/lib/ngspice/analog.cm
|
||||
codemodel C:/Spice/lib/ngspice/digital.cm
|
||||
codemodel C:/Spice/lib/ngspice/xtradev.cm
|
||||
codemodel C:/Spice/lib/ngspice/xtraevt.cm
|
||||
codemodel C:/Spice/lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
* Standard ngspice init file
|
||||
alias exit quit
|
||||
alias acct rusage all
|
||||
set x11lineararcs
|
||||
*set rndseed=12
|
||||
** ascii rawfile **
|
||||
set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** asking after quit **
|
||||
*set askquit
|
||||
** set the number of threads in openmp
|
||||
** default (if compiled with --enable-openmp) is: 2
|
||||
set num_threads=4
|
||||
set interactive
|
||||
|
||||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
|
||||
codemodel C:/Spice64/lib/ngspice/spice2poly.cm
|
||||
|
||||
* The other codemodels
|
||||
codemodel C:/Spice64/lib/ngspice/analog.cm
|
||||
codemodel C:/Spice64/lib/ngspice/digital.cm
|
||||
codemodel C:/Spice64/lib/ngspice/xtradev.cm
|
||||
codemodel C:/Spice64/lib/ngspice/xtraevt.cm
|
||||
codemodel C:/Spice64/lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
* Standard ngspice init file
|
||||
alias exit quit
|
||||
alias acct rusage all
|
||||
*set rndseed=12
|
||||
** ascii rawfile **
|
||||
set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** asking after quit **
|
||||
*set askquit
|
||||
** set the number of threads in openmp
|
||||
** default (if compiled with --enable-openmp) is: 2
|
||||
set num_threads=4
|
||||
|
||||
if $?sharedmode
|
||||
unset interactive
|
||||
unset moremode
|
||||
else
|
||||
set interactive
|
||||
set x11lineararcs
|
||||
end
|
||||
|
||||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
codemodel ../lib/ngspice/spice2poly.cm
|
||||
codemodel ../lib/ngspice/analog.cm
|
||||
codemodel ../lib/ngspice/digital.cm
|
||||
codemodel ../lib/ngspice/xtradev.cm
|
||||
codemodel ../lib/ngspice/xtraevt.cm
|
||||
codemodel ../lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
* Standard ngspice init file
|
||||
alias exit quit
|
||||
alias acct rusage all
|
||||
set x11lineararcs
|
||||
*set rndseed=12
|
||||
** ascii rawfile **
|
||||
set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** asking after quit **
|
||||
*set askquit
|
||||
** set the number of threads in openmp
|
||||
** default (if compiled with --enable-openmp) is: 2
|
||||
set num_threads=4
|
||||
set interactive
|
||||
|
||||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
|
||||
codemodel C:/Spiced/lib/ngspice/spice2poly.cm
|
||||
|
||||
* The other codemodels
|
||||
codemodel C:/Spiced/lib/ngspice/analog.cm
|
||||
codemodel C:/Spiced/lib/ngspice/digital.cm
|
||||
codemodel C:/Spiced/lib/ngspice/xtradev.cm
|
||||
codemodel C:/Spiced/lib/ngspice/xtraevt.cm
|
||||
codemodel C:/Spiced/lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
* Standard ngspice init file
|
||||
alias exit quit
|
||||
alias acct rusage all
|
||||
set x11lineararcs
|
||||
*set rndseed=12
|
||||
** ascii rawfile **
|
||||
set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** asking after quit **
|
||||
*set askquit
|
||||
** set the number of threads in openmp
|
||||
** default (if compiled with --enable-openmp) is: 2
|
||||
set num_threads=4
|
||||
set interactive
|
||||
|
||||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
|
||||
codemodel C:/Spice64d/lib/ngspice/spice2poly.cm
|
||||
|
||||
* The other codemodels
|
||||
codemodel C:/Spice64d/lib/ngspice/analog.cm
|
||||
codemodel C:/Spice64d/lib/ngspice/digital.cm
|
||||
codemodel C:/Spice64d/lib/ngspice/xtradev.cm
|
||||
codemodel C:/Spice64d/lib/ngspice/xtraevt.cm
|
||||
codemodel C:/Spice64d/lib/ngspice/table.cm
|
||||
|
||||
end
|
||||
unset __flag
|
||||
Loading…
Reference in New Issue