[MacPorts] #52986: buildbot: don't add ports that declare not to support ppc to the build queue of 10.5-ppc
MacPorts
noreply at macports.org
Fri Dec 2 09:25:42 CET 2016
#52986: buildbot: don't add ports that declare not to support ppc to the build
queue of 10.5-ppc
-----------------------------+----------------------
Reporter: mojca | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords: buildbot
Port: |
-----------------------------+----------------------
Comment (by mojca):
(Sorry to everyone for the off-topic discussion.)
Thank you, I ended up with the following script (suggestions welcome):
{{{
#!tcl
#!/opt/local/bin/port-tclsh
# File: profile_me
package require profiler
profiler::init
proc srcx {} {
set argv $::argv
set argc $::argc
set file [lindex $::argv 0]
set ::argv [lreplace $::argv 0 0]
set ::argc [llength $::argv]
set code [catch {uplevel [list source $file]} return]
set ::argv $argv
set ::argc $argc
return -code $code $return
}
srcx
# Display profiler info
puts "\n[string repeat - 40]"
puts [::profiler::print]
}}}
and `time ./profileme.tcl ./tools/supported-archs.tcl wine`
but I need to wait. There seems to be some cache somewhere and only the
first call is super slow, any subsequent calls are fast.
--
Ticket URL: <https://trac.macports.org/ticket/52986#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list