Skip to content

fix: Cross compilation sysroot options #103

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

Merged
merged 1 commit into from
Apr 7, 2025
Merged

Conversation

dmtrKovalenko
Copy link
Collaborator

There are a few ongoing issues with the current compilation which are fixed:

  1. Ensured to provide a correct sysroot required for some of the clang compilers according to Cross-compiled crate appears to include host header files after 0.30 rust-lang/rust-bindgen#1229
  2. Automated the sysroot search both for ffmpeg build and bingen and ensured that the path is valid (new xcode version appends \n which breaks everythin)
  3. Fixed some of the wronly passed parameters and enabled featuers for hardeward decoding on ioss

@dmtrKovalenko dmtrKovalenko force-pushed the fix/ios-sysroot branch 5 times, most recently from 464ccb9 to 46b22e5 Compare April 7, 2025 12:04
There are a few ongoing issues with the current compilation which are
fixed:

1. Ensured to provide a correct sysroot required for some of the clang
   compilers according to rust-lang/rust-bindgen#1229
2. Automated the sysroot search both for ffmpeg build and bingen and
   ensured that the path is valid (new xcode version appends \n which
   breaks everythin)
3. Fixed some of the wronly passed parameters and enabled featuers for
hardeward decoding on ioss
@dmtrKovalenko dmtrKovalenko changed the title fix: IOS sysroot options fix: Cross compilation sysroot options Apr 7, 2025
@dmtrKovalenko dmtrKovalenko merged commit 4b6e29c into master Apr 7, 2025
22 of 26 checks passed
moriyoshi-kasuga pushed a commit to moriyoshi-kasuga/rust-ffmpeg-sys that referenced this pull request Apr 18, 2025
There are a few ongoing issues with the current compilation which are
fixed:

1. Ensured to provide a correct sysroot required for some of the clang
   compilers according to rust-lang/rust-bindgen#1229
2. Automated the sysroot search both for ffmpeg build and bingen and
   ensured that the path is valid (new xcode version appends \n which
   breaks everythin)
3. Fixed some of the wronly passed parameters and enabled featuers for
hardeward decoding on ioss
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.

1 participant