Re: [GIT PULL] tools/perf/build: Speed up the perf build system

From: Arnaldo Carvalho de Melo
Date: Thu Oct 10 2013 - 15:50:27 EST


Em Thu, Oct 10, 2013 at 04:26:08PM -0300, Arnaldo Carvalho de Melo escreveu:
> Two problems:
>
> the message:
>
> BUILD: Doing 'make -j1' parallel build
>
> Looks funny: 'parallel' && -j1? :-)
>
> This is on fedora12, on a kvm guest, nfs mounting /home/acme/git, all works
> well up to the liblk.a part, cloning it to do it without NFS to continue
> testing the integration of acme/perf/core with the build speedup patches.

<SNIP>

> AR liblk.a
> rm: cannot remove `liblk.a': Permission denied
> make[2]: *** [liblk.a] Error 1
> make[1]: *** [/tmp/build/perf/liblk.a] Error 2
> make: *** [install] Error 2
> make: Leaving directory `/home/acme/git/linux/tools/perf'
> [acme@fedora12 linux]$ fg
> -bash: fg: current: no such job
> [acme@fedora12 linux]$ vim tools/perf/Makefile.perf

/me scratches head, tried this on another kvm guest, ubuntu 13.04,
x86_64, works as expected, but stumbled in another problem:

acme@ubuntu-acme:~/git/linux$ time make -C tools/perf -f tests/make
make: Entering directory `/home/acme/git/linux/tools/perf'
make[3]: *** No rule to make target
`/home/git/linux/tools/lib/traceevent/trace-seq.c', needed by
`.trace-seq.d'. Stop.
make[2]: ***
[/home/acme/git/linux/tools/lib/traceevent/libtraceevent.a-clean] Error
2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [clean] Error 2
make: *** [make_pure] Error 2
make: Leaving directory `/home/acme/git/linux/tools/perf'

real 0m0.254s
user 0m0.064s
sys 0m0.084s
acme@ubuntu-acme:~/git/linux$

And this does work on a RHEL6 box, continue to investigate...

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/