Commit da0c7350 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Cleanup tests

parent 6bcd6425
...@@ -125,16 +125,19 @@ set(RUNTIME_SRCS ...@@ -125,16 +125,19 @@ set(RUNTIME_SRCS
# Add library # Add library
# ----------- # -----------
add_library(chameleon_starpu ${RUNTIME_SRCS}) add_library(chameleon_starpu ${RUNTIME_SRCS})
set_property(TARGET chameleon_starpu PROPERTY LINKER_LANGUAGE Fortran) #set_property(TARGET chameleon_starpu PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET chameleon_starpu PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib") #set_property(TARGET chameleon_starpu PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
target_link_libraries(chameleon_starpu ${STARPU_LIBRARIES_DEP}) target_link_libraries(chameleon_starpu
${STARPU_LIBRARIES_DEP})
if (NOT CHAMELEON_SIMULATION) if (NOT CHAMELEON_SIMULATION)
target_link_libraries(chameleon_starpu coreblas) target_link_libraries(chameleon_starpu
endif() coreblas)
if(CHAMELEON_USE_CUDA AND NOT CHAMELEON_SIMULATION) if(CHAMELEON_USE_CUDA)
target_link_libraries(chameleon_starpu cudablas) target_link_libraries(chameleon_starpu
endif(CHAMELEON_USE_CUDA AND NOT CHAMELEON_SIMULATION) cudablas)
endif(CHAMELEON_USE_CUDA)
endif(NOT CHAMELEON_SIMULATION)
add_dependencies(chameleon_starpu add_dependencies(chameleon_starpu
chameleon_include chameleon_include
...@@ -144,16 +147,16 @@ add_dependencies(chameleon_starpu ...@@ -144,16 +147,16 @@ add_dependencies(chameleon_starpu
) )
if (NOT CHAMELEON_SIMULATION) if (NOT CHAMELEON_SIMULATION)
add_dependencies(chameleon_starpu coreblas_include) add_dependencies(chameleon_starpu coreblas_include)
endif() if (CHAMELEON_USE_CUDA)
add_dependencies(chameleon_starpu cudablas_include)
if (CHAMELEON_USE_CUDA AND NOT CHAMELEON_SIMULATION) endif()
add_dependencies(chameleon_starpu cudablas_include)
endif() endif()
# installation # installation
# ------------ # ------------
install(TARGETS chameleon_starpu install(TARGETS chameleon_starpu
DESTINATION lib) ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib)
### ###
### END CMakeLists.txt ### END CMakeLists.txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment