[151109] contrib/mp-buildbot/mpbb-list-subports

ryandesign at macports.org ryandesign at macports.org
Sun Aug 7 10:09:28 PDT 2016


Revision: 151109
          https://trac.macports.org/changeset/151109
Author:   ryandesign at macports.org
Date:     2016-08-07 10:09:27 -0700 (Sun, 07 Aug 2016)
Log Message:
-----------
mp-buildbot: exclude ports that will be handled by another builder

Modified Paths:
--------------
    contrib/mp-buildbot/mpbb-list-subports

Modified: contrib/mp-buildbot/mpbb-list-subports
===================================================================
--- contrib/mp-buildbot/mpbb-list-subports	2016-08-07 16:59:33 UTC (rev 151108)
+++ contrib/mp-buildbot/mpbb-list-subports	2016-08-07 17:09:27 UTC (rev 151109)
@@ -36,6 +36,15 @@
             fi
         done
 
+        os_version="$(sw_vers -productVersion | cut -d . -f 1-2)"
+        if [[ "${os_version}" = "10.6" && "$(sysctl -n hw.cpu64bit_capable)" = "0" ]]; then
+            supported_archs=$("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/supported-archs.tcl" "${port}")
+            if [[ -n "${supported_archs}" && !("${supported_archs}" == *"x86_64"* && "${supported_archs}" == *"i386"*) ]]; then
+                exclude=1
+                exclude_reasons+=("the ${os_version}_x86_64 builder will build it")
+            fi
+        fi
+
         if [ $exclude -eq 0 ]; then
             echo "$port"
         else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160807/330aa6a9/attachment.html>


More information about the macports-changes mailing list