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

Incompatible with crates using newer versions of bindgen/clang-sys #7

Open
ExpHP opened this issue Sep 10, 2018 · 2 comments
Open

Incompatible with crates using newer versions of bindgen/clang-sys #7

ExpHP opened this issue Sep 10, 2018 · 2 comments

Comments

@ExpHP
Copy link
Owner

ExpHP commented Sep 10, 2018

There is a known issue that the current version of lammps-sys is incompatible with crates that use recent versions of bindgen or clang-sys.

This is due to problems upstream. Basically, we're waiting for a number of upstream crates to update their dependencies:

  • You cannot have multiple versions of clang-sys due to it declaring the links property.
  • libffi-sys uses an old bindgen that uses an old clang-sys
  • mpi-sys uses libffi-sys and therefore must also use an old bindgen
  • lammps-sys uses mpi-sys and therefore must also use an old bindgen
@ExpHP
Copy link
Owner Author

ExpHP commented May 9, 2019

Okay, so...

libffi-sys updated their bindgen dependency, but they didn't perform a semver major bump. This has caused a bit of a mess; I opened tov/libffi-sys-rs#21 .

A version of mpi-sys with the new bindgen dependency exists on github, but is not yet released.

@ExpHP
Copy link
Owner Author

ExpHP commented May 20, 2019

now just waiting on mpi-sys 0.2.0 to be released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant