Commit graph

167 commits

Author SHA1 Message Date
Harry Moffat
287de5e1fb Added gtest to Cantera's application environment. 2013-02-05 00:32:05 +00:00
Ray Speth
9d6ac785d5 [SCons] Detect invalid command line arguments 2013-01-30 22:05:14 +00:00
Ray Speth
b277818347 [Cython] Added infrastructure for installing examples
This includes automatic conversion of the samples from Python 3 syntax to Python
2 syntax when building the Python 2 version of the module and the "3to2" script
is available.
2012-12-18 00:03:03 +00:00
Ray Speth
04fb86b1ea Added a new SCons configuration variable 'warning_flags'
This allows use of more extensive warning settings for the code that's actually
part of Cantera without generating excessive warnings on code automatically
generated code (e.g. f2c) or code that isn't part of Cantera proper (e.g. gtest,
libexecstream).
2012-11-14 21:07:03 +00:00
Harry Moffat
6e7b14c468 Added a verbose option. 2012-11-07 23:48:55 +00:00
Ray Speth
845b73405e Merge bug fixes from 2.0 maintenance branch 2012-10-30 15:46:10 +00:00
Ray Speth
71156434f8 Fixed handling of the SCons construction variable "FRAMEWORKS"
This variable is only needed on OS X, but for simplicity, we expect it
to be defined (but empty) on other platforms.
2012-10-30 15:30:33 +00:00
Ray Speth
985e83f261 Workaround for platform.python_compiler() to support EPD on Windows 2012-09-06 19:59:50 +00:00
Ray Speth
208b8edad8 SCons installs the new Python module 2012-09-06 19:58:26 +00:00
Ray Speth
a0fdaa9f8a SCons builds the new Python module with Python 2 and Python 3 simultaneously 2012-09-06 19:58:22 +00:00
Ray Speth
0c904bebfa Added infrastructure for using Sphinx to document the new Python module
This includes adding the sphinx_cmd option to SCons, which can be set to the
Python 3 version of sphinx-build as necessary.
2012-09-06 19:58:13 +00:00
Ray Speth
11fd72c26f SCons now builds the Cython-based Python 3 package 2012-09-06 19:58:03 +00:00
Ray Speth
3a838018fc Use SCons to generate a customized setup.py for the new Python module 2012-09-06 19:55:34 +00:00
Ray Speth
021f66c755 Merge bug fixes from the 2.0 maintenance branch 2012-08-15 15:36:34 +00:00
Ray Speth
a79428f894 Fixed some issues with paths in Cantera.mak and cantera.pc 2012-08-13 20:14:14 +00:00
Ray Speth
9d9a22f16b Fixed compilation of Fortran samples with user-specified compiler
cherry-pick of r1635 from 2.0 maintenance branch
2012-08-13 20:14:07 +00:00
Ray Speth
c77539e577 Fixed generated SConstruct files to work with MSVC
cherry-pick of r1634 from 2.0 maintenance branch
2012-08-13 20:14:04 +00:00
Ray Speth
ee3e48b024 Fixed issues linking to libgfortran on OS X 2012-08-12 22:59:40 +00:00
Ray Speth
c092bbaede Fixed the order of include and library directories when compiling
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).

The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Ray Speth
deea83d68b Merge bug fixes from the 2.0 maintenance branch 2012-08-02 16:07:35 +00:00
Ray Speth
bcb79d9cd3 Convert .cti files in data/inputs to .xml as part of the buld process
The full set of .cti and .xml files to be installed is placed in build/data (for
use by the test suite) and copied to the CANTERA_DATA folder on installation.
2012-08-02 15:47:45 +00:00
Ray Speth
88bb6fe679 Removed obsolete C++ Chemkin mechanism converter 2012-07-26 20:49:50 +00:00
Ray Speth
0ff0dad483 Removed obsolete HAS_SSTREAM option 2012-07-23 22:33:41 +00:00
Ray Speth
9c89a8e0a2 On Unix-like systems, $python_prefix defaults to $prefix 2012-07-14 21:18:03 +00:00
Ray Speth
0a460a975f SCons now propagates the LD_LIBRARY_PATH environment variable by default 2012-07-14 21:18:00 +00:00
Ray Speth
5bb6edb133 Bump version number of development version (trunk) 2012-07-10 16:25:39 +00:00
Ray Speth
b83a3b7e96 Fixed compilation of Fortran samples with user-specified compiler 2012-07-10 16:23:29 +00:00
Ray Speth
0e672ed92a Fixed generated SConstruct files to work with MSVC 2012-07-10 16:23:25 +00:00
Ray Speth
58c202395c Bump version to 2.0.0 (final) 2012-07-10 16:23:12 +00:00
Ray Speth
8b3f9c2c1c Fix compilation in some cases where no Fortran compiler is present 2012-06-14 21:06:15 +00:00
Ray Speth
ae572058e0 Python module files are also uninstalled with 'scons uninstall' 2012-06-12 22:49:05 +00:00
Ray Speth
35f694a681 File extension on executable Python scripts is now OS-dependent 2012-06-12 22:49:02 +00:00
Ray Speth
103a1d0e4e Added support for different installation layouts 2012-06-12 22:49:00 +00:00
Ray Speth
89f47a1965 Added an 'uninstall' target to SCons 2012-06-12 22:48:57 +00:00
Ray Speth
5a2e2567f5 Miscellaneous cleanup 2012-06-12 22:48:28 +00:00
Ray Speth
1fb14fc86a Skip building/installing some targets when layout=debian
Do not build the shared library.
Do not build csvdiff.
Do not install install_tsc
Do not install man pages (handled by debhelper)

Skip csvdiff for Debian package

More things not installed with Debian
2012-06-05 19:56:34 +00:00
Ray Speth
ec1abb55a1 Added debian file layout option 2012-06-05 19:56:30 +00:00
Ray Speth
f3c3f47bc5 Incremented version number (2.0.0b3) 2012-06-05 19:56:26 +00:00
Ray Speth
96114edb46 Fixed names of some executable scripts
Also added shebang line to ctml_writer
2012-06-05 19:56:21 +00:00
Ray Speth
8b497e2e97 Fixed some things that weren't cleaned up by 'scons clean' 2012-06-05 19:56:18 +00:00
Ray Speth
cc042e088f Enabled class Adsorbate 2012-05-31 14:57:49 +00:00
Ray Speth
55ef0f3c73 Removed some unimplemented configuration options 2012-05-31 14:57:44 +00:00
Ray Speth
6011f24b38 Removed unnecessary WITH_FEATURE configuration options 2012-05-31 14:57:32 +00:00
Ray Speth
54f18a4e95 Fixed a problem linking to BLAS/LAPACK libraries not on the system path 2012-05-29 21:22:27 +00:00
Ray Speth
31ffb5e400 Added support for Sundials 2.5 2012-05-25 23:13:51 +00:00
Ray Speth
021e11456e Fixed building with thread safety 2012-05-17 21:15:01 +00:00
Ray Speth
924d5b27a6 Improved detection of fortran compiler for setting the module output directory 2012-05-07 18:20:25 +00:00
Ray Speth
1ba0deca74 Fixed python module location in post-install message and setup_cantera script 2012-04-26 21:20:00 +00:00
Ray Speth
436b324ccf Updated the post-build message to be platform-aware 2012-04-19 16:45:19 +00:00
Ray Speth
afc0bad412 Fixed an installation problem on OS X 2012-04-17 15:11:20 +00:00