Opened 8 years ago
Last modified 7 years ago
#52986 closed enhancement
buildbot: don't add ports that declare not to support ppc to the build queue of 10.5-ppc — at Version 1
Reported by: | mojca (Mojca Miklavec) | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | buildbot/mpbb | Version: | |
Keywords: | buildbot | Cc: | |
Port: |
Description (last modified by larryv (Lawrence Velázquez))
The 10.6-i386 buildbot avoids building many packages:
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 exclude_reasons+=("the ${os_version}_x86_64 builder will build it") fi fi
I believe that a similar strategy could be used to avoid building packages that are declared not to be supported on PPC.
See an example of the libvpx port which doesn't even start to build:
Error: libvpx cannot be installed for the configured build_arch 'ppc' because it only supports the arch(s) 'x86_64 i386'. Error: Processing of port libvpx failed Build of 'libvpx' failed.
Change History (1)
comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Most of this fiddling should be done in the Buildbot configuration and not in mpbb.