Commit graph

107 commits

Author SHA1 Message Date
Ray Speth
f22ecac5c4 Use the Accelerate framework for BLAS and LAPACK on OS X 2012-03-15 22:49:04 +00:00
Ray Speth
4506ee2f8a Fixed some compiler warning issues 2012-03-15 19:55:18 +00:00
Ray Speth
503f57a24e Modified MSVC debugger options to allow parallel builds
We now generate a .pdb file per source file, rather than having multiple
copies of the compiler trying to write to the same shared .pdb file
2012-03-15 19:52:40 +00:00
Ray Speth
870ae7ede2 Fixed compilation of the RedlichKwongMFTP class
Enabled with the build option "with_real_gases".
Class has no test cases.
2012-03-15 19:52:35 +00:00
Ray Speth
09d9ded2e7 Added templates for using Sphinx to generate the Python module docs 2012-03-13 17:34:38 +00:00
Ray Speth
bac65b26a1 Added machinery for unit testing of the Matlab toolbox
Unit tests are written using the Matlab xUnit Test Framework
2012-03-13 17:32:10 +00:00
Ray Speth
3be53356a2 Updated sample build scripts to include pthread where necessary 2012-03-09 22:59:50 +00:00
Ray Speth
82d467944f Eliminated temporary files from the ct2ctml conversion process
Added libstringstream, which maps stdin and stdout to std::iostream.
Using this library means we no longer create either the temporary .py
file or the ct2ctml.log file.

