Ray Speth
4b114f020e
Add stage_dir config option
...
This option stages "installed" files in a local directory which can
then be used to generate installation packages while $prefix still
references the final installed location.
2011-12-14 19:41:21 +00:00
Ray Speth
ccaf3f5e08
Move config.h out of the main directory
2011-12-14 19:41:07 +00:00
Ray Speth
9ce489efc6
Move SCons builders to the site_scons directory
2011-12-14 19:40:57 +00:00
Ray Speth
71588d307d
Remove files for Autotools and Visual Studio build systems
2011-12-14 19:38:10 +00:00
Ray Speth
bb82aa88ef
Automatically detect Sundials version
2011-12-14 19:36:44 +00:00
Ray Speth
d587c093de
Clean up most artifacts of building the tests under Windows
2011-12-14 19:36:40 +00:00
Ray Speth
2f7fdd5066
Fix for building system-dependent headers in f2c_libs
...
SCons couldn't resolve dependencies on files created by CopyNoPrefix,
so now the paths to these headers are specified relative to the
project root.
2011-12-14 19:36:36 +00:00
Ray Speth
605efec48d
SCons can now build the Matlab toolbox under Windows
2011-12-14 19:36:31 +00:00
Ray Speth
e1051b2263
Add more documentation to buildutils
2011-12-14 19:36:25 +00:00
Ray Speth
00fdf5d3f5
SCons now continues over failed tests and prints a summary at the end
2011-12-14 19:36:21 +00:00
Ray Speth
d2eba8e5e0
Fixed ck2cti tests to run under Windows
2011-12-14 19:36:17 +00:00
Ray Speth
b44ebe45a3
SCons now runs all of the Python regression tests
2011-12-14 19:36:12 +00:00
Ray Speth
d8529fea15
Build a static version of clib to use with Python on Linux
2011-12-14 19:36:08 +00:00
Ray Speth
c3f4972f52
Improvements to the SCons regression test handler
...
Refactored SCons testing code to handle tests using prebuilt binaries.
Now handles regression tests where the standard output is ignored.
Also, allows regression tests to ignore lines starting with specified
strings.
2011-12-14 19:36:03 +00:00
Ray Speth
ec0c45d8fb
Removed some unused files
2011-12-14 19:35:40 +00:00
Ray Speth
6ff532ed71
Fixed compiler flag handling to avoid saving unmodified defaults
2011-12-14 19:35:15 +00:00
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