Sort out spinit and vngspice.vcxproj:
During installation into C:\Spice.... a spinit from spinit_all is copied, having relative paths to the code models. A local spinit (needed for the running the local debugger) is copied from either spinitd or spinitd64, referencing the code models stored in C:\Spiced..\lib\ngspice by setting the absolute path.
This commit is contained in:
parent
2a3c88add6
commit
5f5ec4f49a
|
|
@ -21,7 +21,8 @@ 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_all %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinitd .\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2
|
||||
if "%3" == "fftw" goto copy2
|
||||
|
|
@ -50,7 +51,8 @@ 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_all %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinitd64 .\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2-64
|
||||
if "%3" == "fftw" goto copy2-64
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ 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_all %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinitd .\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2
|
||||
if "%3" == "fftw" goto copy2
|
||||
|
|
@ -50,7 +51,8 @@ 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_all %dst%\share\ngspice\scripts\spinit
|
||||
copy .\spinitd64 .\spinit
|
||||
|
||||
if "%2" == "fftw" goto copy2-64
|
||||
if "%3" == "fftw" goto copy2-64
|
||||
|
|
|
|||
|
|
@ -1,30 +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
|
||||
|
||||
* Load the codemodels
|
||||
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
|
||||
|
|
@ -18,12 +18,12 @@ strcmp __flag $program "ngspice"
|
|||
if $__flag = 0
|
||||
|
||||
* Load the codemodels
|
||||
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
|
||||
codemodel C:/Spiced/lib/ngspice/spice2poly.cm
|
||||
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
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@ strcmp __flag $program "ngspice"
|
|||
if $__flag = 0
|
||||
|
||||
* Load the codemodels
|
||||
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
|
||||
codemodel C:/Spice64d/lib/ngspice/spice2poly.cm
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue