You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lstopo uses GetComputerName() to display the hostname, but we don't actually set a HostName info attribute in the root object on windows.
topology-windows.c already calls hwloc_add_uname_info() in misc.c but that one does nothing on Windows. We should use GetComputerName() and GetSystemInfo() to set uname-like variables.
The text was updated successfully, but these errors were encountered:
Use GetVersionEx() to get 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 Unix-like string).
Add a WindowsBuildEnvironment info attr for cygwin/mingw.
Closesopen-mpi#208
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
bgoglin
added a commit
to bgoglin/hwloc
that referenced
this issue
Oct 16, 2020
Use GetVersionEx() to get 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.
Closesopen-mpi#208
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
bgoglin
added a commit
to bgoglin/hwloc
that referenced
this issue
Oct 16, 2020
Use GetVersionEx() to get 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.
Closesopen-mpi#208
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
lstopo uses GetComputerName() to display the hostname, but we don't actually set a HostName info attribute in the root object on windows.
topology-windows.c already calls hwloc_add_uname_info() in misc.c but that one does nothing on Windows. We should use GetComputerName() and GetSystemInfo() to set uname-like variables.
The text was updated successfully, but these errors were encountered: