[153765] trunk/dports/lang/libomp/Portfile

eborisch at macports.org eborisch at macports.org
Mon Oct 10 15:12:43 CEST 2016


Revision: 153765
          https://trac.macports.org/changeset/153765
Author:   eborisch at macports.org
Date:     2016-10-10 06:12:43 -0700 (Mon, 10 Oct 2016)
Log Message:
-----------
libomp: Roll back to 3.8.1 for <= ML.

Modified Paths:
--------------
    trunk/dports/lang/libomp/Portfile

Modified: trunk/dports/lang/libomp/Portfile
===================================================================
--- trunk/dports/lang/libomp/Portfile	2016-10-10 12:23:04 UTC (rev 153764)
+++ trunk/dports/lang/libomp/Portfile	2016-10-10 13:12:43 UTC (rev 153765)
@@ -4,10 +4,10 @@
 PortSystem              1.0
 PortGroup               cmake 1.0
 PortGroup               muniversal 1.0
+PortGroup               compiler_blacklist_versions 1.0
 PortGroup               github 1.0
 
 name                    libomp
-revision                1
 maintainers             eborisch openmaintainer
 homepage                http://openmp.llvm.org
 description             The OpenMP subproject of LLVM
@@ -29,6 +29,7 @@
     github.setup            llvm-mirror openmp 88b2b1c
     worksrcdir              openmp-${version}/runtime
     version                 283577 
+    revision                1
     name                    ${subport}
     checksums \
         rmd160  18f048f0a620646d24bb75000cce97c41e3003be \
@@ -40,27 +41,34 @@
     livecheck.regex         revision=(\[0-9\]+)
 } else {
     conflicts               libomp-devel
-    github.setup            llvm-mirror openmp 390 svn-tags/RELEASE_
-    worksrcdir              openmp-${version}/rc1/runtime
-    version                 3.9.0
+    if {${os.platform} eq "darwin" && ${os.major} > 12} {
+        github.setup            llvm-mirror openmp 390 svn-tags/RELEASE_
+        worksrcdir              openmp-${version}/rc1/runtime
+        version                 3.9.0
+        revision                1
+        checksums \
+            rmd160  d161143863e9440dac76da8e2b1a424e2f042026 \
+            sha256  dbd72561753cfab8a39590bc3c30974d3e8a6d8e358fc90b1e0f2f87a80b1e98
+    } else {
+        github.setup            llvm-mirror openmp 381 svn-tags/RELEASE_
+        worksrcdir              openmp-${version}/rc1/runtime
+        version                 3.8.1
+        revision                2
+        checksums \
+            rmd160  a41054068a127ef84610afef8090109078cb6c46 \
+            sha256  4c46b5946fe9b2a701661746d11c7c85c51a7f18673194a7ebd2a43470948a34
+    }
     # Moved to epoch 1 for svn # -> version # change.
     epoch                   1
     name                    libomp
-    checksums \
-        rmd160  d161143863e9440dac76da8e2b1a424e2f042026 \
-        sha256  dbd72561753cfab8a39590bc3c30974d3e8a6d8e358fc90b1e0f2f87a80b1e98
     livecheck.url           https://github.com/llvm-mirror/openmp/branches
     livecheck.regex         svn-tags/RELEASE_(\[0-9\]+)
 }
 
 cmake.out_of_source     yes
 
-platform darwin {
-    if {${os.major} <= 12} {
-        # Clang 3.7 and later may depend on this port
-        compiler.whitelist      macports-clang-3.6 
-    }
-}
+# According to documentation builds with clang >= 3.3
+compiler.blacklist-append {clang < 500} *gcc*
 
 default_variants        +universal
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161010/1743f42d/attachment-0002.html>


More information about the macports-changes mailing list