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

[Feature] Add windows support #36

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

sindre-nistad
Copy link
Collaborator

Compile, test and publish wheels for Windows.
Originally, this was attempted as part of #26, but I ran into trouble, hence making it a separate PR

@sindre-nistad sindre-nistad changed the title Feature/add windows support [Feature] Add windows support Jan 17, 2024
@sindre-nistad sindre-nistad force-pushed the feature/add-windows-support branch 3 times, most recently from e0085da to 2c07f72 Compare January 13, 2025 09:48
That way, we do not need to explicitly state which versions of Python we build for.
It also simplifies some of the configuration

It seems we need to explicitly include pybind11 directories for some builds
There are no pre-compiled wheels of scipy available for PyPy, so we run the tests with our own implementation of chi2 in pure Python
macOS 11 runners are no longer supported.
Intel macs on GitHub Actions is now macOS 13.
It is only used in the build step

Nor do we need to re-upload the files if cache was hit
`MKLConfig.cmake` may be located in different places (especially on Windows)
The Windows installer for Intel oneAPI (may) place `libiomp5md` in a different place than the rest of the libraries
MSVS uses a different convention for relevant options than GCC / LLVM.

The paths from preprocessing are generally written using Windows-style directory separators (`\`), while CMake generally operates with UNIX-style separators (`/`)
@sindre-nistad sindre-nistad force-pushed the feature/add-windows-support branch 2 times, most recently from 2fc140b to a66cd09 Compare January 23, 2025 19:37
@sindre-nistad sindre-nistad force-pushed the feature/add-windows-support branch from a52f0ee to 84ce12b Compare January 23, 2025 19:59
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.

1 participant