Commit graph

2785 commits

Author SHA1 Message Date
Ray Speth
53c5bb6a4e Fixed handling of user-specified Sundials paths 2011-12-14 19:35:11 +00:00
Ray Speth
4308ebf40d Eliminated warnings caused by passing the -ftemplate-depth parameter to the C compiler 2011-12-14 19:35:07 +00:00
Ray Speth
c677ea5cbd Added default debug / release compiler flags for GCC and MSVC 2011-12-14 19:35:03 +00:00
Ray Speth
eca26c245c Fixed escaping of CANTERA_DATA in config.h 2011-12-14 19:34:59 +00:00
Ray Speth
49ee5391e0 Fixed building / installation of Python module in Windows 2011-12-14 19:34:53 +00:00
Ray Speth
508b71fecd Improved compiler configuration when using Visual Studio 2011-12-14 19:34:48 +00:00
Ray Speth
b0d75cafea Fixed discovery of Numpy directories under Windows 2011-12-14 19:34:43 +00:00
Ray Speth
b78fa7c9de Build clib as a shared library 2011-12-14 19:34:36 +00:00
Ray Speth
96f93bbac7 Use Boost.Math to provide 'erf' when it is not provided by math.h 2011-12-14 19:34:28 +00:00
Ray Speth
ef617af524 Fixed compilation issues when compiling without Sundials
ctnumerics and the included CVODE had been broken
2011-12-14 19:34:10 +00:00
Ray Speth
60a00546dc Added include directory for f2c code
Most f2c code needs the "f2c.h" file, which is only in the
ext/f2c_libs directory, but this error doesn't usually show up
because it is also in /usr/include on most Unix systems.
2011-12-14 19:34:04 +00:00
Ray Speth
098501cbe4 Fixed several platform-dependent preprocessor defines to work with Windows 2011-12-14 19:33:53 +00:00
Ray Speth
6c3e29bac1 Fixed several compiler options and paths to work properly with MSVC/Windows 2011-12-14 19:33:42 +00:00
Ray Speth
a9b09b6527 Eliminated variable-length arrays from MolalityVPSSTP::reportCSV
These are a feature of C99, but are not part of the C++ standard.
2011-12-14 05:55:44 +00:00
Ray Speth
be92c4cbc5 Added support for command line options for regression tests 2011-12-14 05:55:40 +00:00
Ray Speth
5c95d30807 Use relative tolerances for comparing csv file in regression tests
Each test can have a different threshold and tolerance, reducing the
need to recreate blessed output files in response to small numerical
changes.
2011-12-14 05:55:35 +00:00
Ray Speth
9ff2c93615 Modified the cxx_ex tests to generate consistent output 2011-12-14 05:55:29 +00:00
Ray Speth
d7a384e25d Extended SCons testing to be able to handle multiple output files
Extra files to be compared are passed as a list of tuples of
(blessed_output, test_output) using the 'comparisons' keyword
argument.
2011-12-14 05:55:24 +00:00
Ray Speth
ea63e3163a Moved remaining C++ tests out of examples/cxx 2011-12-14 05:55:11 +00:00
Ray Speth
70c71b5448 SCons can now run most of the tests in the test_problems directory
Does not yet handle tests with multiple outputs or tests requiring
additional command line arguments.
2011-12-14 05:55:05 +00:00
Ray Speth
ff878fc826 "equil" compilation now includes C source files
This fixes compilation with the VCS non-ideal phase option
2011-12-14 05:55:01 +00:00
Ray Speth
a9028d6b77 Added test building and running capabilities to SCons scripts 2011-12-14 05:54:56 +00:00
Ray Speth
fc98029905 Removed redundant configuration option "enable_rxnpath" 2011-12-14 05:54:52 +00:00
Ray Speth
7c807e7925 Combined redundant configuration options for "with_pure_fluids"
Eliminated enable_tpx, incl_pure_fluids
2011-12-14 05:54:48 +00:00
Ray Speth
78332fc0f8 Removed the deprecated "ChangeLog" 2011-12-14 03:54:32 +00:00
Ray Speth
99a0dc5f0f Removed incomplete CMake build scripts 2011-12-14 03:54:19 +00:00
Ray Speth
1c99031360 Improved end-user help for using SCons
Added descriptions of all of the configuration options to the
SConstruct file, and a special "help" target that prints a formatted
version of the options. Running scons with no target now prints a
usage help message.
2011-12-14 03:54:08 +00:00
Ray Speth
ecd99dc7ad Removed some deprecated configuration options 2011-12-14 03:54:04 +00:00
Ray Speth
38170a18ed Better default behavior when building the Fortran interface with Scons
SCons automatically checks for a Fortran compiler, and builds the
Fortran module if one is found, or if the path to a compiler is given
as a configuration option. An error is generated if the F90 interface
is required and a compiler cannot be found.
2011-12-14 03:54:00 +00:00
Ray Speth
0982600bcd Better default behavior for building the Matlab toolbox with SCons
If Matlab is found on the path, build the toolbox by default,
otherwise skip it. If the toolbox is required and Matlab can't be
found, exit with an error.
2011-12-14 03:53:56 +00:00
Ray Speth
79b7686e63 More robust installation of the Python package with SCons
SCons now checks for an array package (numpy by default) and builds
the full Python module if it finds it, otherwise it builds the minimal
package.
2011-12-14 03:53:50 +00:00
Ray Speth
871c7f62f1 SCons prints a post-install summary 2011-12-14 03:53:46 +00:00
Ray Speth
851eaf7040 SCons generates and installs locally customized utility scripts 2011-12-14 03:53:39 +00:00
Ray Speth
c27078d73a SCons handles installation of the Matlab toolbox, demos, and examples 2011-12-14 03:52:55 +00:00
Ray Speth
f9e8d5ca88 SCons builds and installs the csvdiff program 2011-12-14 03:52:48 +00:00
Ray Speth
e2176738cc SCons builds and installs the C++, Python and Fortran demos and examples 2011-12-14 03:52:41 +00:00
Ray Speth
667b8c3cb6 SCons installs the Python module 2011-12-14 03:52:35 +00:00
Ray Speth
d742f7d9e6 SCons now installs the fortran .mod files in the include directory 2011-12-14 03:52:31 +00:00
Ray Speth
2d8b1f4431 SCons install target now copies header files to the installation directory 2011-12-14 03:52:26 +00:00
Ray Speth
702ae7251d Added SCons installation targets for libraries and binaries 2011-12-14 03:52:19 +00:00
Ray Speth
81fb345b96 Use PreAction/PostAction to simplify python module build 2011-12-14 03:52:13 +00:00
Ray Speth
35cc0d3bbc SCons now builds the binaries in the 'tools' directory 2011-12-14 03:52:07 +00:00
Ray Speth
947d8260ad SCons now builds the Matlab toolbox 2011-12-14 03:52:01 +00:00
Ray Speth
53cfa84670 SCons now builds the Python module 2011-12-14 03:04:18 +00:00
Ray Speth
39d46d1f28 SCons now builds the C, C++ and Fortran interfaces 2011-12-14 03:04:08 +00:00
Ray Speth
b6bfca8e94 SCons now builds the Cantera kernel 2011-12-14 03:03:57 +00:00
Ray Speth
2c4623e336 SCons can now build the contents of the 'ext' directory 2011-12-14 02:41:29 +00:00
Ray Speth
5345040ec0 Initial SCons build scripts
Currently just enough to generate a functional config.h
2011-12-14 02:41:23 +00:00
Ray Speth
8c2f78f865 Development branch for a unified cross-platform build system using SCons 2011-12-14 02:24:41 +00:00
Ray Speth
b796e83f81 Improved behavior of Python module when python isn't in the path 2011-12-14 02:20:19 +00:00