diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-03-07 10:50:20 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-03-08 09:30:50 -0500 |
commit | 5fb3d8b7b50d2101b0c15d2e90264deb7a01c2d8 (patch) | |
tree | 2f0af2523023eca22a12d8ecab6d33ed484490bc | |
parent | 36f9dc33b9128b85e096f6fff83e05d49448b28e (diff) |
perf build: Force llvm/clang test compile output to .make.output
So we can see the output of feature compile in following files:
tools/build/feature/test-llvm.make.output
tools/build/feature/test-llvm-version.make.output
tools/build/feature/test-clang.make.output
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180307155020.32613-20-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/build/feature/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index f8ad640ffe5d..dac9563b5470 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile | |||
@@ -260,11 +260,13 @@ $(OUTPUT)test-llvm.bin: | |||
260 | -I$(shell $(LLVM_CONFIG) --includedir) \ | 260 | -I$(shell $(LLVM_CONFIG) --includedir) \ |
261 | -L$(shell $(LLVM_CONFIG) --libdir) \ | 261 | -L$(shell $(LLVM_CONFIG) --libdir) \ |
262 | $(shell $(LLVM_CONFIG) --libs Core BPF) \ | 262 | $(shell $(LLVM_CONFIG) --libs Core BPF) \ |
263 | $(shell $(LLVM_CONFIG) --system-libs) | 263 | $(shell $(LLVM_CONFIG) --system-libs) \ |
264 | > $(@:.bin=.make.output) 2>&1 | ||
264 | 265 | ||
265 | $(OUTPUT)test-llvm-version.bin: | 266 | $(OUTPUT)test-llvm-version.bin: |
266 | $(BUILDXX) -std=gnu++11 \ | 267 | $(BUILDXX) -std=gnu++11 \ |
267 | -I$(shell $(LLVM_CONFIG) --includedir) | 268 | -I$(shell $(LLVM_CONFIG) --includedir) \ |
269 | > $(@:.bin=.make.output) 2>&1 | ||
268 | 270 | ||
269 | $(OUTPUT)test-clang.bin: | 271 | $(OUTPUT)test-clang.bin: |
270 | $(BUILDXX) -std=gnu++11 \ | 272 | $(BUILDXX) -std=gnu++11 \ |
@@ -274,7 +276,8 @@ $(OUTPUT)test-clang.bin: | |||
274 | -lclangFrontend -lclangEdit -lclangLex \ | 276 | -lclangFrontend -lclangEdit -lclangLex \ |
275 | -lclangAST -Wl,--end-group \ | 277 | -lclangAST -Wl,--end-group \ |
276 | $(shell $(LLVM_CONFIG) --libs Core option) \ | 278 | $(shell $(LLVM_CONFIG) --libs Core option) \ |
277 | $(shell $(LLVM_CONFIG) --system-libs) | 279 | $(shell $(LLVM_CONFIG) --system-libs) \ |
280 | > $(@:.bin=.make.output) 2>&1 | ||
278 | 281 | ||
279 | -include $(OUTPUT)*.d | 282 | -include $(OUTPUT)*.d |
280 | 283 | ||