Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Job ID Query
@ 2012-01-06 15:25 Michael S. Zick
  2012-01-07 19:31 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Michael S. Zick @ 2012-01-06 15:25 UTC (permalink / raw)
  To: buildroot

Group,

Is there a Make or BuildRoot variable that identifies
the current make job id?

That is, when running more than 'make -j1' is there a
way to identify which job is executing a script segment?

Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Job ID Query
  2012-01-06 15:25 [Buildroot] Job ID Query Michael S. Zick
@ 2012-01-07 19:31 ` Peter Korsgaard
  2012-01-07 19:59   ` Michael S. Zick
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2012-01-07 19:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Michael" == Michael S Zick <minimod@morethan.org> writes:

 Michael> Group,
 Michael> Is there a Make or BuildRoot variable that identifies
 Michael> the current make job id?

Not afaik. What is the use case for knowing this?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Job ID Query
  2012-01-07 19:31 ` Peter Korsgaard
@ 2012-01-07 19:59   ` Michael S. Zick
  0 siblings, 0 replies; 3+ messages in thread
From: Michael S. Zick @ 2012-01-07 19:59 UTC (permalink / raw)
  To: buildroot

On Sat January 7 2012, you wrote:
> >>>>> "Michael" == Michael S Zick <minimod@morethan.org> writes:
> 
>  Michael> Group,
>  Michael> Is there a Make or BuildRoot variable that identifies
>  Michael> the current make job id?
> 
> Not afaik. What is the use case for knowing this?
> 

Package capture in the presence of multiple make jobs outputting
to a common directory, typically, through a common part of the
build system infrastructure.

It goes back to a suggestion of mine a few months back in answer
to (one of many) posts about capturing the build output in
distinct packages.

Have been working on parts of my own suggestion and think I can
make it work, __IFF__ you run Buildroot -j1.

Which no one of sane mind, with a multicore machine will be 
interested in doing. ;-)

I did also consider dropping that restrictive phrase: "outputting
to a common directory" -
But that I consider both too invasive, and against my declared
intent to make it a transparent feature addition for the user.

Will continue giving my own suggestion more thought as time
becomes available.

After all, (on a failure) make does have that: "Waiting for xyz
jobs to complete" message, it does "know" how many jobs are
running at the moment.

But I certainly don't want to propose patching make to expose
the job identification if it doesn't already provide that.

Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-07 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 15:25 [Buildroot] Job ID Query Michael S. Zick
2012-01-07 19:31 ` Peter Korsgaard
2012-01-07 19:59   ` Michael S. Zick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox