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

Cross compilation broken for occt-sys #160

Open
DSchroer opened this issue Jan 12, 2024 · 0 comments
Open

Cross compilation broken for occt-sys #160

DSchroer opened this issue Jan 12, 2024 · 0 comments

Comments

@DSchroer
Copy link
Contributor

If you try to cross compile using the builtin occt-sys. It will always compile OCCT for the HOST architecture rather than the TARGET architecture.

This is due to it being a build-dependency.

opencascade-sys: built for TARGET
    build.rs: built/run for HOST with env TARGET=TARGET
        occt-sys: built for HOST (since its a dep of build.rs)
            build.rs: build for HOST with env TARGET=HOST
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

1 participant