You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Bee does not compile on the Apple Silicon platform, because of the issue in rocksdb documented here. There are some preprocessor directives in the C++ code that don't accurately recognise the platform.
That issue has been closed, and a patch merged to the master branch , but it has not officially been released yet, and so the Rust crate rust-rocksdb has not been updated yet to reflect the fix.
(Temporary) Workaround
I have found a workaround that uses a personal fork of the rust-rocksdb repository that contains a temporary fix until there is an official release. That fork is here.
The rust-rocksdb dependency can be overridden with this fork, and everything seems to build fine. To do this, add the following patch to the Cargo.toml file in the root of the Bee workspace:
This isn't the best solution long-term – the issue thread on rust-rocksdbhere should keep us up-to-date on when the crate gets updated to the fixed version.
The text was updated successfully, but these errors were encountered:
Adam-Gleave
changed the title
Bee does not compile on Apple Silicon/M1
Bee does not compile on Apple Silicon/M1 (dev branch)
Mar 9, 2021
Issue
Currently, Bee does not compile on the Apple Silicon platform, because of the issue in
rocksdb
documented here. There are some preprocessor directives in the C++ code that don't accurately recognise the platform.That issue has been closed, and a patch merged to the
master
branch , but it has not officially been released yet, and so the Rust craterust-rocksdb
has not been updated yet to reflect the fix.(Temporary) Workaround
I have found a workaround that uses a personal fork of the
rust-rocksdb
repository that contains a temporary fix until there is an official release. That fork is here.The
rust-rocksdb
dependency can be overridden with this fork, and everything seems to build fine. To do this, add the following patch to theCargo.toml
file in the root of the Bee workspace:This isn't the best solution long-term – the issue thread on
rust-rocksdb
here should keep us up-to-date on when the crate gets updated to the fixed version.The text was updated successfully, but these errors were encountered: