rocksdb/cmake/modules
Kefu Chai cc1d4e3d33 gcc-11 and cmake related cleanup (#9286)
Summary:
in hope to get rockdb compiled with GCC-11 without warning

* util/bloom_test: init a variable before using it
  to silence the GCC warning like
  ```
  util/bloom_test.cc:1253:31: error: ‘<anonymous>’ may be used uninitialized [-Werror=maybe-uninitialized]
   1253 |   Slice key_slice{key_bytes, 8};
        |                               ^
  ...
  include/rocksdb/slice.h:41:3: note: by argument 2 of type ‘const char*’ to ‘rocksdb::Slice::Slice(const char*, size_t)’ declared here
     41 |   Slice(const char* d, size_t n) : data_(d), size_(n) {}
        |   ^~~~~
  util/bloom_test.cc:1249:3: note: ‘<anonymous>’ declared here
   1249 |   };
        |   ^
  cc1plus: all warnings being treated as errors
  ```
* cmake: add find_package(uring ...)
  find liburing in a more consistent way. also it is the encouraged way for finding a library.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9286

Reviewed By: mrambacher

Differential Revision: D33165241

Pulled By: jay-zhuang

fbshipit-source-id: 9f3487e11b4e40fd8f1c97c8facb24a190e5ce31
2021-12-17 17:04:35 -08:00
..
CxxFlags.cmake
Findgflags.cmake Use GFlags/Snappy config in CMake, with fallback for legacy approach. (#6771) 2020-05-11 10:28:49 -07:00
FindJeMalloc.cmake
Findlz4.cmake
FindNUMA.cmake
FindSnappy.cmake Use GFlags/Snappy config in CMake, with fallback for legacy approach. (#6771) 2020-05-11 10:28:49 -07:00
FindTBB.cmake
Finduring.cmake gcc-11 and cmake related cleanup (#9286) 2021-12-17 17:04:35 -08:00
Findzstd.cmake
ReadVersion.cmake