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

perf(python): Also set target features and tune cpu for CC #17716

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

ruihe774
Copy link
Contributor

cc @orlp

It turns out the cc crate does not pass target-features and tune-cpu to the C compiler, as a result the C dependencies do not benefit from these tunings. This PR workarounds this by setting CFLAGS accordingly.

@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars labels Jul 19, 2024
@orlp
Copy link
Collaborator

orlp commented Jul 19, 2024

Thanks for the PR, this sounds like a good idea!

@orlp orlp enabled auto-merge (squash) July 19, 2024 09:58
@orlp orlp disabled auto-merge July 19, 2024 09:58
@orlp orlp merged commit a4442f4 into pola-rs:main Jul 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues or improvements python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants