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

Windows changes for Makefile #236

Closed

Conversation

rosslwheeler
Copy link
Contributor

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...

Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
@Ricardicus
Copy link
Contributor

Ricardicus commented Apr 24, 2024

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?

Makefile Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
@rosslwheeler
Copy link
Contributor Author

@Ricardicus - will update the file shortly. Thanks for all of the helpful comments!

Tab/space fix - return .PHONY for CI use.
Makefile Outdated Show resolved Hide resolved
@rosslwheeler
Copy link
Contributor Author

Changes made in #256

@rosslwheeler rosslwheeler deleted the makefile_windows_update branch April 27, 2024 21:44
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.

2 participants