This also eliminates the synchronization problems that motivated the
sleep commands around the system call, so cti to ctml conversions are
significantly faster now.
2012-03-09 22:59:21 +00:00
Ray Speth
50bef3ee5c Fixed an environment issue with Python subprocesses 2012-03-09 22:54:21 +00:00
Ray Speth
346268f09c Matlab extension compiled directly by SCons without invoking Matlab 2012-03-05 20:46:57 +00:00
Ray Speth
8150f49c2c Simplified adding SCons build and install targets 2012-03-05 20:45:20 +00:00
Ray Speth
a3b1946871 Generate SConstruct files and Makefiles in the build directory 2012-03-05 20:45:09 +00:00
Ray Speth
3a15fef000 legacy_headers option now installs Cantera.h 2012-03-05 20:45:03 +00:00
Ray Speth
2e695a67de Exclude certain file patterns from being installed with the samples 2012-03-05 20:44:58 +00:00
Ray Speth
c3398e7a3e Added example SConstruct files to install with F77/F90 sample programs 2012-03-01 16:56:29 +00:00
Ray Speth
45fe098d51 Added example Makefiles to install with C++ sample programs 2012-03-01 00:44:56 +00:00
Ray Speth
70cdd1be3e Made linking to Sundials libraries more consistent 2012-03-01 00:44:50 +00:00
Ray Speth
b3be325ade Set default compiler flags for llvm-gcc 2012-03-01 00:44:46 +00:00
Ray Speth
77cd424821 Added support for compiling with Clang 2012-02-28 23:48:53 +00:00
Ray Speth
8877f95e3c Modified some compiler warning settings 2012-02-28 19:01:35 +00:00
Ray Speth
ef0d68a2e0 Make Scons "debug" and "optimization" options independent 2012-02-27 18:16:10 +00:00
Ray Speth
31c7c36921 Added legacy_headers option to SCons
This will create symlinks (on posix systems) or copies (on Windows)
of the Cantera headers in the 'canterna/kernel' directory,
corresponding to the behavior of older versions of Cantera.
2012-02-27 18:16:05 +00:00
Ray Speth
6195b488c2 Allow compilation of the Fortran 90 module with MinGW 2012-02-27 18:16:00 +00:00
Ray Speth
b0ccecf4e4 Added machinery for running Python unit tests 2012-02-27 18:12:42 +00:00
Ray Speth
1ece5bcc3d Some changes to make SCons faster 2012-02-23 21:25:20 +00:00
Ray Speth
6c181a92fe Removed manual specification of PIC flag
This is already handled in a platform-independent way by SCons
2012-02-23 21:24:27 +00:00
Ray Speth
055b6e5710 Fixed issues compiling with MinGW using SCons 2012-02-21 16:06:07 +00:00
Ray Speth
9eb0f440a5 Added deprecation messages for numarray, numeric, and old Sundials versions 2012-02-21 16:03:01 +00:00
Ray Speth
4f600c048e Fixed compilation of the C++ and Fortran sample programs 2012-02-15 18:06:55 +00:00
Ray Speth
f65da5d277 Fixed compilation of the Fortran 90 module 2012-02-15 18:06:50 +00:00
Ray Speth
b8ac7f9ccb Added SCons options for propagating environment variables 2012-02-15 01:01:40 +00:00
Ray Speth
3ca1eb819e SCons can now build and install the Doxygen-generated documentation 2012-02-13 17:24:44 +00:00
Ray Speth
99d951ceb8 Cantera now produces a single library for linking C++ applications 2012-02-13 17:24:34 +00:00
Ray Speth
8239c18091 Fixed some installation issues with samples and the Python module 2012-02-13 17:24:09 +00:00
Ray Speth
fc1b2f16f0 Updated Matlab build scripts to work with new directory structure 2012-02-12 20:44:28 +00:00
Ray Speth
2589e3c926 Fixed header file installation 2012-02-12 02:47:49 +00:00
Ray Speth
eb2cab5f2b Updates to SCons scripts to support the new directory structure 2012-02-12 02:46:40 +00:00
Ray Speth
bd2bc32689 Fixed a bug in SConstruct with using system BLAS and LAPACK 2012-02-03 19:28:56 +00:00
Ray Speth
1618de5a24 Added explicit dependency for Matlab extension on clib headers 2012-02-03 19:28:49 +00:00
Ray Speth
33c866447d Added scons options to use a specific version of MSVC
The default is to use the same one as the copy of Python
used by SCons, which is required to build the Python module.
2012-02-02 17:18:27 +00:00
Ray Speth
ffb4093bf2 Include 'config.h' when installing header files 2012-02-02 17:18:23 +00:00
Ray Speth
38f6ebd76b Added unit tests for the NasaPoly1 class 2012-02-01 23:35:01 +00:00
Ray Speth
d5e500d3cc Install python module in the staging directory 2012-01-27 19:31:39 +00:00
Ray Speth
cd4d4f01b6 Removed some unused preprocessor definitions 2012-01-19 20:30:38 +00:00
Ray Speth
d3c09984d0 Fixed some preprocessor directives for MinGW
The purpose of these changes is to make the distinction between
compiling under Windows (in which case _WIN32 is defined) and
compiling with the Microsoft compiler (in which case _MSC_VER is
defined). These changes are from the patch submitted by David
Fronczek.
2012-01-19 20:30:26 +00:00
Ray Speth
4ab232da44 Allow optional collection of code coverage information with gcc 2012-01-18 23:44:57 +00:00
Ray Speth
85c34049b6 Added support for running single tests with SCons
Run the 'foo' test with 'scons test-foo'.
Also simplified the names for many tests.
2012-01-09 17:35:06 +00:00
Ray Speth
8b699082c8 Removed cantera/kernel from include path
The "cantera/kernel" directory is now part of the include path only
when building the Cantera kernel. All other modules include files in
this directory as "kernel/header.h".

This fixes a problem distinguishing between kernel/Kinetics.h and
kinetics.h on Windows.
2012-01-09 17:31:21 +00:00
Ray Speth
f7f1c4e434 Added Matlab toolbox to Wix installer 2012-01-09 17:31:10 +00:00
Ray Speth
b6f80caadf Fixes to get the Matlab toolbox compiling in Windows 2012-01-09 17:30:39 +00:00