Skip to content

Commit

Permalink
add posix_fallocate check, olcf#24
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang2 committed Aug 29, 2018
1 parent 0998576 commit 365871d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ include_directories(.)
include_directories(${MPI_INCLUDE_PATH})
link_directories(${CMAKE_SOURCE_DIR}/lib)

# Check functions
include(CheckSymbolExists)
check_symbol_exists(posix_fallocate fcntl.h HAVE_POSIX_FALLOCATE)

add_library(posix MODULE lib/posix.c)

add_library(mpiio MODULE lib/mpiio.c)
Expand Down

0 comments on commit 365871d

Please sign in to comment.