new test cc_cblas (closes #95)

- extended math_libs.cmake for C headers detection
- static_linking test included
- no int64 in the cc_cblas test
- released allocated memory
- adaptated for MS Windows (OpenBLAS)
This commit is contained in:
Miro ILIAS
2015-08-30 17:23:07 +02:00
parent 48ad07e5d7
commit 7665b883ac
6 changed files with 71 additions and 2 deletions

View File

@ -187,6 +187,14 @@ def test_fc_blas():
def test_fc_blas_static():
configure_build_and_exe('fc_blas', 'python setup.py --fc=gfortran --static --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
def test_cc_cblas():
configure_build_and_exe('cc_cblas', 'python setup.py --cc=gcc --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
def test_cc_cblas_static():
configure_build_and_exe('cc_cblas', 'python setup.py --cc=gcc --static --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
# ------------------------------------------------------------------------------