Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only our Cygwin builds supported the Unix-like uname() but its output was more Cygwin info than Windows info. Use GetVersionEx() to get Windows version numbers (it's deprecated but it works and it's more convenient than IsWindows10OrGreater() etc) Use GetComputerName() like we did in lstopo when missing a hostname. Use GetNativeSystemInfo() to get the architecture (and make it a Unix-like string). Add a WindowsBuildEnvironment info attr for cygwin/mingw. Closes #208 Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
3 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters