<div dir="ltr">Maybe it would be useful to add this workaround to the info provided in <a href="https://trac.macports.org/wiki/CompilerSelection#Parallelism">https://trac.macports.org/wiki/CompilerSelection#Parallelism</a> ?<div><br><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- </div><div>Jason Liu</div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 12, 2021 at 9:09 PM Eric Borisch <<a href="mailto:eborisch@macports.org">eborisch@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Just looking for anyone interested to provide feedback on this:</div><div><br></div><div><div> <a href="https://github.com/macports/macports-ports/pull/12933" target="_blank">https://github.com/macports/macports-ports/pull/12933</a></div></div><div><br></div><div>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.</div><div><br></div><div>Not an official route, but it works; thanks to M.P. for the tip.<br></div><div><br></div><div>Thanks,</div><div> - Eric<br></div></div>
</blockquote></div>