]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Skip io_uring feature test when building with fbcode (#12525) v9.1.0
authorAndrew Kryczka <ajkr@users.noreply.github.com>
Thu, 11 Apr 2024 19:46:15 +0000 (12:46 -0700)
committerAndrew Kryczka <andrew.kryczka2@gmail.com>
Tue, 16 Apr 2024 23:35:17 +0000 (16:35 -0700)
commitbcf88d48ce8aa8b536aee4dd305533b3b83cf435
treefe238bea667245b45cf21157a19452899075f4a0
parentf6d01f0f6e31a8be6a52592760345557e980a270
Skip io_uring feature test when building with fbcode (#12525)

Summary:
Previously when building with fbcode and having a system install of liburing, it would link liburing from fbcode statically as well as the system library dynamically. That led to the following error:

```
./db_stress: error while loading shared libraries: liburing.so.1: cannot open shared object file: No such file or directory
```

The fix is to skip the feature test for system liburing when `FBCODE_BUILD=true`.

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

Test Plan:
- `make clean && make ROCKSDB_NO_FBCODE=1 V=1 -j56 db_stress && ./db_stress`
- `make clean && make V=1 -j56 db_stress && ./db_stress`

Reviewed By: anand1976

Differential Revision: D55997335

Pulled By: ajkr

fbshipit-source-id: 17d8561100f41c6c9ae382a80c6cddc14f050bdc
build_tools/build_detect_platform