Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Chameleon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
a781a0a8
Commit
a781a0a8
authored
Sep 17, 2015
by
THIBAULT Samuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really fix starpu function detection
parent
54816087
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
a781a0a8
...
@@ -585,9 +585,9 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
...
@@ -585,9 +585,9 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
foreach
(
libdir
${
STARPU_LIBRARY_DIRS
}
)
foreach
(
libdir
${
STARPU_LIBRARY_DIRS
}
)
list
(
APPEND CMAKE_REQUIRED_FLAGS
"-L
${
libdir
}
"
)
list
(
APPEND CMAKE_REQUIRED_FLAGS
"-L
${
libdir
}
"
)
endforeach
()
endforeach
()
list
(
APPEND CMAKE_REQUIRED_FLAGS
"-include"
"starpu_simgrid_wrap.h"
)
string
(
REPLACE
";"
" "
CMAKE_REQUIRED_FLAGS
"
${
CMAKE_REQUIRED_FLAGS
}
"
)
string
(
REPLACE
";"
" "
CMAKE_REQUIRED_FLAGS
"
${
CMAKE_REQUIRED_FLAGS
}
"
)
set
(
CMAKE_REQUIRED_LIBRARIES
"
${
STARPU_SHM_LIBRARIES
}
"
)
set
(
CMAKE_REQUIRED_LIBRARIES
"
${
STARPU_SHM_LIBRARIES
}
"
)
list
(
APPEND CMAKE_REQUIRED_FLAGS
"-include starpu_simgrid_wrap.h"
)
check_function_exists
(
starpu_data_idle_prefetch_on_node STARPU_IDLE_PREFETCH_FOUND
)
check_function_exists
(
starpu_data_idle_prefetch_on_node STARPU_IDLE_PREFETCH_FOUND
)
if
(
STARPU_IDLE_PREFETCH_FOUND
)
if
(
STARPU_IDLE_PREFETCH_FOUND
)
add_definitions
(
-DCHAMELEON_USE_STARPU_IDLE_PREFETCH
)
add_definitions
(
-DCHAMELEON_USE_STARPU_IDLE_PREFETCH
)
...
...
Write
Preview
Markdown
is supported
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