Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
65 changed files
with
11,652 additions
and
42 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 |
---|---|---|
|
@@ -26,6 +26,7 @@ addons: | |
- autoconf | ||
- libtool | ||
- lcov | ||
- libaio-dev | ||
env: | ||
global: | ||
- ENABLE_COVERAGE=Off | ||
|
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,46 @@ | ||
# - Try to find Libaio | ||
# Once done, this will define | ||
# | ||
# LIBAIO_FOUND - system has Libaio installed | ||
# LIBAIO_INCLUDE_DIR - the Libaio include directories | ||
# LIBAIO_LIBRARIES - link these to use Libaio | ||
# | ||
# The user may wish to set, in the CMake GUI or otherwise, this variable: | ||
# LIBAIO_DIR - path to start searching for the module | ||
|
||
find_path(LIBAIO_INCLUDE_DIR | ||
libaio.h | ||
HINTS | ||
PATH_SUFFIXES | ||
include | ||
) | ||
|
||
#IF(WIN32) | ||
# SET(CMAKE_FIND_LIBRARY_SUFFIXES .lib .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) | ||
#ELSE(WIN32) | ||
# SET(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) | ||
#ENDIF(WIN32) | ||
|
||
|
||
find_library(LIBAIO_LIBRARY | ||
aio | ||
HINTS | ||
PATH_SUFFIXES | ||
lib | ||
) | ||
|
||
mark_as_advanced(LIBAIO_INCLUDE_DIR LIBAIO_LIBRARY) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(Libaio | ||
DEFAULT_MSG | ||
LIBAIO_INCLUDE_DIR | ||
LIBAIO_LIBRARY) | ||
|
||
if(LIBAIO_FOUND) | ||
# add_definitions(-DHAS_LIBAIO) | ||
set(LIBAIO_LIBRARIES "${LIBAIO_LIBRARY}") # Add any dependencies here | ||
set(HAS_LIBAIO ON) | ||
set(HAS_LIBAIO ${HAS_LIBAIO} PARENT_SCOPE) | ||
endif() | ||
|
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
Oops, something went wrong.