Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
37a1e694
Commit
37a1e694
authored
9 years ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
add eztrace module to intercept coreblas functions
parent
11b9f87a
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
coreblas/eztrace_module/CMakeLists.txt
+78
-0
78 additions, 0 deletions
coreblas/eztrace_module/CMakeLists.txt
coreblas/eztrace_module/coreblas_eztrace_module
+1356
-0
1356 additions, 0 deletions
coreblas/eztrace_module/coreblas_eztrace_module
with
1434 additions
and
0 deletions
coreblas/eztrace_module/CMakeLists.txt
0 → 100644
+
78
−
0
View file @
37a1e694
###
#
# @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
#
###
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
}
/coreblas_eztrace_module
DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/coreblas_eztrace_module
)
add_custom_target
(
eztrace-module-chameleon_cpu_func-dir ALL
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/output
)
add_custom_command
(
OUTPUT libeztrace-autostart-chameleon_cpu_func.so libeztrace-chameleon_cpu_func.so libeztrace-convert-chameleon_cpu_func.so
COMMAND make
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/output
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/output
)
add_custom_target
(
eztrace-module-chameleon_cpu_func-libs ALL
DEPENDS libeztrace-autostart-chameleon_cpu_func.so libeztrace-chameleon_cpu_func.so libeztrace-convert-chameleon_cpu_func.so
)
# installation
# ------------
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/output/libeztrace-autostart-chameleon_cpu_func.so
${
CMAKE_CURRENT_BINARY_DIR
}
/output/libeztrace-chameleon_cpu_func.so
${
CMAKE_CURRENT_BINARY_DIR
}
/output/libeztrace-convert-chameleon_cpu_func.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.
Click to expand it.
coreblas/eztrace_module/coreblas_eztrace_module
0 → 100644
+
1356
−
0
View file @
37a1e694
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment