Commit Graph

206 Commits

Author SHA1 Message Date
Holger Vogt eb70e40481 simplify the previous approach to make old apps only on demand 2018-05-20 11:37:15 +02:00
Holger Vogt 3145716163 new --enable-oldapps: ngsconvert ngproc2mod ngmultidec ngmakeidx are made only per user request 2018-05-19 23:49:17 +02:00
Holger Vogt 8324b0f646 prepare ngspice-28 2018-05-19 22:15:41 +02:00
Ignacio Martinez Vazquez b6c4f85602 Add pkg-config file 2018-05-19 20:54:27 +02:00
Holger Vogt 406f812db5 distribute only adms/admst, not the whole adms 2018-05-19 20:25:42 +02:00
rlar c8aac12374 regression test for device.c "alter" 2018-05-15 22:33:50 +02:00
Holger Vogt d9bc4a5b41 add src/spicelib/devices/vdmos to ngspice 2018-05-04 20:33:53 +02:00
rlar f3fd53769c configure.ac, search for BLT library
search for three variants
  -lBLT       (for debian and gentoo)
  -lBLT24     (for redhat and centos)
  -lBLT25     (might be usefull for someone else)

The advertised configure incantation is now:
  configure --enable-shared=yes --with-tcl=/usr/lib/tcl8.6
In case you need a special "BLT" you can still use
  LIBS=-lBLTfoobar configure --enable-shared=yes --with-tcl=/usr/lib/tcl8.6
to override the automatic search
2017-10-19 17:55:43 +02:00
h_vogt 5df712cd24 prepare ngspice-27 2017-08-23 23:48:28 +02:00
h_vogt 07ea6466ad configure option --enable-relpath
add relative path ../lib to spinit for codemodels
and search path in ivars.c, independently from
install path which has to be an absolute path
2017-08-12 17:37:19 +02:00
rlar 1e6b809af8 introduce command "check_ifparm" to check consistency of the device IFparm sets
For developing purpose only, and bound to HAVE_TSEARCH, HAVE_TDESTROY

IFparm descriptors must obey certain contracts,
  1) aliases must be grouped together with their associated main descriptor,
       and all must have flag IF_REDUNDANT set
  2) there shall be no duplicated .id fields except for aliases.
  3) aliased entries shall have consistent .dataType fields

check_ifparm will traverse all IFparm sets and report violations
2017-04-09 14:40:51 +02:00
rlar 8c09761e6b adms, polish autogen.sh and configure.ac
Allow to override the admsXml executable when invoking
  autogen.sh and configure.ac

ADMSXML=/foo/bar/baz/admsXml ./autogen.sh --adms
ADMSXML=/foo/bar/baz/admsXml ./configure --enable-adms
alternatively (and more advertised)
./configure ADMSXML=/foo/bar/baz/admsXml --enable-adms

The generated Makefiles remember the given path.
A relative path doesn't make sense of course.
2017-03-12 19:34:37 +01:00
rlar d298d5cc2f use memset() instead of deprecated bzero() 2016-07-30 20:58:33 +02:00
rlar 141ed61ec8 use memcpy() instead of deprecated bcopy() 2016-07-30 20:58:19 +02:00
rlar 5522bfd814 tests/regression/sens, add some tests for "sensitivity" analysis 2016-07-17 18:18:35 +02:00
Francesco Lannutti ef0dcfe5f2 avoid bison dependency `version >= 2.7' 2016-07-09 20:58:17 +02:00
h_vogt 33c0dde68f configure.ac, extend `case $host_os' to support msys2 2015-12-16 20:01:57 +01:00
rlar 0f577ed371 visualc, remove unused defines GLOBAL_NODE and HAS_SHWIN 2015-11-15 15:09:27 +01:00
rlar 8a65e97c2f tests/regression/temper, several issues with `temper' in model parameters 2015-08-10 17:33:17 +02:00
rlar 0f07546db9 configure.ac, automake compatibility, we still use `serial test harness'
newer automake do have a different default setting,
  we need to be specific.
