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

Error compiling on mac m1 #14

Open
andynet62 opened this issue Dec 30, 2021 · 6 comments
Open

Error compiling on mac m1 #14

andynet62 opened this issue Dec 30, 2021 · 6 comments

Comments

@andynet62
Copy link

Compiling hyper v0.14.16
Compiling hyper-timeout v0.4.1
Compiling tonic v0.6.2
error[E0433]: failed to resolve: use of undeclared crate or module keccak
--> src/pow/keccak.rs:3:5
|
3 | keccak::f1600(state);
| ^^^^^^ use of undeclared crate or module keccak

@elichai
Copy link
Owner

elichai commented Jan 2, 2022

Thanks for reporting!
I'll fix it, for now you can pass --features=no-asm to cargo build/run

@predators46
Copy link

@elichai

i got this problem also in v0.2.1

@elichai
Copy link
Owner

elichai commented Jun 5, 2023

@predators46 Have you tried with --features=no-asm?
If anyone wants to open a PR that handles macos x86 and m1/2 separately that would be great :)

@predators46
Copy link

@predators46 Have you tried with --features=no-asm? If anyone wants to open a PR that handles macos x86 and m1/2 separately that would be great :)

added no-asm and it worked

@elichai
Copy link
Owner

elichai commented Aug 5, 2023

Should work now even without no-asm and with better perf due to using the SHA3 instruction extension, would love if you could report the difference in hashrate :)

@predators46
Copy link

@elichai

Error: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))

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

No branches or pull requests

3 participants