Commit graph

308 commits

Author SHA1 Message Date
Ray Speth
ec38f58e73 [SCons] Install data file for LiC6 electrode example 2016-04-06 22:24:26 -04:00
Ray Speth
60eed786fa [SCons] Fix fallback behavior with explicitly-specifed Fortran compiler
If the user has explicitly specified a Fortran compiler, we shouldn't fall back
to using a different one if the specified one cannot be found.
2016-04-05 12:52:01 -04:00
Ray Speth
6d91b44ed6 [SCons] Fix setting of prefix when building Debian packages
'prefix' shouldn't be changed after it's used, but should be set by the
debian/rules script
2016-04-01 16:25:58 -04:00
Ray Speth
2e56f6dee3 [SCons] Allow compiler options which contain commas
Compiler options such as '-Wl,-z,rlero' were incorrectly being split into
multiple options by SCons. Compiler options must now be separated by spaces when
specified on the SCons command line.

Fixes #320
2016-03-27 20:21:56 -04:00
Bryan W. Weber
db769a47c7 Bump in-progress version to 2.3.0a2 2016-02-06 07:44:10 -05:00
Bryan W. Weber
5b483a8c22 The cantera_version should not be an option 2016-02-06 07:44:10 -05:00
Ray Speth
b4a1fb2db1 [SCons/Numerics] Use ext/sundials if system Sundials not installed 2015-11-23 16:53:20 -05:00
Ray Speth
4977b2773f [SCons] Fix documentation of 'optimize' option 2015-11-18 12:59:16 -05:00
Ray Speth
e58bd09859 Eliminate debug_verbose option and DEBUG_MODE macro
Vebose printing can always be enabled at runtime by setting flags on various
classes.
2015-11-18 11:02:30 -05:00
Ray Speth
592a40a1de [SCons] Remove unused configuration options 2015-10-29 22:26:52 -04:00
Ray Speth
c983d730a6 [SCons] Remove 'include/cantera/ext' when running 'scons clean' 2015-10-29 12:27:47 -04:00
Ivan Mitrichev
02fc127c13 Cython minimum version is 0.19
Also, setuptools is required to build/install the python module.

Resolves #302.
2015-10-25 14:15:45 -04:00
Ray Speth
f910f8c3ee Bump development version to 2.3.0a1 2015-10-24 20:21:32 -04:00
Ray Speth
87aaa6ad1e Use math functions from C++11 standard library 2015-10-19 13:14:40 -04:00
Ray Speth
ffab95f3ef Automatically check out cppformat submodule if needed 2015-10-18 18:54:09 -04:00
Ray Speth
4a411b76bb Use git submodule for googletest 2015-10-18 18:54:09 -04:00
Ray Speth
e094967ebb [Doc] Update version requirements 2015-10-17 22:35:37 -04:00
Ray Speth
c8e380d88c [SCons] Invalid command line arguments set a non-zero return code 2015-10-17 19:00:18 -04:00
Ray Speth
7c9bc364f5 [SCons] Add helpful error message when cppformat submodule is missing 2015-10-17 18:58:50 -04:00
Ray Speth
f9375e1a09 Use locks/mutexes from the standard library instead of Boost.Thread
This eliminates the need to link against any of the compiled Boost libraries,
and means that we can always build in thread-safe mode
2015-10-17 18:58:50 -04:00
Ray Speth
f335350c35 Always use std::shared_ptr
Since we compile as c++11, std::shared_ptr is guaranteed to exist.
2015-10-14 18:45:23 -04:00
Ray Speth
6f4c73c9d4 [SCons] Change compiler flag to work with GCC 4.6 2015-10-14 18:45:23 -04:00
Ray Speth
c88aaf9fc2 [SCons] Optionally show contents of config.log after errors
This makes it easier to debug issues that occur on automated builds where
the config.log file is hard to access directly.
2015-10-14 18:45:22 -04:00
Ray Speth
e5b5d591b0 Fix compilation errors in C++11 mode under Cygwin 2015-10-14 18:45:22 -04:00
Ray Speth
61c522d7a7 Set compiler options to enable C++11 2015-10-14 18:45:22 -04:00
Bryan W. Weber
2334410b5b Uninstall all files properly 2015-08-02 23:06:16 -04:00
Bryan W. Weber
19f4468728 Clean up after setuptools builds 2015-08-02 23:06:16 -04:00
Bryan W. Weber
b979cea3d2 Switch Cython and python interfaces to setuptools
Replace distutils with setuptools in the Cython and python_minimal
interfaces. Add console_scripts option to generate OS specific scripts to run
ck2cti, mixmaster, and ctml_writer

