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

[do not merge] Old portability collection PR, for reference #947

Closed

Conversation

rickardp
Copy link
Contributor

@rickardp rickardp commented Jan 2, 2024

This is essentially the same as PR #257. As the old PR was force pushed beyond repair, I'm reposting this for the purpose of referencing the diffs and possibly cherry picking useful parts into other PRs.

The PR sets up a pipeline that builds the .so files separately using a build matrix, then builds binary wheels for the Python packages. The MPS stuff here is just a stub and should not be merged.

AFAIK, the CMake files in this branch contain all the releevant patches to make the CPU code buildable/testable on Windows x64, Mac x64/arm64, Linux x64/arm64.

To summarize this PR should provide

  • A CMake file that compiles "eveywhere" and builds one target at a time
  • A GitHub workflow that builds first the native libs using a build matrix, then puts everything together in a bdist_wheel
  • Source level changes to make native code compile on Windows, Mac and arm64
  • MPS stub code for future reference
  • Python code refactoring. Probably not worth keeping

niclimcy and others added 30 commits March 26, 2023 00:14
- For initial win32 support
- Change pythonInterface file extension to cpp because it is C++
- Requires external dependency pthread-win32 for Windows builds
@rickardp rickardp mentioned this pull request Jan 2, 2024
@rickardp rickardp changed the title [do not merge] GitHub Actions + CMake [do not merge] Old portability collection PR, for reference Jan 2, 2024
@Titus-von-Koeller
Copy link
Collaborator

Ok, we'll keep it here for reference. Please close it once not needed anymore. We'll approach you soon about cross-platform support. Thanks for all the good work so far. Let's work together to get this figured out. We're still a bit behind on getting on top of maintenance since we took over, so please excuse the delays. Thanks for your understanding!

@Titus-von-Koeller
Copy link
Collaborator

Titus-von-Koeller commented Feb 27, 2024

@rickardp This is still needed for reference, right? Would it also suffice as a closed PR or do you want to keep it open for visibility?

@Titus-von-Koeller
Copy link
Collaborator

Closing this as it seems dead and not needed anymore.

Let me know if it needs reopening.

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