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

Any chance to compile it as universal binary for native Apple Silicon M1 ? #13

Open
jTd7bPLFb opened this issue Apr 23, 2021 · 4 comments

Comments

@jTd7bPLFb
Copy link

x86_64 only:
file znode-tool
znode-tool: Mach-O 64-bit executable x86_64

universal:
file Pages
Pages: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
Pages (for architecture x86_64): Mach-O 64-bit executable x86_64
Pages (for architecture arm64): Mach-O 64-bit executable arm64

@a-bezrukov
Copy link

I don't think there is any.
Usually it is easier to clone/copy the source code there, create a venv and run it from sources.
P.S. I'll address your other issues when the new Trezor firmware releases.

@jTd7bPLFb jTd7bPLFb changed the title Any change to compile it as universal binary for native Apple Silicon M1 ? Any chance to compile it as universal binary for native Apple Silicon M1 ? Apr 23, 2021
@jTd7bPLFb
Copy link
Author

Yah, sorry for the missunderstanding. I ment could you release / compile the Mac binary as Universal, with native arm64 support?

@a-bezrukov
Copy link

That is beyond our scope. It is compiled here: https://github.com/firoorg/znode-tool-evo/blob/master/.github/workflows/cd.yml Please feel free to PR if there is a way.

@jTd7bPLFb
Copy link
Author

I am not yet as skilled with github, but it seems it shoold be just a matter of extending it with apple silicon runner
like here

https://github.com/electron/electron/actions/runs/151715138/workflow

runs-on: apple-silicon

it would produce arm64 apple silicon binarie.

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

2 participants