Page MenuHomeFreeBSD

Enable OpenMP for powerpc64
ClosedPublic

Authored by pkubaj on Sep 5 2019, 7:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 4:39 AM
Unknown Object (File)
Sat, Sep 20, 12:16 AM
Unknown Object (File)
Fri, Sep 19, 3:16 AM
Unknown Object (File)
Thu, Sep 18, 7:32 PM
Unknown Object (File)
Sep 12 2025, 8:53 AM
Unknown Object (File)
Sep 7 2025, 9:58 PM
Unknown Object (File)
Sep 7 2025, 9:24 PM
Unknown Object (File)
Aug 30 2025, 10:59 PM

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.Sep 5 2019, 7:28 PM
In D21532#469129, @alfredo.junior_eldorado.org.br wrote:

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.

This revision was automatically updated to reflect the committed changes.