Re: [PATCH v3 0/9] perf build: Make build-test faster
From: Jiri Olsa
Date: Fri Jan 15 2016 - 05:20:17 EST
On Fri, Jan 15, 2016 at 04:00:12AM +0000, Wang Nan wrote:
> Utilise Jiri's feature-dump make target to avoid make build-test check
> features too many times.
>
> v2 -> v3: add $(O_OPT) to 'make clean' to ensure the correctness of
> config-clean.
>
> Jiri Olsa (2):
> perf build: Add feature-dump target
> perf build: Introduce FEATURES_DUMP make variable
>
> Wang Nan (7):
> perf build: Set parallel making options build-test
> perf build: Pass O option to Makefile.perf in build-test
> perf build: Test correct path of perf in build-test
> perf build: Pass O option to kernel makefile in build-test
> tools build: Allow subprojects select all feature checkers
> perf build: Select all feature checkers for feature-dump
> perf build: Use feature dump file for build-test
>
> tools/build/Makefile.feature | 21 ++++++++++-
> tools/perf/Makefile.perf | 34 +++++++++++++++++-
> tools/perf/config/Makefile | 4 +++
> tools/perf/tests/make | 86 ++++++++++++++++++++++++++++++++++++--------
> 4 files changed, 128 insertions(+), 17 deletions(-)
got error on:
[jolsa@krava perf]$ make -f tests/make
Testing Makefile
readlink: missing operand
Try 'readlink --help' for more information.
- /BUILD_TEST_FEATURE_DUMP: cd . && make FEATURE_DUMP_COPY=/BUILD_TEST_FEATURE_DUMP feature-dump
cd . && make FEATURE_DUMP_COPY=/BUILD_TEST_FEATURE_DUMP feature-dump
tests/make:329: recipe for target '/BUILD_TEST_FEATURE_DUMP' failed
make[1]: *** [/BUILD_TEST_FEATURE_DUMP] Error 2
tests/make:7: recipe for target 'all' failed
make: *** [all] Error 2