Lines Matching +full:parallel +full:- +full:out
1 # SPDX-License-Identifier: GPL-2.0
4 # with a -j option to do parallel builds
6 # If you want to invoke the perf build in some non-standard way then
7 # you can use the 'make -f Makefile.perf' method to invoke it.
11 # Clear out the built-in rules GNU make defines by default (such as .o targets),
17 # We don't want to pass along options like -j:
22 # Do a parallel build with multiple jobs, based on the number of CPUs online
23 # in this system: 'make -j8' on a 8-CPU system, etc.
28 …JOBS := $(shell (getconf _NPROCESSORS_ONLN || grep -E -c '^processor|^CPU[0-9]' /proc/cpuinfo) 2>/…
38 FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O))
57 BUILD_TYPE := parallel
61 @printf ' BUILD: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' $(BUILD_TYPE) build\n'
65 @$(MAKE) -f Makefile.perf --no-print-directory -j$(JOBS) O=$(FULL_O) $(SET_DEBUG) $@
85 rest := $(filter-out clean,$(MAKECMDGOALS))
96 $(make) -j1
99 # The build-test target is not really parallel, don't print the jobs info,
106 # make -C tools/perf -f tests/make
108 build-test:
109 …@$(MAKE) SHUF=1 -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-director…
111 build-test-tarball:
112 @$(MAKE) -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory out