renames
This commit is contained in:
parent
1fc6a7b355
commit
6017dbbfa6
@ -1,6 +1,6 @@
|
|||||||
if(CBLAS_FOUND)
|
if(CBLAS_FOUND)
|
||||||
include_directories(${CBLAS_INCLUDE_DIR})
|
include_directories(${CBLAS_INCLUDE_DIR})
|
||||||
add_executable(example example.cxx)
|
add_executable(example example.cpp)
|
||||||
target_link_libraries(example ${CBLAS_LIBRARIES})
|
target_link_libraries(example ${CBLAS_LIBRARIES})
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "CBLAS library not found")
|
message(FATAL_ERROR "CBLAS library not found")
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
name: example
|
name: example
|
||||||
min_cmake_version: 2.8
|
min_cmake_version: 2.8
|
||||||
|
|
||||||
[cc]
|
[cxx]
|
||||||
source: ../../../modules/cc.cmake
|
source: ../../../modules/cxx.cmake
|
||||||
|
|
||||||
[math_libs]
|
[math_libs]
|
||||||
source: ../../../modules/math_libs.cmake
|
source: ../../../modules/math_libs.cmake
|
@ -6,7 +6,7 @@ if(LAPACK_FOUND)
|
|||||||
#ftravis-ci needs find <clapack.h> of ATLAS
|
#ftravis-ci needs find <clapack.h> of ATLAS
|
||||||
include_directories(/usr/include/atlas)
|
include_directories(/usr/include/atlas)
|
||||||
endif()
|
endif()
|
||||||
add_executable(example example.c)
|
add_executable(example example.cpp)
|
||||||
target_link_libraries(example ${MATH_LIBS})
|
target_link_libraries(example ${MATH_LIBS})
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "LAPACK library not found for the test cc_lapacke!")
|
message(FATAL_ERROR "LAPACK library not found for the test cc_lapacke!")
|
@ -165,8 +165,8 @@ def test_fc_lapack():
|
|||||||
|
|
||||||
|
|
||||||
@skip_on_osx
|
@skip_on_osx
|
||||||
def test_cc_lapacke():
|
def test_cxx_lapacke():
|
||||||
configure_build_and_exe('cc_lapacke', 'python setup.py --cc=gcc --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
|
configure_build_and_exe('cxx_lapacke', 'python setup.py --cxx=g++ --cmake-options="-DMATH_LIB_SEARCH_ORDER=\'OPENBLAS;ATLAS;MKL;SYSTEM_NATIVE\'"')
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user