Permalink
Browse files

Make building of llvm-jitlistener conditional on the USE_INTEL_JITEVE…

…NTS setting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168665 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information...
Andrew Kaylor
Andrew Kaylor committed Nov 27, 2012
1 parent 388ffa7 commit b709f9fe5a578e05c371ff58771b9d1582ff259f
Showing with 6 additions and 1 deletion.
  1. +6 −1 tools/Makefile
View
@@ -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 :=

0 comments on commit b709f9f

Please sign in to comment.