Commit graph

2817 commits

Author SHA1 Message Date
Ray Speth
11f277b71b Python installer now requires correct Python version 2012-01-03 23:08:32 +00:00
Ray Speth
82bc960575 SCons builds a very basic Windows installer 2012-01-03 23:08:25 +00:00
Ray Speth
a650168f3e SCons 'msi' target builds an installer for the Python module 2012-01-03 23:08:18 +00:00
Ray Speth
03546b04a6 Moved wxsgen.py into the site_scons directory 2012-01-03 23:08:11 +00:00
Ray Speth
a7402d0094 Added functions to automatically add files to windows install 2012-01-03 23:08:05 +00:00
Ray Speth
084666bef3 First steps toward developing a Windows installer 2012-01-03 23:07:58 +00:00
Ray Speth
5343eea5f1 Added sane default compiler options for the Intel compiler 2011-12-23 16:48:33 +00:00
Ray Speth
c3ba91ca6f Fixed SCons compatibility with the Intel compiler
Still not working with the Python module.
2011-12-23 02:14:58 +00:00
Ray Speth
9552f5d5d2 Made check for libm more compiler-agnostic 2011-12-20 03:51:38 +00:00
Ray Speth
124f8b9f6b Tests now look for elements.xml in the source tree. 2011-12-20 03:06:35 +00:00
Ray Speth
8045e68d86 Added .gitignore files
Helpful for git-svn users
2011-12-16 16:22:15 +00:00
Ray Speth
3238e90969 Don't install man pages on Windows 2011-12-15 00:04:16 +00:00
Ray Speth
5d135738cc Fixed sometimes requiring root permissions to build
When building with an install target in a system directory,
root permissions are now only required to run "scons install".
2011-12-15 00:04:12 +00:00
Ray Speth
8e1cdc4ce4 Fixed attempt to link against libm with MSVC 2011-12-15 00:04:08 +00:00
Ray Speth
e205c27475 Simplified numpy/numarray include to avoid confusing SCons 2011-12-14 19:42:23 +00:00
Ray Speth
2cf75e969e Fixed linking order for libm when building arithchk 2011-12-14 19:41:28 +00:00
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