[pocl] 12/17: introduce POCL_CONFIGURE_FLAGS

Andreas Beckmann anbe at moszumanska.debian.org
Sun Nov 26 03:19:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository pocl.

commit 353ee152f38c2ca36d9745dd3199dcb69d04f5b3
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Nov 24 20:59:23 2017 +0100

    introduce POCL_CONFIGURE_FLAGS
---
 debian/rules | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index a72a084..a7f9c66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,6 +46,12 @@ endif
 .PHONY: override_dh_auto_configure override_dh_shlibdeps override_dh_install
 .PHONY: override_dh_auto_test override_dh_makeshlibs
 
+POCL_CONFIGURE_FLAGS	 =
+POCL_CONFIGURE_FLAGS	+= --enable-icd
+POCL_CONFIGURE_FLAGS	+= --disable-static
+POCL_CONFIGURE_FLAGS	+= --disable-direct-linkage
+POCL_CONFIGURE_FLAGS	+= LLVM_CONFIG=/usr/bin/llvm-config-$(LLVM_VERSION)
+
 override_dh_autoreconf:
 ifeq ($(LLVM_ARCH),)
 	$(warning Experimental architecture. Build failure expected)
@@ -55,9 +61,7 @@ endif
 	dh_autoreconf --as-needed autoreconf -- -vif -Wall -Wno-obsolete
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-icd --disable-static \
-		--disable-direct-linkage \
-		LLVM_CONFIG=/usr/bin/llvm-config-$(LLVM_VERSION)
+	dh_auto_configure -- $(POCL_CONFIGURE_FLAGS)
 
 override_dh_auto_build-indep:
 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/pocl.git



More information about the Pkg-opencl-commits mailing list