-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portable build that support cpus older than Intel Haswell #363
Comments
Probably duplicates #327 |
shesek
added a commit
to Blockstream/electrs
that referenced
this issue
Mar 18, 2020
The v0.13 release does not work well with some old CPU models, see: romanz#193 rust-rocksdb/rust-rocksdb#327 rust-rocksdb/rust-rocksdb#363
shesek
added a commit
to Blockstream/electrs
that referenced
this issue
Mar 18, 2020
The v0.13 release does not work well with some old CPU models, see: romanz#193 rust-rocksdb/rust-rocksdb#327 rust-rocksdb/rust-rocksdb#363
SatoKentaNayoro
pushed a commit
to boolnetwork/mempool-electrs
that referenced
this issue
Nov 29, 2024
The v0.13 release does not work well with some old CPU models, see: romanz/electrs#193 rust-rocksdb/rust-rocksdb#327 rust-rocksdb/rust-rocksdb#363
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CPU older than Intel Haswell (e.g. sandy bridge and ivy bridge) doesn't have avx2. Currently rust-rocksdb doesn't provide an option to compile it without avx2. rocksdb itself has a PORTABLE option in cmake, so passing a PORTABLE flag to it will be make a portable build: https://github.com/facebook/rocksdb/blob/e3169e3ea8762d2f34880742106858a23c8dc8b7/CMakeLists.txt#L222
Reference: parity's fork has this: https://github.com/paritytech/rust-rocksdb/blob/6e099ebea51e5b5adb33405310504c8582649b34/rocksdb-sys/build.rs#L52
The text was updated successfully, but these errors were encountered: