Re: [PATCH v3 0/9] perf build: Make build-test faster

From: Arnaldo Carvalho de Melo
Date: Fri Jan 15 2016 - 10:12:54 EST


Em Fri, Jan 15, 2016 at 10:54:47PM +0800, pi3orama escreveu:
> åèæç iPhone
> > å 2016å1æ15æïäå10:36ïArnaldo Carvalho de Melo <acme@xxxxxxxxxx> åéï
> > tests/make:7: recipe for target 'all' failed
> > make[1]: *** [all] Error 2
> > Makefile:81: recipe for target 'build-test' failed
> > make: *** [build-test] Error 2
> > make: Leaving directory '/home/git/linux/tools/perf'
> > [acme@zoo linux]$ find . -name "*.so"
> > ./tools/perf/python_ext_build/lib/perf.so
> > ./tools/perf/python/perf.so
> > [acme@zoo linux]$
> >
> > I.e. the test -f follows O=, but the process to generate python/perf.so
> > doesn't and ends up pollutting the source tree.

> Is your source directory already polluted
> before this test?

Yeah, that seems to have been the case, I tried reproducing this problem
using just the python perf.so target, after cleaning the sources and it
worked, then I cleaned it again and I am re-running build-test O= and it
is working so far.

- Arnaldo