From c5feb5109e671caa5e7eeac4e0ffd04bd5979359 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Tue, 27 Nov 2012 01:24:25 +0000 Subject: [PATCH] Make building of llvm-jitlistener conditional on the USE_INTEL_JITEVENTS setting. llvm-svn: 168665 --- llvm/tools/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/llvm/tools/Makefile b/llvm/tools/Makefile index 7872267..c405868 100644 --- a/llvm/tools/Makefile +++ b/llvm/tools/Makefile @@ -33,10 +33,15 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \ lli llvm-extract llvm-mc \ bugpoint llvm-bcanalyzer \ llvm-diff macho-dump llvm-objdump llvm-readobj \ - llvm-rtdyld llvm-dwarfdump llvm-cov llvm-jitlistener \ + llvm-rtdyld llvm-dwarfdump llvm-cov \ llvm-size llvm-stress llvm-mcmarkup \ llvm-symbolizer +# If Intel JIT Events support is configured, build an extra tool to test it. +ifeq ($(USE_INTEL_JITEVENTS), 1) + PARALLEL_DIRS += llvm-jitlistener +endif + # Let users override the set of tools to build from the command line. ifdef ONLY_TOOLS OPTIONAL_PARALLEL_DIRS := -- 2.7.4