This is an archive of the discontinued LLVM Phabricator instance.

Enable OpenMP build for 32-bit FreeBSD
ClosedPublic

Authored by dim on Apr 19 2019, 1:32 PM.

Details

Summary

To be able to successfully build OpenMP on 32-bit FreeBSD, such as
FreeBSD/i386, I first had to provide a few wrappers (see D60916), and
then add KMP_OS_FREEBSD to the list of defines checked for 32-bit
architectures in kmp_runtime.cpp.

I have successfully built libomp.so and ran a bunch of test programs on
FreeBSD/i386 with this.

See also https://svnweb.freebsd.org/changeset/base/345283

Diff Detail

Repository
rOMP OpenMP

Event Timeline

dim created this revision.Apr 19 2019, 1:32 PM
This revision is now accepted and ready to land.Apr 30 2019, 12:22 PM
This revision was automatically updated to reflect the committed changes.