[MacPorts] #45274: Run portbuild::build_main once for each build.target
MacPorts
noreply at macports.org
Mon Oct 6 21:45:00 PDT 2014
#45274: Run portbuild::build_main once for each build.target
---------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.99
Resolution: | Keywords:
Port: |
---------------------------+--------------------------------
Comment (by larryv@…):
Sorry for the noise. Turns out that the documentation doesn’t describe the
behavior very well: Specifying the goals on the command line simply adds
them (in order) to the list of targets to be run, so parallel building
behavior applies to them as usual.
{{{
% >test.makefile <<EOF
heredoc> .PHONY: foo bar baz
heredoc>
heredoc> foo:
heredoc> @echo foo start!
heredoc> @sleep 10
heredoc> @echo foo end!
heredoc>
heredoc> bar:
heredoc> @echo bar start!
heredoc> @sleep 5
heredoc> @echo bar end!
heredoc>
heredoc> baz:
heredoc> @echo baz start!
heredoc> @sleep 2
heredoc> @echo baz end!
heredoc> EOF
% make -f test.makefile foo bar baz
foo start!
foo end!
bar start!
bar end!
baz start!
baz end!
% make -f test.makefile -j 8 foo bar baz
foo start!
bar start!
baz start!
baz end!
bar end!
foo end!
%
}}}
--
Ticket URL: <https://trac.macports.org/ticket/45274#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list