summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpolly/test/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/polly/test/Makefile b/polly/test/Makefile
index 24b7338e3cd..e3c08599cfe 100755
--- a/polly/test/Makefile
+++ b/polly/test/Makefile
@@ -31,13 +31,17 @@ ifdef VG
LIT_ARGS += "--vg"
endif
-polly-test:: lit.site.cfg
+
+polly-test:: lit.site.cfg polly-lib
@ echo '--- Running polly tests for $(TARGET_TRIPLE) ---'
@ $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py \
$(LIT_ARGS) $(TESTARGS) $(TESTDIRS)
FORCE:
+polly-lib: FORCE
+ $(MAKE) -C ../lib || exit 1;
+
lit.site.cfg: FORCE
@echo "Making Polly 'lit.site.cfg' file..."
@sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \
OpenPOWER on IntegriCloud