[MacPorts] CompilerSelection modified

MacPorts Wiki noreply at macports.org
Mon Nov 22 17:53:07 UTC 2021


Page "CompilerSelection" was changed by chrstphrchvz
Diff URL: <https://trac.macports.org/wiki/CompilerSelection?action=diff&version=17>
Revision 17
Comment: Add note about -fopenmp-version
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CompilerSelection
=========================================================================
--- CompilerSelection (version: 16)
+++ CompilerSelection (version: 17)
@@ -74,6 +74,8 @@
 ||=      3.1       =||   [https://openmp.llvm.org 3.8]   ||    Future?    || Future? ||   [https://gcc.gnu.org/wiki/openmp  4.7]   ||
 ||=      4.0       =|| [https://openmp.llvm.org Partial] ||    Future?    || Future? ||   [https://gcc.gnu.org/wiki/openmp  4.9]   ||
 ||=      4.5       =|| [https://openmp.llvm.org Partial] ||    Future?    || Future? ||   ???   ||
+
+For LLVM Clang 3.9 through 9.0, only OpenMP 3.1 support is enabled by default; enabling OpenMP 4.0 or 4.5 support requires specifying the corresponding `-fopenmp-version=40` or `-fopenmp-version=45` flag.
 
 None of the compilers provided by Xcode implement [https://en.wikipedia.org/wiki/Message_Passing_Interface MPI].
 To implement it, [https://en.wikipedia.org/wiki/MPICH MPICH] and [https://en.wikipedia.org/wiki/Open_MPI Open MPI] provide wrappers for Clang, GCC, and Xcode.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/CompilerSelection>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'CompilerSelection' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list