Remove script files that are obsoleted by console_scripts from
setuptools. Remove installation of the script modules from SConstruct.

Fix Python installers so that when a prefix directory is specified on the
command line, setuptools doesn't throw an error. The setuptools documentation at
[1] prefers setting PYTHONUSERBASE rather than PYTHONPATH. Use normpath to avoid
bugs in setuptools on Windows [2].  Specify an empty "--prefix" if the compiler
is clang to fix a bug with Homebrew Python on Mac OSX [3].

[1]: https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
[2]: http://stackoverflow.com/q/31629398
[3]: https://github.com/Homebrew/homebrew-python/issues/187
2015-08-02 23:06:16 -04:00
Ray Speth
97b32069cf Remove leftover "fenv" cruft 2015-07-15 12:46:48 -04:00
Ray Speth
6a9dd7f9d6 Remove unused 'csvdiff' application 2015-07-15 12:20:22 -04:00
Ray Speth
c446686c85 [SCons] Fix test summary when tests are run in parallel 2015-06-19 11:53:07 -04:00
Ray Speth
484eff996b Use short form of cantera_version when looking for data directory 2015-06-14 19:51:00 -04:00
Ray Speth
eefffa78b9 [SCons] Use defined 'cantera_version' when building MSI 2015-06-14 19:47:33 -04:00
Ray Speth
7f847c3877 [SCons] Miscellaneous cleanup of SConstruct/SConscript files 2015-06-13 23:29:58 -04:00
Ray Speth
76344ea628 [SCons] Attempt auto-detection of libraries for Boost.Thread 2015-06-12 19:19:57 -04:00
Ray Speth
a6b3c23750 [SCons] Remove unnecessary check for Python 3 Cython module
We use the Python 2 version of Cython to generate the .cpp file which is
separately compiled for both Python 2 and Python 3.
2015-06-10 22:56:49 -04:00
Ray Speth
9ca2c16bc3 [SCons] Fix running test suite with minimal Python module 2015-06-08 11:52:02 -04:00
Ray Speth
416490ad7a Bump version to 2.2.0 2015-06-04 18:41:20 -04:00
Ray Speth
6190cf21e5 [Ubuntu] Fix stage prefix used for Python 3 module 2015-06-04 18:41:20 -04:00
Ray Speth
341b137766 [Doc] Capitalize proper nouns and acronyms 2015-05-25 20:58:44 -04:00
Ray Speth
772427014a Bump version to 2.2.0b1 2015-05-11 17:23:37 -04:00
Ray Speth
8ce62988a1 [SCons] Remove previously-deprecated configuration options 2015-05-11 17:23:37 -04:00
Ray Speth
c1304e9ee6 Add support for Sundials 2.6
Resolves #256.
2015-04-29 18:03:17 -04:00
Ray Speth
28210182fb [SCons] Describe allowable values for msvc_version 2014-12-12 01:36:59 +00:00
Ray Speth
de3d212062 [SCons] Deprecate unnecessary build options 2014-11-15 00:47:30 +00:00
Ray Speth
fbe8a7cd3f Make common interface to shared_ptr available
Use configure-time checks to find an available implementation of shared_ptr from
the standard library (C++11), TR1 (C++03), or Boost.
2014-11-01 00:13:39 +00:00
Ray Speth
044235c065 [SCons] Remove unnecessary uses of pjoin 2014-10-08 16:54:49 +00:00
Ray Speth
c0dc7bb922 [SCons] Setting 'msvc_version' implies 'toolchain=msvc' 2014-09-29 19:13:18 +00:00
Ray Speth
dd9bb68eaf [SCons] Clean up additional data files 2014-09-23 02:20:47 +00:00
Bryan W. Weber
73fa1a17a0 Fix bdist complains about invalid version number 2014-08-28 22:06:05 +00:00