-
Notifications
You must be signed in to change notification settings - Fork 750
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
[UR] Enable hwloc in UMF linux build #15261
base: sycl
Are you sure you want to change the base?
Conversation
d8a76ff
to
94c1a73
Compare
7aa9690
to
dcc6761
Compare
dcc6761
to
2891f1e
Compare
2891f1e
to
c647376
Compare
Drafted until the UMF fix is pulled down to llvm via UMF update in UR. |
c647376
to
c6e5f06
Compare
Fix is now pulled down, ready for review. |
You should probably also update https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md (remove hwloc as a dependency that needs to be installed by the user) |
c6e5f06
to
f1fa58b
Compare
Right, now it will automatically be downloaded - deleted user requirement. |
* `hwloc` version 2.3 or later (Linux only) | ||
* libhwloc-dev or hwloc-devel package on linux |
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.
Update UR to statically link hwloc v2.9.3 both on linux and Windows.
If I get the change right, the dependency on hwloc
still exists. The change removed the runtime dependency, but not the compile time dependency. Am I right?
This document describes the environment for DPC++ compiler developers, not DPC++ compiler users.
Your change seems to raise the version requirement. Please, update the hwloc
version to 2.9.3.
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.
The hwloc
library will always be fetched from sources. Regardless of hwloc-dev
packages user has installed, the fetched version will be linked with the UMF library. That's why I remove hwloc
from this dependencies list, as the user-installed hwloc-dev
package will not be used by UMF.
If
llvm/.github/workflows/sycl-docs.yml Line 36 in 7cc9e80
|
f1fa58b
to
d54b9d2
Compare
Thanks, done |
d54b9d2
to
7ec12ff
Compare
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.
Do we still need brew install hwloc
on MacOS build CI workflow: https://github.com/intel/llvm/blob/sycl/.github/workflows/sycl-macos-build-and-test.yml#L33 ?
Update UR to statically link hwloc v2.9.3 both on linux and Windows.
I recall installing hwloc
on Windows CI runners. Now that we are fetching hwloc
from sources and statically linking it, am I good to remove hwloc
installations on Windows CI runners once this PR gets merged?
Also, can you please update the PR title? - at the first glace it looked like the change is for Linux only. But the description says that the change is for both Windows and Linux.
7ec12ff
to
8436c65
Compare
I've removed it now, it shouldn't be required anymore.
I've updated the misleading commit message. |
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.
UR LGTM
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.
CI changes LGTM.
Update UR to statically link UMF with hwloc on Linux. This will enable hwloc support in UMF on Linux. Also, always use the v2.9.3 hwloc version for hwloc builds.
8436c65
to
3ca3ff6
Compare
Update UR to statically link UMF with hwloc on Linux.
This will enable hwloc support in UMF on Linux.
Also, always use the v2.9.3 hwloc version for hwloc builds.