From c6618d497b020ac3f1660403b5229591e53a6356 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 31 Oct 2020 21:35:22 +0100 Subject: [PATCH] fail the build in case of version mistmatch --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 45c22709..84020d9e 100755 --- a/debian/rules +++ b/debian/rules @@ -407,6 +407,7 @@ override_dh_auto_configure: preconfigure FOUND_VERSION=`grep LLVM_VERSION_STRING build-llvm/include/llvm/Config/llvm-config.h|cut -d\" -f2`; \ if ! echo "$(LLVM_VERSION_FULL)"|grep "$$FOUND_VERSION"; then \ echo "mistmatch of version. Found: $$FOUND_VERSION / Expected: $(LLVM_VERSION_FULL)"; \ + exit 1; \ fi # make