-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Windows changes for Makefile #236
Windows changes for Makefile #236
Conversation
Since windows is such a world of its own, there will be a question about maintaining it. In order to make it easier during development, should we perhaps introduce a flag to the preprocessor that is only active when building on windows? I can image people writing whole sections of code that is POSIX compliant with zero care in the world for the Windows case. The CI will break and then the question is "can you rewrite" etc.. or "should we stop supporting Windows"? With a flag it is possible to get around it somewhat. You did see a CUDA speed increase on Windows machines? |
@Ricardicus - will update the file shortly. Thanks for all of the helpful comments! |
Tab/space fix - return .PHONY for CI use.
Changes made in #256 |
Trimmed down the Makefile changes earlier for Windows. Tested with Windows and with Ubuntu 22 (WSL) - no issues. I noticed the Cuda performance has improved by 2x which was cool. Once this is in, then I'll use this to update the CI and we'll have coverage for Windows. Let me know if you see anything problematic. Was thinking we could reorganize this file into 3 discrete sections: OS check, Compiler check and Build. Just a thought...