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

Relax cc dep, bump bindgen (Apple M1 support) #20

Merged
merged 2 commits into from
Apr 19, 2021

Conversation

fanatid
Copy link
Contributor

@fanatid fanatid commented Apr 16, 2021

@dconnolly
Copy link

Awesome! Testing in zebra on mah new M1 💻

@dconnolly dconnolly self-assigned this Apr 16, 2021
@fanatid
Copy link
Contributor Author

fanatid commented Apr 17, 2021

zebra will require additional updates like rocksdb, ring. I'll submit PR there shortly.

shell: powershell
run: |
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install llvm --global
Copy link
Contributor

@teor2345 teor2345 Apr 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any specific reason to switch to scoop here?

Zebra's CI still uses chocolatey, and in general we'd like to limit the number of CI dependencies.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the advantages of scoop that LLVM installed within 30s compare to almost 200s with chocolatey :(
I'll switch back to chocolatey with env fixes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the advantages of scoop that LLVM installed within 30s compare to almost 200s with chocolatey :(

Wow that is a big difference. It would be very useful for our engineers to have 3 minutes faster CI builds.

As long as scoop has decent uptime, I'd be happy to take separate PRs to switch to scoop for:

  • zebra
  • zcash_script
  • ed25519-zebra

and anything else we're actively developing. (@dconnolly will know if there are any extra crypto crates that we should switch over now.)

I'd like a separate PR so we don't block crate dependency changes on CI environment changes.

@teor2345
Copy link
Contributor

Just waiting on @dconnolly to confirm this works, then we can merge.

(Thanks for submitting those 3 PRs - sorry they have dependencies. We'll try to get them all merged as quick as possible.)

@dconnolly
Copy link

Confirmed on my M1 ✅

@dconnolly dconnolly merged commit 7ea844c into ZcashFoundation:master Apr 19, 2021
@fanatid fanatid deleted the m1-update branch April 19, 2021 06:53
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.

None yet

3 participants