Commit Graph

124 Commits

Author SHA1 Message Date
Holger Vogt fb89f692e9 ngspice version is now 30+ 2019-02-26 20:20:17 +01:00
Holger Vogt e18598520e Prepare ngspice-30 2018-12-23 13:43:08 +01:00
Holger Vogt 035156be66 No gcc flag -fvisibility if MINGW, CYGWIN
Add flag WINCONSOLE to be used in makefile.am
2018-11-18 16:02:05 +01:00
Holger Vogt 870958c8bc Feature request #41 by Marek Szuba
Support libtinfo (split ncurses) in autoconf
2018-11-18 15:53:10 +01:00
Holger Vogt 66439eb2f7 remove xgraph from ngspice distribution.
ngspice supports gnuplot instead.
30 year old legacy code, not maintained.
Does not compile on MS Windows,
compiles on Cygwin, but xgraph.exe crahes immediately.
Lots of compiler warnings.
2018-11-18 15:46:12 +01:00
Holger Vogt a615b902f8 version 29+ 2018-11-18 15:46:04 +01:00
Holger Vogt 4738edeab5 symbol visibility=hidden only in release mode
for shared library and codemodels
2018-10-27 11:06:16 +02:00
dwarning 383f1d14f1 symbol visibility needed for codemodel loading if compiled by sun studio 2018-10-16 14:12:27 +02:00
dwarning 1838ca96ff different symbol loader switch under solaris cc 2018-10-16 14:11:58 +02:00
Holger Vogt 25a1ba05ed allow building kfreebsd on Debian
(obviously nobody has ever built a freebsd version of ngspice before)
2018-10-14 21:18:27 +02:00
Holger Vogt 0345eedf40 prepare for ngspice-29 2018-09-15 00:18:08 +02:00
dwarning 79a5a7942a automatic search for fftw3 can be disabled - default is yes 2018-09-14 20:34:40 +02:00
Holger Vogt a244d703c9 remove --enable-gc, was not implemented anyway 2018-08-07 19:58:36 +02:00
Holger Vogt a9c2077051 checkergcc removed: no longer available, replaced by valgrind 2018-08-07 19:58:31 +02:00
Holger Vogt ed3a098e7e sort the help entries: relevant option come first 2018-08-07 19:58:26 +02:00
Holger Vogt cace650c47 timestamp may be overruled by setting env var SOURCE_DATE_EPOCH
to allow Reproducible builds
See https://wiki.debian.org/ReproducibleBuilds
2018-08-07 19:58:15 +02:00
Holger Vogt fe8126865a Add CFLAGS -fvisibility=hidden also when ngspice executable
is made under LINUX: becomes effective when code models are made.
Thus there is no longer any difference between code models
made during compiling shared ngspice or standard ngspice.
2018-07-07 14:29:44 +02:00
Holger Vogt f4f389dabb internal help: it is only available when --enable-oldapps is given
ngnutmeg is only made when --enable-oldapps is given during ./configure
2018-05-21 01:09:21 +02:00
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