[MacPorts] #48759: llvm-3.7: Update to release and add +openmp

MacPorts noreply at macports.org
Fri Sep 4 21:06:46 PDT 2015


#48759: llvm-3.7: Update to release and add +openmp
-------------------------+------------------------
 Reporter:  eborisch@…   |      Owner:  jeremyhu@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.3
 Keywords:               |       Port:  clang-3.7
-------------------------+------------------------
 (Note) This discussion started on mailing list while trac was offline.
 https://lists.macosforge.org/pipermail/macports-
 dev/2015-September/031349.html

 Attached are a Portfile patch and patchfile to add OpenMP support to
 clang-3.7 as well as update llvm/clang to the 3.7.0 release.

 The openmp-locations.patch adds -L<prefix>/lib/libomp and
 -I<prefix>/include/libomp to the appropriate compilation commands in
 tools/clang/lib/Driver/Tools.cpp such that, when combined with configure
 option (--with-clang-default-openmp-runtime=libomp), 'clang[++] -fopenmp'
 will 'just work'.

 I've updated (r139987) libomp to install into
 <prefix>(include|lib)/libomp/ such that the impact to compilation is
 minimized (by not using -I<prefix>/include and -L<prefix>/lib directly).

 Please review and comment.

-- 
Ticket URL: <https://trac.macports.org/ticket/48759>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list