-
Notifications
You must be signed in to change notification settings - Fork 460
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
Draft: windows on arm lib support #5928
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,9 @@ void HOST_INFO::clear_host_info() { | |
safe_strcpy(os_version, ""); | ||
|
||
#ifdef _WIN64 | ||
#if !defined(__aarch64__) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All these are not required since WSL is supported on ARM64 devices as well: https://learn.microsoft.com/en-us/windows/wsl/install-manual There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, I'm encountering a relocation error during linking... let's see if I can find a better solution |
||
wsl_distros.clear(); | ||
#endif | ||
#else | ||
safe_strcpy(docker_version, ""); | ||
safe_strcpy(docker_compose_version, ""); | ||
|
@@ -138,10 +140,12 @@ int HOST_INFO::parse(XML_PARSER& xp, bool static_items_only) { | |
if (xp.parse_str("os_name", os_name, sizeof(os_name))) continue; | ||
if (xp.parse_str("os_version", os_version, sizeof(os_version))) continue; | ||
#ifdef _WIN64 | ||
#if !defined(__aarch64__) | ||
if (xp.match_tag("wsl")) { | ||
this->wsl_distros.parse(xp); | ||
continue; | ||
} | ||
#endif | ||
#else | ||
if (xp.parse_str("docker_version", docker_version, sizeof(docker_version))) continue; | ||
if (xp.parse_str("docker_compose_version", docker_compose_version, sizeof(docker_compose_version))) continue; | ||
|
@@ -235,7 +239,9 @@ int HOST_INFO::write( | |
coprocs.ndevs() | ||
); | ||
#ifdef _WIN64 | ||
#if !defined(__aarch64__) | ||
wsl_distros.write_xml(out); | ||
#endif | ||
#else | ||
if (strlen(docker_version)) { | ||
out.printf( | ||
|
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.
is this really required?
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.
it's for size_t https://github.com/BOINC/boinc/blob/master/lib/boinc_win.h#L164C9-L164C15