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

don't run builds outside of cibuildwheel #138

Merged
merged 6 commits into from
Jan 12, 2024
Merged

don't run builds outside of cibuildwheel #138

merged 6 commits into from
Jan 12, 2024

Conversation

theomonnom
Copy link
Member

@theomonnom theomonnom commented Jan 12, 2024

#134 #129 was causing issues when loading the FFI binary. This PR fixes it
Now not running the download process inside build_py (only doing it inside cibuildwheel)
Also see livekit/rust-sdks#283

@theomonnom
Copy link
Member Author

This should fix #136

# cibuildwheel is crosscompiling to arm64 on macos, make sure we download the
# right binary (kind of a hack here...)
if os.environ.get("CIBUILDWHEEL") == "1" and "arm64" in os.environ.get(
"ARCHFLAGS", ""
Copy link
Member Author

Choose a reason for hiding this comment

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

Code moved inside the rust-sdks for simplicity

@theomonnom theomonnom merged commit 9bc261f into main Jan 12, 2024
9 checks passed
@theomonnom theomonnom deleted the theo/fix-builds branch January 12, 2024 13:13
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

2 participants