Date: Fri, 6 Oct 2017 22:04:58 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451412 - head/lang/beignet Message-ID: <201710062204.v96M4wUB090891@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Oct 6 22:04:57 2017 New Revision: 451412 URL: https://svnweb.freebsd.org/changeset/ports/451412 Log: lang/beignet: make OpenCL 2.0 optional on amd64 This is mainly to aid debugging OpenCL 2.0 issues and help testing OpenCL 1.2 without relying on kernel translating 32bit DRM ioctls. PR: 217771 Approved by: maintainer timeout (2 months) MFH: 2017Q2 (requires r437953), 2017Q3 Differential Revision: https://reviews.freebsd.org/D11377 Modified: head/lang/beignet/Makefile (contents, props changed) Modified: head/lang/beignet/Makefile ============================================================================== --- head/lang/beignet/Makefile Fri Oct 6 22:04:43 2017 (r451411) +++ head/lang/beignet/Makefile Fri Oct 6 22:04:57 2017 (r451412) @@ -3,7 +3,7 @@ PORTNAME= beignet PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= -source CATEGORIES= lang MASTER_SITES= https://01.org/sites/default/files/ @@ -33,15 +33,20 @@ LLVMVER= ${MESA_LLVM_VER:U39} CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config${LLVMVER} -PLIST_SUB= OCL20=${"${ARCH:Mamd64}" != "":?"":"@comment "} - ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Beignet needs a graphics driver supported by the Intel KMS driver -OPTIONS_DEFINE= FP64 TEST -FP64_DESC= Double precision (experimental) +OPTIONS_DEFINE= FP64 OCL20 TEST +OPTIONS_DEFAULT= OCL20 +OPTIONS_EXCLUDE_i386= OCL20 +OPTIONS_SUB= yes +FP64_DESC= Double precision (experimental) FP64_CMAKE_BOOL= EXPERIMENTAL_DOUBLE + +OCL20_DESC= OpenCL 2.0 support +OCL20_CMAKE_BOOL= ENABLE_OPENCL_20 + TEST_ALL_TARGET= flat_address_space utest_run post-patch:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710062204.v96M4wUB090891>