summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongbin Zheng <etherzhhb@gmail.com>2012-03-30 09:27:07 +0000
committerHongbin Zheng <etherzhhb@gmail.com>2012-03-30 09:27:07 +0000
commit2700adebfaa268c415d295e27614eec0933b3554 (patch)
treee7a0962775c183f6a4e307d0f9c6e2efb73f1b8f
parentfb5cd6085fc16a5062ea2ae9097e07ebacf5e998 (diff)
downloadbcm5719-llvm-2700adebfaa268c415d295e27614eec0933b3554.tar.gz
bcm5719-llvm-2700adebfaa268c415d295e27614eec0933b3554.zip
Autoconf build: Try to update LLVMPolly.so before running regression tests
llvm-svn: 153738
-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