Skip to content
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

crate-features: cc cargo bump: required for Apple Silicon support on solana_client #17070

Closed
wants to merge 3 commits into from

Conversation

nixxholas
Copy link
Contributor

https://github.com/ctz/sct.rs/pull/7/files
briansmith/ring#1063

Signed-off-by: nixxholas [email protected]

Problem

Adopt support for Apple Silicon on 1.6.x.

Summary of Changes

Simply bumping the cc dependency would resolve the issue.

@nixxholas nixxholas changed the title crate-features: cc cargo bump: required for Apple Silicon support. crate-features: cc cargo bump: required for Apple Silicon support on solana_client May 6, 2021
@mvines
Copy link
Member

mvines commented May 6, 2021

This should be simple, but it causes other dependencies to blow up :-/

@nixxholas
Copy link
Contributor Author

This should be simple, but it causes other dependencies to blow up :-/

Actually, there are many more dependencies required if we scope beyond solana-client. num_cpus should be referenced from the independent num_cpus instead of via cc.

@nixxholas
Copy link
Contributor Author

Checking against the entire Solana suite, reed-solomon-erasure has a breaking dependency for arm as of now. I will carry on with develop on x86 for now until an update comes out.

https://github.com/darrenldl/reed-solomon-erasure

https://stackoverflow.com/questions/66661891/using-march-native-flag-with-clang-on-apple-m1
https://developer.apple.com/forums/thread/672654

@nixxholas
Copy link
Contributor Author

Irrelevant due to: #16346

@nixxholas nixxholas closed this May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants