This is an archive of the discontinued LLVM Phabricator instance.

Liboffload: Patch for MPSS > 3.4.x
ClosedPublic

Authored by tcramer on Apr 29 2015, 1:51 AM.

Details

Summary

The patch fixes the build with icc for the liboffload and MPSS versions greater than 3.4. In those versions the structs dim_desc and arr_desc are defined in the MPSS and not in the liboffload anymore. Furthermore, the directory structure changed. I only tested with MPSS 3.4.3 (icc 14 and 15), because I don’t have any other systems available:
mpss_version=34 mpss_dir=/opt/mpss/3.4.3 compiler_host=icc compiler_target=icc make
Additional, the "-mmic" is set automatically now for compiler_target=icc.

Diff Detail

Event Timeline

tcramer updated this revision to Diff 24600.Apr 29 2015, 1:51 AM
tcramer retitled this revision from to Liboffload: Patch for MPSS > 3.4.x.
tcramer updated this object.
tcramer edited the test plan for this revision. (Show Details)
tcramer added a reviewer: jlpeyton.
tcramer added subscribers: Unknown Object (MLST), Unknown Object (MLST).
iverbin accepted this revision.Apr 30 2015, 8:23 AM
iverbin added a reviewer: iverbin.
iverbin added a subscriber: iverbin.

Looks OK to me. I plan to propagate this patch into liboffload on www.openmprtl.org

This revision is now accepted and ready to land.Apr 30 2015, 8:23 AM
jlpeyton accepted this revision.Apr 30 2015, 12:34 PM
jlpeyton edited edge metadata.

LGTM.

tcramer closed this revision.May 7 2015, 12:45 AM