another try to build on osx
This commit is contained in:
parent
ad04f554a5
commit
e584eb7cbd
4 changed files with 5 additions and 5 deletions
|
@ -2,6 +2,7 @@ language: cpp
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
|
@ -29,4 +30,4 @@ script:
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
on_failure: always
|
on_failure: never
|
||||||
|
|
|
@ -60,9 +60,6 @@ else()
|
||||||
set(VERSION_GIT_FULL "${VERSION_GIT}-${VERSION_GIT_IS_DIRTY}")
|
set(VERSION_GIT_FULL "${VERSION_GIT}-${VERSION_GIT_IS_DIRTY}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CheckSymbolExists)
|
|
||||||
check_symbol_exists(posix_fadvise fcntl.h HAVE_POSIX_FADVISE)
|
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
|
|
|
@ -283,7 +283,9 @@ int OsmIdSet::openTmpFile() const {
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __unix__
|
||||||
posix_fadvise(file, 0, 0, POSIX_FADV_SEQUENTIAL);
|
posix_fadvise(file, 0, 0, POSIX_FADV_SEQUENTIAL);
|
||||||
|
#endif
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
src/xml
2
src/xml
|
@ -1 +1 @@
|
||||||
Subproject commit bdbfb7a18c4b6adb1b0be2ab7fc88a3d372efe74
|
Subproject commit 00e19bfbdc300eb064fbceef2efaed2ccedfda88
|
Loading…
Reference in a new issue