Commit ae7ae5e5 authored by PRUVOST Florent's avatar PRUVOST Florent

remove eztrace modules from root - eztrace will intercept our interface...

remove eztrace modules from root - eztrace will intercept our interface coreblas (cudablas, later) functions
parent fe8778c3
......@@ -786,11 +786,6 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
###############################################################################
# To build eztrace modules #
############################
add_subdirectory(eztrace_modules)
#------------------------------------------------------------------------------
###############################################################################
# simucore libraries #
......
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2015 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
#
# @file CMakeLists.txt
#
# @project MORSE
# MORSE is a software package provided by:
# Inria Bordeaux - Sud-Ouest,
# Univ. of Tennessee,
# King Abdullah Univesity of Science and Technology
# Univ. of California Berkeley,
# Univ. of Colorado Denver.
#
# @version 0.9.0
# @author Florent Pruvost
# @date 14-09-2015
#
###
add_subdirectory(cblas)
add_subdirectory(lapacke)
###
### END CMakeLists.txt
###
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2015 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
#
# @file CMakeLists.txt
#
# @project MORSE
# MORSE is a software package provided by:
# Inria Bordeaux - Sud-Ouest,
# Univ. of Tennessee,
# King Abdullah Univesity of Science and Technology
# Univ. of California Berkeley,
# Univ. of Colorado Denver.
#
# @version 0.9.0
# @author Florent Pruvost
# @date 14-09-2015
#
###
cmake_minimum_required(VERSION 2.8)
if (NOT EZTRACE_FOUND)
find_package(EZTRACE)
endif()
if (EZTRACE_FOUND AND EZTRACE_DIR_FOUND)
set(EZTRACE_eztrace_create_plugin_DIR "EZTRACE_eztrace_create_plugin_DIR-NOTFOUND")
find_path(EZTRACE_eztrace_create_plugin_DIR
NAMES eztrace_create_plugin
HINTS ${EZTRACE_DIR_FOUND}/bin)
if (EZTRACE_eztrace_create_plugin_DIR)
set(EZTRACE_CREATE_PLUGIN "${EZTRACE_eztrace_create_plugin_DIR}/eztrace_create_plugin")
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output
COMMAND ${EZTRACE_CREATE_PLUGIN}
ARGS ${CMAKE_CURRENT_SOURCE_DIR}/cblas_eztrace_module
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cblas_eztrace_module
)
add_custom_target(
eztrace-module-cblas-dir ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output
)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output/cblas.h
COMMAND cp
ARGS ${CMAKE_SOURCE_DIR}/coreblas/include/cblas.h ${CMAKE_CURRENT_BINARY_DIR}/output
DEPENDS ${CMAKE_SOURCE_DIR}/coreblas/include/cblas.h ${CMAKE_CURRENT_BINARY_DIR}/output
)
add_custom_target(
eztrace-module-cblas-headers ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output ${CMAKE_CURRENT_BINARY_DIR}/output/cblas.h
)
add_custom_command(
OUTPUT libeztrace-autostart-cblas.so libeztrace-cblas.so libeztrace-convert-cblas.so
COMMAND make
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/output
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output ${CMAKE_CURRENT_BINARY_DIR}/output/cblas.h
)
add_custom_target(
eztrace-module-cblas-libs ALL
DEPENDS libeztrace-autostart-cblas.so libeztrace-cblas.so libeztrace-convert-cblas.so
)
# installation
# ------------
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/output/libeztrace-autostart-cblas.so
${CMAKE_CURRENT_BINARY_DIR}/output/libeztrace-cblas.so
${CMAKE_CURRENT_BINARY_DIR}/output/libeztrace-convert-cblas.so
DESTINATION ${EZTRACE_LIBRARY_DIRS}
)
endif (EZTRACE_eztrace_create_plugin_DIR)
endif (EZTRACE_FOUND AND EZTRACE_DIR_FOUND)
###
### END CMakeLists.txt
###
This diff is collapsed.
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2015 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
#
# @file CMakeLists.txt
#
# @project MORSE
# MORSE is a software package provided by:
# Inria Bordeaux - Sud-Ouest,
# Univ. of Tennessee,
# King Abdullah Univesity of Science and Technology
# Univ. of California Berkeley,
# Univ. of Colorado Denver.
#
# @version 0.9.0
# @author Florent Pruvost
# @date 14-09-2015
#
###
cmake_minimum_required(VERSION 2.8)
if (NOT EZTRACE_FOUND)
find_package(EZTRACE)
endif()
if (EZTRACE_FOUND AND EZTRACE_DIR_FOUND)
set(EZTRACE_eztrace_create_plugin_DIR "EZTRACE_eztrace_create_plugin_DIR-NOTFOUND")
find_path(EZTRACE_eztrace_create_plugin_DIR
NAMES eztrace_create_plugin
HINTS ${EZTRACE_DIR_FOUND}/bin)
if (EZTRACE_eztrace_create_plugin_DIR)
set(EZTRACE_CREATE_PLUGIN "${EZTRACE_eztrace_create_plugin_DIR}/eztrace_create_plugin")
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output
COMMAND ${EZTRACE_CREATE_PLUGIN}
ARGS ${CMAKE_CURRENT_SOURCE_DIR}/lapacke_eztrace_module
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lapacke_eztrace_module
)
add_custom_target(
eztrace-module-lapacke-dir ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output
)
set(LAPACKE_H_DIR ${CMAKE_SOURCE_DIR}/coreblas/include)
set(LAPACKE_H_FILE_TO_COPY
"${LAPACKE_H_DIR}/lapacke_config.h"
"${LAPACKE_H_DIR}/lapacke_mangling.h"
"${LAPACKE_H_DIR}/lapacke.h")
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output/lapacke.h
COMMAND cp
ARGS ${LAPACKE_H_FILE_TO_COPY} ${CMAKE_CURRENT_BINARY_DIR}/output
DEPENDS ${LAPACKE_H_FILE_TO_COPY} ${CMAKE_CURRENT_BINARY_DIR}/output
)
add_custom_target(
eztrace-module-lapacke-headers ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output ${CMAKE_CURRENT_BINARY_DIR}/output/lapacke.h
)
add_custom_command(
OUTPUT libeztrace-autostart-lapacke.so libeztrace-lapacke.so libeztrace-convert-lapacke.so
COMMAND make
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/output
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output ${CMAKE_CURRENT_BINARY_DIR}/output/lapacke.h
)
add_custom_target(
eztrace-module-lapacke-libs ALL
DEPENDS libeztrace-autostart-lapacke.so libeztrace-lapacke.so libeztrace-convert-lapacke.so
)
# installation
# ------------
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/output/libeztrace-autostart-lapacke.so
${CMAKE_CURRENT_BINARY_DIR}/output/libeztrace-lapacke.so
${CMAKE_CURRENT_BINARY_DIR}/output/libeztrace-convert-lapacke.so
DESTINATION ${EZTRACE_LIBRARY_DIRS}
)
endif (EZTRACE_eztrace_create_plugin_DIR)
endif (EZTRACE_FOUND AND EZTRACE_DIR_FOUND)
###
### END CMakeLists.txt
###
This diff is collapsed.
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