Using Apple Clang to get OpenMP code (no clang-X.X required to compile)

Eric Borisch eborisch at macports.org
Sat Nov 13 02:08:44 UTC 2021


Just looking for anyone interested to provide feedback on this:

   https://github.com/macports/macports-ports/pull/12933

It uses '-Xpreprocessor -fopenmp' to get Apple's clang to compile OpenMP
code; it still relies on libomp for omp.h / -lomp, but doesn't require
clang-x.x to compile.

Not an official route, but it works; thanks to M.P. for the tip.

Thanks,
  - Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20211112/3d92d8d9/attachment.htm>


More information about the macports-dev mailing list