[151149] contrib/mp-buildbot/mpbb-list-subports
ryandesign at macports.org
ryandesign at macports.org
Mon Aug 8 09:01:25 PDT 2016
Revision: 151149
https://trac.macports.org/changeset/151149
Author: ryandesign at macports.org
Date: 2016-08-08 09:01:25 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
mp-buildbot: list only one port exclusion reason
This reduces the time taken to determine that py-graveyard will be skipped
on the 10.6_i386 builder by 80%.
Modified Paths:
--------------
contrib/mp-buildbot/mpbb-list-subports
Modified: contrib/mp-buildbot/mpbb-list-subports
===================================================================
--- contrib/mp-buildbot/mpbb-list-subports 2016-08-08 14:53:32 UTC (rev 151148)
+++ contrib/mp-buildbot/mpbb-list-subports 2016-08-08 16:01:25 UTC (rev 151149)
@@ -29,16 +29,16 @@
if [[ "$port" =~ graveyard ]]; then
exclude=1
exclude_reasons+=("its name contains 'graveyard'")
+ else
+ for portgroup in $("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/portgroups.tcl" "$port"); do
+ if [ "$portgroup" = "obsolete-1.0" ]; then
+ exclude=1
+ exclude_reasons+=("it includes the obsolete 1.0 PortGroup")
+ fi
+ done
fi
- for portgroup in $("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/portgroups.tcl" "$port"); do
- if [ "$portgroup" = "obsolete-1.0" ]; then
- exclude=1
- exclude_reasons+=("it includes the obsolete 1.0 PortGroup")
- fi
- done
-
- if [[ "${os_version}" = "10.6" && "${is_64bit_capable}" = "0" ]]; then
+ if [[ $exclude -eq 0 && "${os_version}" = "10.6" && "${is_64bit_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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/3a9849d1/attachment.html>
More information about the macports-changes
mailing list