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

Building static wheels for macOS & Linux #6

Merged
merged 2 commits into from
Feb 22, 2022
Merged

Conversation

nalzok
Copy link
Contributor

@nalzok nalzok commented Feb 22, 2022

While BATS.py depends on dynamic libraries like libomp, it turns out that we can still build static wheels with the help of delocate (for macOS) and auditwheel (for Linux). These two projects essentially copy the required libraries into the wheel file and point the loader path of our C/C++ extensions to these copies.

Hopefully, this would obviate the need for a C++ compiler and OpenMP runtime when installing BATS.py.

@bnels
Copy link
Collaborator

bnels commented Feb 22, 2022

Thanks! This is great for automating Mac builds.

@bnels bnels merged commit 9b6d735 into CompTop:master Feb 22, 2022
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