From eb367d45c0d96969f66aff0a16bee201f52beb1a Mon Sep 17 00:00:00 2001 From: sdong Date: Mon, 24 Feb 2020 15:45:47 -0800 Subject: [PATCH] Buck config: Re-enable liburing under Linux (#6451) Summary: The known bug of liburing has been fixed. Now we can re-enable liburing under Linux Pull Request resolved: https://github.com/facebook/rocksdb/pull/6451 Test Plan: Watch internal CI Differential Revision: D20079009 fbshipit-source-id: 04a6f53a900ff721f9a62a188cf906771b5d68d2 --- TARGETS | 2 ++ buckifier/targets_cfg.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/TARGETS b/TARGETS index 8ba5f9cd5..23952528d 100644 --- a/TARGETS +++ b/TARGETS @@ -46,7 +46,9 @@ ROCKSDB_OS_PREPROCESSOR_FLAGS = [ "-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX", "-DROCKSDB_RANGESYNC_PRESENT", "-DROCKSDB_SCHED_GETCPU_PRESENT", + "-DROCKSDB_IOURING_PRESENT", "-DHAVE_SSE42", + "-DLIBURING", "-DNUMA", ], ), diff --git a/buckifier/targets_cfg.py b/buckifier/targets_cfg.py index 193fef4bc..c92b10204 100644 --- a/buckifier/targets_cfg.py +++ b/buckifier/targets_cfg.py @@ -52,7 +52,9 @@ ROCKSDB_OS_PREPROCESSOR_FLAGS = [ "-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX", "-DROCKSDB_RANGESYNC_PRESENT", "-DROCKSDB_SCHED_GETCPU_PRESENT", + "-DROCKSDB_IOURING_PRESENT", "-DHAVE_SSE42", + "-DLIBURING", "-DNUMA", ], ),