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 PYTHON_INCLUDE_DIR path #3759

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Conversation

andiradulescu
Copy link
Contributor

@andiradulescu andiradulescu commented Jul 12, 2024

CasADi building with Python 3.12 on aarch64 with uv (because it misses the prebuilt whl) fails.

This change fixes the issue, changing PYTHON_INCLUDE_DIR to use sysconfig.get_path("include") instead.

More details about the uv issue here.

Issue seems to happen also in pyodide.

@agriyakhetarpal agriyakhetarpal mentioned this pull request Jul 18, 2024
2 tasks
@andiradulescu andiradulescu changed the title Fix building casadi with uv Fix PYTHON_INCLUDE_DIR path Jul 18, 2024
@jgillis jgillis merged commit 16b2b05 into casadi:main Jul 31, 2024
1 check passed
@jgillis jgillis added this to the Version 3.6.6 milestone Jul 31, 2024
@jgillis
Copy link
Member

jgillis commented Jul 31, 2024

Thanks!

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.

3 participants