2015-08-10 17:26:51 +02:00
rlar 0c0bc4079f configure.ac, allow cross-compilation, especially for MinGW-w64
notably on debian gnu/linux with package `mingw-w64'
cross-compile a mingw 32bit windows executable with this incantation:

(compile "
  ./autogen.sh
  rm -rf tmp-build tmp-output
  mkdir -p tmp-build tmp-output
  ( cd tmp-build && ../configure \
      --build=$(../config.guess) \
      --host=i686-w64-mingw32 \
      --prefix='c:/spice' \
      --exec-prefix='c:/spice'\
      --with-windows --enable-xspice --enable-cider --disable-debug )
  LC_ALL=C make -C tmp-build -k -j6
  LC_ALL=C make -C tmp-build -k -j6 DESTDIR=$(pwd)/tmp-output/ install
  (cd 'tmp-output/c:/' && zip -r - .) > tmp-output.zip
")

compilation to Win64 works the same way, with
      --host=x86_64-w64-mingw32

The tmp-output.zip directory structure resembles the
  structure of our original sourceforge ngspice-26_140112.zip windows package
ready to be unzip'ed in c:/

Though the testfiles, examples and documentation is missing.
2015-07-06 21:08:05 +02:00
rlar 9ee4db0b5b configure.ac, AC_PROG_YACC, AC_PROG_LEX, enable maintainer-mode by default
explicitly use
  configure --disable-maintainer-mode
only if you don't have bison and flex.

we still have the bison/flex generated output files in the repository,
  causing quite complex make dependencies.
2015-07-05 19:32:27 +02:00
rlar b9abea4f88 tests/regression/pz/ac-resistance.cir, check ac resistance (op, ac and pz) 2015-05-10 21:47:18 +02:00
dwarning 886bc336bf extend qa test to hisimhv version 2 2015-03-30 12:48:44 +02:00
dwarning 9ed2da9ad9 new hisimhv model version 2.2.0 in a separate directory 2015-03-25 15:17:16 +01:00
rlar 8dc0d0ce5c configure.ac, add -Wno-unused-but-set-variable to our default gcc CFLAGS 2015-01-04 20:53:35 +01:00
rlar ba85aaf88f tests/regression/misc/bugs-1.cir, regression test for bug #294 2014-11-06 18:29:51 +01:00
rlar f1e67cccae tests/regression/model/binning-1.cir, check model binning 2014-08-09 18:17:57 +02:00
rlar 7f7453a227 inp_do_macro_param_replace(), fix several bugs concerning .func processing 2014-07-08 18:19:26 +02:00
dwarning 010174ec2a devices/bsim4v7, add to build infrastructure 2014-06-26 19:48:15 +02:00
dwarning cba69c4850 devices/bsim4v4, remove ancient bsim4 model version 4.4 2014-06-26 19:43:54 +02:00
Francesco Lannutti 3b953e50c3 configure.ac, improve help string for --disable-debug 2014-05-11 21:23:06 +02:00
rlar 9a827a68b9 configure.ac, support external CFLAGS specification
allow to overide CFLAGS like this:
  CFLAGS=something ./configure
  ./configure CFLAGS=something

empty CFLAGS are allowed too, like this
  CFLAGS="" ./configure
  ./configure CFLAGS=""

otherwise use our longish builtin default CFLAGS
  ./configure
2014-05-08 22:19:24 +02:00
dwarning f7770e985e introduce the more reliable cmc quality check for bsim3 model 2014-05-04 11:49:23 +02:00
rlar cc56c90b9d drop asprintf() 2014-04-12 21:02:31 +02:00
h_vogt 411418e1ca ngspice-26: substitute 25 --> 26 2014-01-11 16:24:42 +01:00
dwarning 51c7f17186 cmath4.c, use FFTW3 for cx_fft() and cx_ifft() 2014-01-02 09:53:47 +01:00
rlar a088a6e0e6 subckt.c, fix .model processing (scope) 2014-01-02 09:33:18 +01:00
rlar cccc02e844 tests/regression/parser
check xpressn.c parser capability to parse {2--3}
check .control parser capability to parse 2--3
check B parser capability to parse 2--3

check echo commands capability to print "--"
check echo commands capability to print upper and lower case

check xpressn.c parser capabilities

check precision of some transcendental functions
2014-01-02 09:25:53 +01:00
Francesco Lannutti 799791dc5b configure.ac, cleanup `WARNING: PSS analysis enabled' 2013-12-31 16:09:01 +01:00
Francesco Lannutti 581e0a6d11 fix sense2, which is unsupported code 2013-12-31 16:07:12 +01:00
h_vogt 46aeb74ec9 configure.ac: shared module added 2013-12-31 16:06:51 +01:00
h_vogt 30a44d1be5 --with-windows --> --with-wingui 2013-12-31 12:56:59 +01:00
h_vogt d7e291c53a HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar cee318c68b check the .lib processing 2013-12-31 12:53:40 +01:00
Francesco Lannutti 2d1d0e71df Changed --enable-debug to --disable-debug in configure.ac to have it correctly displayed in the automatic completion 2013-01-11 18:48:32 +01:00
Stefano Perticaroli 79bffc78a1 next version of PSS2
which was reviewed and rewritten on branch `PSS-2-try-to-rebase+4'
by Stefano Perticaroli and Francesco Lannutti
2012-12-28 18:15:37 +01:00
rlar 0be61b3e5a remove PSS2 2012-12-28 18:10:05 +01:00
h_vogt fa2ea96eb8 configure.ac: prepare ngspice-25 2012-12-23 12:11:39 +01:00
rlar 2d7d77e9a6 configure.ac, defensive use of `AC_OPENMP' 2012-12-22 22:36:21 +01:00
dwarning c1705e32ae change model name from hisimhv to hisimhv1 2012-11-25 17:59:50 +01:00
Francesco Lannutti b6c6a35161 configure.ac, defensive use of `AM_SILENT_RULES' 2012-11-05 21:22:51 +01:00
Francesco Lannutti d8b2ac56a3 rename "bsim3soi" device to "bsimsoi" 2012-10-26 17:56:59 +02:00
rlar ba131a5077 remove adms3 #1/2, code
due to license issues, and with the aim to approach the next
  ngspice release 25
we have to move this over to a development branch
2012-10-25 18:54:09 +02:00
rlar 8dec768c7f automake 1.12 might need AM_PROG_AR, which is not available in 1.11 2012-09-22 21:09:02 +02:00
Francesco Lannutti b74cf44e4f configure.ac, silent compilation (enabled by default) using AM_SILENT_RULES([yes]) 2012-09-14 21:41:25 -07:00
rlar 84b58ebd3b don't mess with libtools --enable-static / --enable-shared
tie libspice to -shared
    ngspice et al to -static

and use $(STATIC) elsewhere
  which is governed by configure.ac
2012-07-07 14:51:43 +02:00
rlar 25efde6d8a configure.ac, unify `x' escape of `test' expressions 2012-06-22 21:46:45 +02:00
rlar 0b35770b0c configure.ac, robustness
unify and honor some hints from
  (info "(autoconf) Limitations of Builtins")

