Page MenuHomePhabricator

Fix non-x86 build (removing uses of kmp_cpuinfo_t)
ClosedPublic

Authored by hfinkel on Mar 17 2016, 8:28 AM.

Details

Summary

The non-x86 build is currently broken. The problem is that the definition of kmp_cpuinfo_t contains:

char       name [3*sizeof (kmp_cpuid_t)]; // CPUID(0x80000002,0x80000003,0x80000004)

and kmp_cpuid_t is only defined when compiling for x86. This patch removes uses of kmp_cpuinfo_t when not building on x86.

Diff Detail

Repository
rL LLVM

Event Timeline

hfinkel updated this revision to Diff 50936.Mar 17 2016, 8:28 AM
hfinkel retitled this revision from to Fix non-x86 build (removing uses of kmp_cpuinfo_t).
hfinkel updated this object.
hfinkel added a subscriber: openmp-commits.
jlpeyton accepted this revision.Mar 17 2016, 9:36 AM
jlpeyton edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 17 2016, 9:36 AM
tlwilmar accepted this revision.Mar 24 2016, 9:19 AM
tlwilmar edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.