~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
14 lines · 765 B Raw History
# SQLite built as a server that reads it from many threads would build it,
# not as `rusqlite` bundles it: without the page cache all connections
# share behind one lock (`SQLITE_ENABLE_MEMORY_MANAGEMENT`), and without
# the count of its allocations kept behind another (README.md).
#
# RocksDB built, on macOS, so that its syncs are `F_FULLFSYNC`, as its own
# Makefile and CMake build it there: `librocksdb-sys` leaves
# `HAVE_FULLFSYNC` undefined, and a synced write is then an `fdatasync`,
# or an `fsync` with `use_fsync`, neither of which flushes the drive's
# cache.
[env]
LIBSQLITE3_FLAGS = "-USQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_DEFAULT_MEMSTATUS=0"
CXXFLAGS_aarch64_apple_darwin = "-DHAVE_FULLFSYNC"
CXXFLAGS_x86_64_apple_darwin = "-DHAVE_FULLFSYNC"