This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomp] Insert correct HWLOC version guards
ClosedPublic

Authored by jlpeyton on Jan 19 2023, 12:03 PM.

Details

Summary

Put needed HWLOC version guards around relevant HWLOC API.
Tested OpenMP host runtime build with HWLOC 1.11.13, 2.0-2.9.

Patch by Gilles Gouaillardet

Fix #54951

Diff Detail

Event Timeline

jlpeyton created this revision.Jan 19 2023, 12:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 12:03 PM
jlpeyton requested review of this revision.Jan 19 2023, 12:03 PM
tianshilei1992 accepted this revision.Jan 19 2023, 12:22 PM

LGTM, thanks for the fix.

This revision is now accepted and ready to land.Jan 19 2023, 12:22 PM
This revision was automatically updated to reflect the committed changes.