aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2010-10-30 00:54:26 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2010-10-30 00:54:26 +0000
commitbaaadb2672e70916eb7e35b48b5ca34bec772fb8 (patch)
tree86cdaba77d5dcbba224ae9c59a2ad5f569f65a4d /tools/Makefile
parent6b5252db2db5eeeadec4602329ac56beb6dea54a (diff)
downloadexternal_llvm-baaadb2672e70916eb7e35b48b5ca34bec772fb8.zip
external_llvm-baaadb2672e70916eb7e35b48b5ca34bec772fb8.tar.gz
external_llvm-baaadb2672e70916eb7e35b48b5ca34bec772fb8.tar.bz2
Add polly support to the build system.
Update the cmake and autoconf build system to compile polly as a shared library if it is checked out into tools/polly. In case polly is not checked out, nothing changes. This models the way clang can be added to llvm if checked out to tools/clang. Also rebuild configure. Patch contributed by ether. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index aa07a2b..84ffa06 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -57,4 +57,8 @@ ifeq ($(ENABLE_PIC),1)
endif
endif
+ifdef LLVM_HAS_POLLY
+ PARALLEL_DIRS += polly
+endif
+
include $(LEVEL)/Makefile.common