Update to reed-solomon-erasure 5.0.1, to get simd-accel on M1 macs (#21990)
(cherry picked from commit 5f054cd51b
)
Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@ -51,14 +51,7 @@ thiserror = "1.0"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-stream = "0.1"
|
||||
trees = "0.4.2"
|
||||
|
||||
# Disable reed-solomon-erasure/simd-accel feature on aarch64 only since it
|
||||
# requires clang to support -march=native.
|
||||
[target.'cfg(any(target_arch = "aarch64", target_arch = "aarch64_apple_darwin"))'.dependencies]
|
||||
reed-solomon-erasure = { version = "4.0.2" }
|
||||
|
||||
[target.'cfg(not(any(target_arch = "aarch64", target_arch = "aarch64_apple_darwin")))'.dependencies]
|
||||
reed-solomon-erasure = { version = "4.0.2", features = ["simd-accel"] }
|
||||
reed-solomon-erasure = { version = "5.0.1", features = ["simd-accel"] }
|
||||
|
||||
[dependencies.rocksdb]
|
||||
# Avoid the vendored bzip2 within rocksdb-sys that can cause linker conflicts
|
||||
|
Reference in New Issue
Block a user