use shell || and && instead of test -o and test -a

! test a = b    -->   test a != b

dont use ()

drop eval

missing quotes
2012-06-22 21:33:08 +02:00
rlar aea1dbb09c configure.ac, use AS_HELP_STRING 2012-06-21 21:55:03 +02:00
rlar cc1a011c98 configure.ac, cleanup 2012-06-21 21:32:40 +02:00
rlar e01db38416 configure.ac, comment style, (dnl -> #) 2012-06-21 21:17:52 +02:00
rlar 714b9d064f configure.ac, whitespace cleanup 2012-06-21 20:59:27 +02:00
dwarning 72afda41ad mv ext_CFLAGS on the end for overwriting existing CFLAGS 2012-06-15 19:57:08 +02:00
rlar 5b616b93f4 configure.ac, rewrite M4 Quotation (non zero diff)
small differences in the autogen.sh generated files
2012-06-13 19:15:18 +02:00
rlar f571932438 configure.ac, rewrite M4 Quotation
verified for zero diff of the autogen.sh generated files
2012-06-13 19:15:17 +02:00
rlar 1a9e658f91 configure.ac, use AC_OPENMP 2012-06-13 19:15:16 +02:00
rlar e889c821d1 configure.ac, fix `NO_X' and `has_no_help'
drop configure options `--enable-x' and `--disable-x'
use `--with-x' and `--without-x' provided by AC_PATH_X

bug tracker item:
  [ngspice-Bugs-3515015] Startup error message without x11
  https://sourceforge.net/tracker/index.php?func=detail&aid=3515015&group_id=38962&atid=423915
2012-04-06 16:19:49 +02:00
h_vogt df97e2b44a prepare for release 24 2012-01-28 09:15:13 +00:00
rlar 598238f46a conditionally compile PSS analysis 2012-01-02 12:31:22 +00:00
rlar 1fdee871b1 remove @libname@ 2011-12-29 14:32:47 +00:00
rlar 69031273fb generate spinit and tclspinit at `make' time 2011-12-29 14:29:44 +00:00
rlar ee48c0952a #1/6 config.h --> ngspice/config.h, configure.ac 2011-12-27 11:31:10 +00:00
rlar f7ea50c287 new: configure --enable-adms3 2011-12-15 20:44:45 +00:00
dwarning 15c4c12755 mextram name change 2011-08-24 19:27:51 +00:00
rlar 5a4f4ada5c #3/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:45:23 +00:00
rlar 4f5d6aa770 use -O1 when debugging, otherwise gcc ignores -Wuninitialized 2011-08-07 09:55:12 +00:00
rlar 4cf28a3f2f enable -Wconversion 2011-07-03 10:08:52 +00:00
dwarning 6b35352b64 Update to version 4.7.0 & Code merged into bsim4v4 2011-06-19 14:03:07 +00:00
rlar 19cff2c4be incorporate CMC test suite into make target 'check' 2011-05-30 18:47:05 +00:00
dwarning e1dff6a0d5 remove tests/hisim 2011-05-28 20:31:34 +00:00
h_vogt 02865da02f more updates for release 23 2011-05-28 19:33:35 +00:00
h_vogt 0457245332 prepare release 23 2011-05-28 17:35:56 +00:00
h_vogt f7f6119d5b rem line 1035 2011-05-25 19:42:52 +00:00
rlar c004719bf7 hisim2, add hisim2 to configure.ac etc 2011-05-22 10:29:24 +00:00
rlar 7091a81272 re-enable unused-parameter Warnings 2011-04-30 12:31:33 +00:00
dwarning 1906903fb4 add the HiSIM_HV model vers. 1.2.1 2011-04-29 16:47:55 +00:00
dwarning 7132470c9a bjt2 merged to bjt model 2011-04-27 21:10:36 +00:00
dwarning 4b74852dce code merge for bsim3 version 0 and 1 2011-04-13 19:52:27 +00:00
rlar 7880d5bd8e cleanup some whitespace errors and prototypes 2011-02-19 16:47:30 +00:00
rlar c349a97ea1 rework the xspice/icm Makefile for build in a separate directory 2011-01-25 18:34:11 +00:00
h_vogt 5e1ed023c6 transient noise simulation 2010-11-27 16:36:03 +00:00
rlar c575e60356 d_source d_state d_ram, test cases for those xspice codemodels 2010-11-21 15:40:11 +00:00
rlar d768b25ab7 fix another missing dependencies problem 2010-11-16 19:38:18 +00:00
rlar 7d1950e131 fix a missing dependencies problem 2010-11-16 19:31:33 +00:00
dwarning b4d3cc8646 ancient configure options removed 2010-11-06 13:23:25 +00:00
dwarning 6ad8d19d5d correct feature explanations 2010-11-05 23:45:56 +00:00
rlar e2ab67bda0 stronger warning levels, redeclarations, missing prototypes, k&r style ... 2010-10-16 17:55:26 +00:00
dwarning 0d2b618f31 modification for sun compiler 2010-10-06 20:06:05 +00:00
rlar 1149ad86c4 use autoconf to find a suitable signal function type 2010-09-30 20:26:57 +00:00
h_vogt 8db3c17bc0 welcome message, version 22 2010-09-25 14:15:26 +00:00
h_vogt a77275133a allow lib64 in spinit 2010-09-19 08:25:46 +00:00
rlar eb3b02a6d7 undo "use a subdirectory `config' for autoconfigure ..." from today 2010-09-17 19:18:26 +00:00
rlar c1647ed1a1 `make dist' improvements for `NDEV' 2010-09-17 16:21:12 +00:00
rlar 8567157934 use a subdirectory `config' for autoconfigure related artifacts 2010-09-17 16:17:13 +00:00
rlar 2010672489 rename configure.in -> configure.ac 2010-09-08 17:14:44 +00:00