Skip to content

Commit

Permalink
- provided own test (test.py)
Browse files Browse the repository at this point in the history
- taken care of ENABLE_OPENBLAS variable
  • Loading branch information
Miro Ilias authored and Miro Ilias committed May 30, 2016
1 parent da89ffd commit aa975c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/math/openblas.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# docopt: "--openblas Find and link to OpenBLAS [default: False]."
# define: "'-DENABLE_OPENBLAS={0}'.format(arguments['--openblas'])"

option(ENABLE_OPENBLAS "Find and link to OpenBLAS" OFF)

SET(Open_BLAS_INCLUDE_SEARCH_PATHS
/usr/include
/usr/include/openblas
Expand Down
4 changes: 4 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def test_fc_blas():
configure_build_and_exe('fc_blas', 'python setup --fc=gfortran --blas')


def test_fc_openblas():
configure_build_and_exe('fc_openblas', 'python setup --fc=gfortran --openblas')


def test_fc_lapack():
configure_build_and_exe('fc_lapack', 'python setup --fc=gfortran --lapack')

Expand Down

0 comments on commit aa975c3

Please sign in to comment.