]> git.baikalelectronics.ru Git - kernel.git/commit
perf build-test: Honour JOBS to override detection of number of cores
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 30 Mar 2020 12:32:41 +0000 (09:32 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Apr 2020 12:37:55 +0000 (09:37 -0300)
commitcfd17505f68436170438da9880d33df921d088a7
tree4b88af81e81649a6642a283d86581bc0f8ec5d0c
parentbb7a74614aedf572939ae965c2aca6164bc26f29
perf build-test: Honour JOBS to override detection of number of cores

When one does:

  $ make -C tools/perf build-test

The makefile in tools/perf/tests/ will, just like the main one, detect
how many cores are in the system and use it with -j.

Sometimes we may need to override that, for instance, when using
icecream or distcc to use multiple machines in the build process, then
we need to, as with the main makefile, use:

  $ make JOBS=N -C tools/perf build-test

Fix the tests makefile to honour that.

Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/20200330130301.GA31702@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/make