Page MenuHomeFreeBSD

Enable OpenMP for powerpc64
AcceptedPublic

Authored by pkubaj on Thu, Sep 5, 7:54 AM.

Details

Summary

When powerpc64 switches to LLVM, use this patch to enable OpenMP as well. OpenMP on PPC is only for 64-bits, so don't make a 32-bit libomp. A change to openmp files is necesssary (under review on https://reviews.llvm.org/D67190), because it determines ELF format version based on endianness, which is incorrect.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pkubaj created this revision.Thu, Sep 5, 7:54 AM
0mp accepted this revision as: manpages.Thu, Sep 5, 8:17 AM
0mp added a subscriber: 0mp.

OK from manpages.

Are you planning to patch llvm9 in ports?

Looks good to me, but I'm suspect :)

This revision is now accepted and ready to land.Thu, Sep 5, 7:28 PM

Looks good to me, but I'm suspect :)

Merged to devel/llvm90 in https://svnweb.freebsd.org/ports?view=revision&revision=511878. We could also patch devel/llvm80, but llvm90 is going to be the default soon anyway.