[beignet] 02/04: Disable OpenCL 2.0 on i386, as it is likely to crash. Closes: #855651
Rebecca Palmer
rnpalmer-guest at moszumanska.debian.org
Tue Feb 21 23:11:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
rnpalmer-guest pushed a commit to branch master
in repository beignet.
commit e277c6c928e2793650fd3f7f778b183af570fe51
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date: Tue Feb 21 08:19:05 2017 +0000
Disable OpenCL 2.0 on i386, as it is likely to crash.
Closes: #855651
---
debian/changelog | 2 ++
debian/rules | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4054f2d..9080dca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ beignet (1.3.0-2) UNRELEASED; urgency=medium
* Statically link to LLVM to allow installation together with
mesa-opencl-icd (workaround for #852746).
+ * Disable OpenCL 2.0 on i386, as it is likely to crash.
+ (Closes: #855651)
-- Rebecca N. Palmer <rebecca_palmer at zoho.com> Tue, 21 Feb 2017 07:34:02 +0000
diff --git a/debian/rules b/debian/rules
index 20204a5..302dd30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ LLVM_VERSION_MESA := $(shell dpkg-query -f '$${Depends} \n' -W libgl1-mesa-dri:$
LLVM_VERSION_DEFAULT = 3.9
LLVM_VERSION = $(or $(LLVM_VERSION_MESA),$(LLVM_VERSION_DEFAULT))
#this looks the wrong way round because --compare-versions uses success=0 and we need on=1
-CAN_ENABLE_OPENCL2 := $(shell dpkg --compare-versions $(LLVM_VERSION) lt 3.9 || dpkg --compare-versions `dpkg-query -f '$${Version}' -W libdrm-dev:$(DEB_HOST_ARCH)` lt 2.4.66 ; echo $$?)
+CAN_ENABLE_OPENCL2 := $(if $(findstring amd64,$(DEB_HOST_ARCH)),$(shell dpkg --compare-versions $(LLVM_VERSION) lt 3.9 || dpkg --compare-versions `dpkg-query -f '$${Version}' -W libdrm-dev:$(DEB_HOST_ARCH)` lt 2.4.66 ; echo $$?),0)
override_dh_auto_configure:
$(RM) $(patsubst %,include/CL/%,$(SUPERFLUOUS))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git
More information about the Pkg-opencl-commits
mailing list