Skip to content

Added bindgen as build dependency for nj-sys #98

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

Closed
wants to merge 1 commit into from

Conversation

simlay
Copy link
Contributor

@simlay simlay commented Oct 24, 2020

Over in #97, adding bindgen as a build dependency was brought up and as it really doesn't require any of the features in #97, I figure it's best to make in a separate PR so we can benchmark and see the differences easily.

One thing I've noticed is that the bindings are actually different in Linux vs on macOS. Here's the differences. The tests all still pass though.

I compared these changes on my archlinux desktop that has i7 with 8 cores and 16gb of ram and the build time for cargo build --workspace went from 25 seconds to 30 seconds.

@simlay
Copy link
Contributor Author

simlay commented Oct 24, 2020

I'm not actually sure the best way to fix CI for this PR. With Ubuntu and macOS, apt and brew would work in CI but I'm not super well versed in the package managers windows has. It looks like chocolatey has a github action we could use to install llvm.

This issue brings to light the need for an external dependency. Thoughts?

@sehz
Copy link
Collaborator

sehz commented Oct 25, 2020

Now come to think of it, this is probably biggest issue. It force developers to use install LLVM which is not easy. It took me 10 hour to install from source.

@simlay simlay closed this Dec 29, 2020
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