aboutsummaryrefslogtreecommitdiff
path: root/lang/beignet
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-10-06 22:04:57 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-10-06 22:04:57 +0000
commitee6352e8f18b3134b6f8762cf9d0ca6e82722af7 (patch)
treee5d3a780fea3efe0b9d786e82109fd67ab900a87 /lang/beignet
parentbae118b0227c7cb577799e0068d0ae00b115fc86 (diff)
downloadports-ee6352e8f18b3134b6f8762cf9d0ca6e82722af7.tar.gz
ports-ee6352e8f18b3134b6f8762cf9d0ca6e82722af7.zip
Notes
Diffstat (limited to 'lang/beignet')
-rw-r--r--lang/beignet/Makefile15
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: