-
Notifications
You must be signed in to change notification settings - Fork 752
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
bb9405e
to
9c4a5d3
Compare
887ad36
to
12514ae
Compare
12514ae
to
fd07145
Compare
fd07145
to
eccd59a
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.
eccd59a
to
91f07d9
Compare
@bader, I've added an |
If we always use fixed version of the library, I prefer CMake to use the pre-built binaries. Building it from sources is unnecessary overhead. WRT adding dependency on |
I can make it a fallback: first search for |
I suggest we fetch binaries instead of sources.
|
@AlexeySachkov, is it ok to add |
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.