Ingmar Schoegl
5befe80c72
[SCons] Remove DARWIN variable
...
Its only use is to set an alternative location for input data on macOS
2023-04-09 10:11:51 -04:00
Ingmar Schoegl
483f2f49bd
[SCons] Remove SOLARIS variable
...
The SOLARIS variable is no longer used in the C++ code.
2023-04-09 10:11:51 -04:00
Ingmar Schoegl
5e040312f7
[SCons] Safeguard against untested Python versions
2023-04-01 14:19:52 -05:00
Ingmar Schoegl
df5fa549ff
[SCons] Redirect test-clib-demo
2023-03-10 13:39:22 -06:00
Ray Speth
98eb6dadd7
[SCons] Avoid compiler warnings from non-Cantera headers
2023-02-24 19:32:34 -05:00
Ingmar Schoegl
3d434130bd
Bump version to 3.0.0a4
2023-02-16 13:31:06 -05:00
Ingmar Schoegl
1c9c63c353
[SCons] Check for pytest when running scons test
...
Addendum to #1434 ; update ensures that checks are run for all tests of
the test suite that involve pytest.
2023-02-16 13:31:06 -05:00
Sergey Torokhov
0ce1a1b516
[Scons] Remove "install" target from "check_for_pytest"
...
The `check_for_pytest` depends on `check_for_ruamel_yaml`
the pytest package is required on `install` phase and it results in
the Cantera installation fail if pytest absent
even if tests were not required.
This patch swap `check_for_pytest` and `check_for_ruamel_yaml`
dependency order.
The explicit `test-python-convert`, `test-python` targets are dropped
from `check_for_ruamel_yaml` because the `check_for_pytest`
includes `target.startswith("test-python")`.
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru >
2023-02-10 18:50:19 -06:00
Ray Speth
1c5595e16c
[SCons] Consolidate addition of build/lib to search path
2023-02-02 18:33:16 -06:00
Ray Speth
922759965c
[SCons] Link to shared standard libraries with MinGW
...
This requires copying the relevant MinGW runtime libraries into the
Python module.
2023-02-02 18:33:16 -06:00
Ray Speth
713b7b118f
[SCons] Enforce minimum MACOS_DEPLOYMENT_TARGET
...
10.15 or newer is required for C++17 support
2023-02-02 18:33:16 -06:00
Ray Speth
8114f2f828
[SCons] Link Python module to Cantera shared library
2023-02-02 18:33:16 -06:00
Ray Speth
5ae4847239
Introduce cantera_python shim and load only when needed
...
This eliminates the need to directly link the Cantera shared library
or Cantera applications to libpython.
2023-02-02 18:33:16 -06:00
Ray Speth
29c7094b80
[SCons] Compile using C++17 standard
...
This is a prerequisite to using Boost.DLL with the std::filesystem library.
2023-02-02 18:33:16 -06:00
Ray Speth
6ddfc2239b
[Python] Replace pkg_resources
...
The import time for pkg_resources is significant. As of Python 3.8, the
two commands we use can be replace by 'importlib.metadata.version' and the
lighter-weight 'packaging.version.parse'.
2023-01-22 19:26:00 -05:00
Sergey Torokhov
760b0fb4b0
[SCons] add AR config option (e.g. to set llvm-ar instead of ar)
...
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru >
2023-01-20 20:07:39 -06:00
Ingmar Schoegl
f6cdcbc3dc
Address review comments
2023-01-12 14:05:37 -05:00
Ingmar Schoegl
c6aa334830
Refine HDF5 support infrastructure
2023-01-12 14:05:37 -05:00
Ingmar Schoegl
169aa7e1a9
[SCons] Install HighFive submodule on demand
2023-01-12 14:05:37 -05:00
Ingmar Schoegl
0d79adbfa6
[SCons] Add CPPDEFINE for HighFive on Windows
2023-01-12 14:05:37 -05:00
Ingmar Schoegl
a5327f37ca
Add basic C++ HighFive HDF infrastructure
2023-01-12 14:05:37 -05:00
Ray Speth
b0932bb446
[CI] Test with Sundials 6.4.1
2022-11-21 09:00:30 -06:00
Ray Speth
2fafee813d
Drop support for Python 3.7
2022-11-21 09:00:30 -06:00
Ingmar Schoegl
18784fd9a8
[SCons] Fix logic and improve logging
2022-11-04 09:32:05 -05:00
Bryan Weber
ce75be4e15
[SCons] Integrate MSVC options introduced in SCons 4.4.0
...
- Include changes suggested by jcbrill
2022-11-04 09:32:05 -05:00
Ray Speth
e20a57acfb
Fix Python package build on Windows with setuptools >= 65.4.0
...
For some reason, setuptools thinks it needs to be able to find the user's
home directory to build a wheel, but on Windows this relies on an environment
variable (USERPROFILE) that we weren't by default passing in through SCons.
2022-09-29 16:02:27 -05:00
Ingmar Schoegl
a6bdf4d7f4
[SCons] Rename locate_lapack to system_blas_lapack
2022-09-24 21:36:53 -04:00
Ingmar Schoegl
9ccd75ce8b
[SCons] Tweak locate_lapack=auto settings
2022-09-24 21:36:53 -04:00
Ingmar Schoegl
f900321d78
[SCons] Add standard 'lapack,blas' to 'locate_lapack' option
2022-09-24 21:36:53 -04:00
Ingmar Schoegl
b21405a3b6
[SCons] Add auto-detection of MKL and OpenBLAS
...
* Add logic for Sundials BLAS/LAPACK support
* Disable MKL / OpenBLAS detection by default
2022-09-24 21:36:53 -04:00
Ingmar Schoegl
b915c85906
[SCons] Disable Fortran for Apple clang by default
...
On Apple Silicon, the combination of gfortran with Apple clang compilers
causes hard crashes for F90 examples, see #1379 . Changing the default
avoids this issue; users can override by passing 'f90_interface=y' to
SCons. Short-term, the change also bypasses a recently introduced
linking issue on macOS, see #1387 .
2022-09-23 09:49:49 -04:00
Ray Speth
242a4fef1e
Improve handling of dynamic library paths on Mac/Windows
2022-09-11 10:59:30 -04:00
Ray Speth
4f45b14c98
Scan user-provided Python module for ExtensibleRate classes
2022-09-11 10:59:30 -04:00
Ingmar Schoegl
a64d2409ff
Bump version to 3.0.0a3
2022-09-02 08:49:05 -04:00
Ingmar Schoegl
af7625e052
[SCons] Remove unused code
...
The 'data' folder no longer has subfolders.
2022-08-30 13:45:34 -04:00
Ingmar Schoegl
5753715733
[SCons] Ensure paths use posix-style separators
2022-08-30 13:45:34 -04:00
Ingmar Schoegl
943ecc6c24
[SCons] Make C++14 minimum requirement
...
The minimum language standard to use Boost.Math will be C++14
starting in July 2023
2022-08-24 21:26:29 -05:00
Ingmar Schoegl
1472703cbd
[SCons] Remove Cygwin support
...
Cygwin support is untested and Cygwin has uncertain usage for Cantera.
Modern replacements such as the Windows Subsystem for Linux v2 (WSL2)
should be used instead.
2022-08-24 21:26:29 -05:00
Ingmar Schoegl
b61c2fbbde
[SCons] Add build option 'package_build'
2022-08-24 21:26:14 -05:00
Ray Speth
235d8435c9
[Scons] Ignore missing pytest with minimal python module
2022-08-12 00:44:07 -05:00
Ray Speth
72734b1edd
[SCons] Move pytest check to common location
2022-08-11 07:19:17 -04:00
Ingmar Schoegl
25c517485d
[SCons] Fix converter scripts for python_package = 'none'
2022-08-10 10:29:01 -04:00
Ingmar Schoegl
b7f582b162
[samples] Move Python examples to standard location and update SCons
2022-08-06 18:34:07 -05:00
Ingmar Schoegl
efb66325f8
[SCons] Show version in post-install messsage
2022-08-03 21:48:57 -04:00
Ingmar Schoegl
06e012fd25
[SCons] Shorten post-build/install messages
2022-08-03 21:48:57 -04:00
Ingmar Schoegl
fe89cee339
[Cython] Suppress deprecated NumPy API warning
2022-08-02 08:34:19 -04:00
Ray Speth
3a294dd3d4
Test with Sundials 6.2
2022-07-24 19:50:19 -04:00
Ray Speth
7510abe4b0
Drop support for Sundials 2.x
2022-07-24 19:50:19 -04:00
Ingmar Schoegl
0e627ad28d
Bump version to 3.0.0a2
2022-07-24 18:50:03 -04:00
2eb3918244
yaml2ck.py
...
Removed redundant yaml reading
Uses Cantera's new notes
Refactored to classes
Co-Authored-By: Kyle Niemeyer <kyleniemeyer@fastmail.com >
Co-Authored-By: Phillip Mestas <phillip.mestas51@gmail.com >
Co-Authored-By: Parker Clayton <17040941+parkerclayton@users.noreply.github.com >
Update
Chebyshev Fix
Bryan Changes - Part Thermo
Update yaml2ck.py
2022-07-11 06:10:36 +02:00