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

Fix extension when looking for mlir_c_runner library #649

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

erick-xanadu
Copy link
Contributor

@erick-xanadu erick-xanadu commented Apr 9, 2024

Context: When merging callbacks, something that was an oversight was the extension of shared libraries in different operating systems. In Darwin, the extension is .dylib. In unix, it is .so.

Description of the Change: This commit selects the correct extension based on the operating system that the code is being run.

Benefits: No errors on tests.

@erick-xanadu erick-xanadu added reviewer:require-wheels Pull Requests will need wheel building job successful before being merged author:build-wheels Run the wheel building workflows on this Pull Request labels Apr 9, 2024
@erick-xanadu erick-xanadu marked this pull request as ready for review April 9, 2024 18:12
Copy link
Contributor

@rmoyard rmoyard left a comment

Choose a reason for hiding this comment

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

Looks good! You can ignore disutils I guess

@erick-xanadu erick-xanadu merged commit 3f155a2 into main Apr 10, 2024
61 of 63 checks passed
@erick-xanadu erick-xanadu deleted the eochoa/2024-05-08/fix-dylib branch April 10, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author:build-wheels Run the wheel building workflows on this Pull Request reviewer:require-wheels Pull Requests will need wheel building job successful before being merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants