-
Notifications
You must be signed in to change notification settings - Fork 527
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
doc: add instructions for building and testing on Windows #1441
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. But doesn't it default to cl
and link
automatically ? They we could make it almost identical to the Linux commands except the %cd%
You're right, it does default to
Sorry, I'm lost in the details. Do you mean that we could roll both the Windows and Linux build instructions into just one section? Or did you mean that we'd have a near-identical sequence of arguments passed to |
I think I can roll them both into just one section. I'll push a change in a few minutes. Let me know what you think, but no rush! |
Made some small fixes. Also, it seems like PyTorch on MinGW isn't supported, so I dropped the reference to it from the doc.
Some old forum posts [1,2,3] suggest that to get PyTorch working on MinGW, you'd need to compile from source, with non-trivial changes to the source. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit. in case we can use .
it can be the same command modulo forward/backward slash which powershell will translate
I have never used PowerShell before, but it seems like these commands suffice. @sstamenova, do these commands look good to you? |
Perfect. Was just trying to keep them as similar as possible. |
I found that if you specify
So if you use this command it works exactly the same way in both Linux (Cmake 3.24.0) and Windows (CMake 3.24.1)
So you could update the command Linux command itself to drop the |
That's neat! Thanks for trying this out. Updated in the most recent commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth leaving the compiler flag for clang in the comments below the actual command.
Signed-off-by: Philip Lassen <philiplassen+git@gmail.com> Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com> Co-authored-by: Tung D. Le <tung@jp.ibm.com>
No description provided.