Python interpreter and libraries/headers detection.

- The user can now pass its own interpreter.
- Development libraries and headers can be requested.
- Travis-CI switched to new container-based workers.
This commit is contained in:
Roberto Di Remigio
2015-08-28 19:13:03 +02:00
parent 831e24a35b
commit 9e2f51ef25
17 changed files with 267 additions and 23 deletions

View File

@ -193,3 +193,21 @@ def test_fc_lapack():
@skip_on_windows
def test_fc_lapack_static():
configure_build_and_exe('fc_lapack', 'python setup.py --fc=gfortran --static --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'ATLAS;MKL\'"')
def test_python_interpreter():
configure_build_and_exe('python_interpreter', 'python setup.py --cxx=g++')
def test_python_interpreter_custom():
python_executable = sys.executable
configure_build_and_exe('python_interpreter_custom', 'python setup.py --cxx=g++ --python={}'.format(python_executable))
def test_python_libs():
configure_build_and_exe('python_libs', 'python setup.py --cxx=g++')
def test_python_libs_custom():
python_executable = sys.executable
configure_build_and_exe('python_libs_custom', 'python setup.py --cxx=g++ --python={}'.format(python_executable))