diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-10-07 06:04:57 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-10-07 06:04:57 +0800 |
commit | 5a3ff89ac7c847ff84b3fae0d7b6b39c19c25d5e (patch) | |
tree | e5d3a780fea3efe0b9d786e82109fd67ab900a87 /lang/beignet | |
parent | 4377c7aae2654058a888c029a510f012ca837122 (diff) | |
download | freebsd-ports-gnome-5a3ff89ac7c847ff84b3fae0d7b6b39c19c25d5e.tar.gz freebsd-ports-gnome-5a3ff89ac7c847ff84b3fae0d7b6b39c19c25d5e.tar.zst freebsd-ports-gnome-5a3ff89ac7c847ff84b3fae0d7b6b39c19c25d5e.zip |
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
Diffstat (limited to 'lang/beignet')
-rw-r--r-- | lang/beignet/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lang/beignet/Makefile b/lang/beignet/Makefile index bcc119b0fbff..30ac7b605798 100644 --- a/lang/beignet/Makefile +++ b/lang/beignet/Makefile @@ -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: |