This commit is contained in:
Radovan Bast 2015-09-17 10:24:07 +02:00
parent 1fc6a7b355
commit 6017dbbfa6
6 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
if(CBLAS_FOUND)
include_directories(${CBLAS_INCLUDE_DIR})
add_executable(example example.cxx)
add_executable(example example.cpp)
target_link_libraries(example ${CBLAS_LIBRARIES})
else()
message(FATAL_ERROR "CBLAS library not found")

View File

@ -2,8 +2,8 @@
name: example
min_cmake_version: 2.8
[cc]
source: ../../../modules/cc.cmake
[cxx]
source: ../../../modules/cxx.cmake
[math_libs]
source: ../../../modules/math_libs.cmake

View File

@ -6,7 +6,7 @@ if(LAPACK_FOUND)
#ftravis-ci needs find <clapack.h> of ATLAS
include_directories(/usr/include/atlas)
endif()
add_executable(example example.c)
add_executable(example example.cpp)
target_link_libraries(example ${MATH_LIBS})
else()
message(FATAL_ERROR "LAPACK library not found for the test cc_lapacke!")

View File

@ -165,8 +165,8 @@ def test_fc_lapack():
@skip_on_osx
def test_cc_lapacke():
configure_build_and_exe('cc_lapacke', 'python setup.py --cc=gcc --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
def test_cxx_lapacke():
configure_build_and_exe('cxx_lapacke', 'python setup.py --cxx=g++ --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
# ------------------------------------------------------------------------------