-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from sy-c/master
added numa support
- Loading branch information
Showing
5 changed files
with
94 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Try to find the Numa package include dirs and libraries | ||
# Author: Sylvain Chapeland | ||
# | ||
# This script will set the following variables: | ||
# Numa_FOUND - System has Numa | ||
# Numa_INCLUDE_DIRS - The Numa include directories | ||
# Numa_LIBRARIES - The libraries needed to use Numa | ||
# | ||
# This script can use the following variables: | ||
# Numa_ROOT - Installation root to tell this module where to look. | ||
|
||
|
||
find_path( | ||
Numa_INCLUDE_DIRS NAMES numa.h | ||
PATHS ${Numa_ROOT} ${Numa_ROOT}/include) | ||
|
||
find_library( | ||
Numa_LIBRARIES NAMES numa | ||
PATHS ${Numa_ROOT} ${Numa_ROOT}/lib) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args( | ||
Numa DEFAULT_MSG Numa_INCLUDE_DIRS Numa_LIBRARIES) | ||
|
||
if(${Numa_FOUND}) | ||
message( | ||
STATUS | ||
"Found Numa (include: ${Numa_INCLUDE_DIRS} library: ${Numa_LIBRARIES}") | ||
endif() | ||
|
||
mark_as_advanced(Numa_INCLUDE_DIRS Numa_LIBRARIES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters