Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Update to reed-solomon-erasure 5.0.1, to get simd-accel on M1 macs (#…
Browse files Browse the repository at this point in the history
…21990)

(cherry picked from commit 5f054cd)

Co-authored-by: Michael Vines <[email protected]>
  • Loading branch information
mergify[bot] and mvines authored Dec 18, 2021
1 parent 02be3a6 commit 02cfa85
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
21 changes: 18 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02cfa85

Please sign in to comment.