[118944] trunk/dports/science/openmpi/Portfile

sean at macports.org sean at macports.org
Sun Apr 13 19:32:04 PDT 2014


Revision: 118944
          https://trac.macports.org/changeset/118944
Author:   sean at macports.org
Date:     2014-04-13 19:32:04 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
openmpi: skip archive_sites only for llvm compilers as mpich does

Modified Paths:
--------------
    trunk/dports/science/openmpi/Portfile

Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile	2014-04-14 02:31:57 UTC (rev 118943)
+++ trunk/dports/science/openmpi/Portfile	2014-04-14 02:32:04 UTC (rev 118944)
@@ -20,10 +20,6 @@
             advantages for system and software vendors, application developers \
             and computer science researchers.
 
-# Force local builds to avoid missing compilers (possible if grabbed from
-# buildbot with different Xcode)
-archive_sites
-
 # Since mpi is just a compiler wrapper, compiling it as universal needs to be
 # supported upstream since it'd be a constantly moving target, for reference
 # see, https://trac.macports.org/ticket/20240
@@ -117,6 +113,13 @@
     if {${cname} == "default"} {
         set cname                   mp
     }
+
+    if {[lsearch -exact {mp llvm clang} ${cname}] != -1} {
+        # Force local builds with Xcode-provided compilers (avoid issues with
+        # different Xcode versions on buildbot and user machines)
+        archive_sites
+    }
+
     depends_lib                 port:hwloc
     depends_run                 port:mpi_select
     select.group                mpi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/2a623c6f/attachment.html>


More information about the macports-changes mailing list