Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
9191230c
Commit
9191230c
authored
Sep 17, 2015
by
THIBAULT Samuel
Browse files
Avoid overriding the -L flags with -include starpu_simgrid_wrap.h
parent
3b2e913f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9191230c
...
...
@@ -587,7 +587,7 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
endforeach
()
string
(
REPLACE
";"
" "
CMAKE_REQUIRED_FLAGS
"
${
CMAKE_REQUIRED_FLAGS
}
"
)
set
(
CMAKE_REQUIRED_LIBRARIES
"
${
STARPU_SHM_LIBRARIES
}
"
)
set
(
CMAKE_REQUIRED_FLAGS
"-include starpu_simgrid_wrap.h"
)
list
(
APPEND
CMAKE_REQUIRED_FLAGS
"-include starpu_simgrid_wrap.h"
)
check_function_exists
(
starpu_data_idle_prefetch_on_node STARPU_IDLE_PREFETCH_FOUND
)
if
(
STARPU_IDLE_PREFETCH_FOUND
)
add_definitions
(
-DCHAMELEON_USE_STARPU_IDLE_PREFETCH
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment