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

How can this be ported to Windows? #1287

Open
eabase opened this issue May 15, 2024 · 4 comments
Open

How can this be ported to Windows? #1287

eabase opened this issue May 15, 2024 · 4 comments

Comments

@eabase
Copy link

eabase commented May 15, 2024

There seem to have been multiple attempts to port this to windows (for obvious reasons.) However, why these attempts were ignored and (pulls) rejected, is far less obvious.

Since this package see quite limited in extent, it should be straight forward to make a windows pip package from this.

  1. What would be the best way to go about such an undertaking?
  2. Are you willing to host it in this repo or not?
  3. Is anyone from this community willing to give some hints how to go about this, and perhaps help out for a quicker start?

Attempted pulls

Other Repos:

People:

Related:

@cyyever
Copy link

cyyever commented May 15, 2024

@eabase while I ported it to CMake, Windows native build using MSVC didn't work due to some static assertion failures, which relied on the object memory layouts generated in gcc. And I suspected that even I could change the code to make it work under Windows, without official support it would break again in some future releases. This is why I gave up the attempts on Windows.

@eabase
Copy link
Author

eabase commented May 16, 2024

@cyyever What about using MSYS2? I think that both Bezel is using that, and subsequently conda. If MSYS is used, I believe it could be very similar to using WSL.

@cyyever
Copy link

cyyever commented May 16, 2024

@cyyever What about using MSYS2? I think that both Bezel is using that, and subsequently conda. If MSYS is used, I believe it could be very similar to using WSL.

For msys2,I think you don't need cmake. For example, FFMPEG can find cuda on msys2 to use nvcodec (I successfully built one before)
. So nccl should work in theory.

@cyyever
Copy link

cyyever commented May 16, 2024

@cyyever What about using MSYS2? I think that both Bezel is using that, and subsequently conda. If MSYS is used, I believe it could be very similar to using WSL.

In addition, you should use mingw64 rather than msys2

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

No branches or pull requests

2 participants