On 27 May 2014 13:17, davidlt <notifications@github.com> wrote:

> In scram-project-build.file:
>
> >    # ELF binaries
> > -  ELF_BINS=$(find . -type f -exec file {} \; | grep -i elf | cut -d':' -f1)
> > +  ELF_BINS=$(ls | xargs -I% file % | grep ELF | cut -d':' -f1)
>
> find is more reliable. ls would be fine if it would produce
> null-terminated strings.
> I was doing some small testings and you can find your initial patch + some
> my modifications: ~davidlt/public/debug_ib.patch
>

I'll have a look.

Actually, using "file *" would work, too :-)


> Mainly, I would call a common part as common.debug in each .debugdirectory.
>
Sounds good.

I would call xargs as xargs -t -n1 --max-procs=%{compiling_processes} (that
> will print the command to be executed and run in concurrent way ==>
> speedup).
>
Sounds good.


> I also had problems running --compress-debug-sections and
> --only-keep-debug on the same objcopy invocation, thus I split those in
> two invocations.
>

Mhm, that has been working fine in the last few IBs. Do you remember what
problems you were running into ?

.A