summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parallel/Makefile3
-rw-r--r--parallel/opencl-headers/DESCR6
-rw-r--r--parallel/opencl-headers/Makefile17
-rw-r--r--parallel/opencl-headers/PLIST21
-rw-r--r--parallel/opencl-headers/buildlink3.mk13
-rw-r--r--parallel/opencl-headers/distinfo6
6 files changed, 65 insertions, 1 deletions
diff --git a/parallel/Makefile b/parallel/Makefile
index 5c3e9145f10..a0401773d1c 100644
--- a/parallel/Makefile
+++ b/parallel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2021/06/09 15:11:46 nia Exp $
+# $NetBSD: Makefile,v 1.32 2021/06/09 15:19:57 nia Exp $
#
COMMENT= Applications dealing with parallelism in computing
@@ -15,6 +15,7 @@ SUBDIR+= linda
SUBDIR+= lua-lanes
SUBDIR+= mpi-ch
SUBDIR+= opencl-clang
+SUBDIR+= opencl-headers
SUBDIR+= openmp
SUBDIR+= openmpi
SUBDIR+= openpa
diff --git a/parallel/opencl-headers/DESCR b/parallel/opencl-headers/DESCR
new file mode 100644
index 00000000000..0a17928b798
--- /dev/null
+++ b/parallel/opencl-headers/DESCR
@@ -0,0 +1,6 @@
+OpenCL (Open Computing Language) is an open, royalty-free standard for
+cross-platform, parallel programming of diverse accelerators found in
+supercomputers, cloud servers, personal computers, mobile devices and
+embedded platforms.
+
+This package contains C language headers for the OpenCL API.
diff --git a/parallel/opencl-headers/Makefile b/parallel/opencl-headers/Makefile
new file mode 100644
index 00000000000..1cd05a20814
--- /dev/null
+++ b/parallel/opencl-headers/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/06/09 15:19:57 nia Exp $
+
+DISTNAME= OpenCL-Headers-v2021.04.29
+PKGNAME= ${DISTNAME:tl:S/-v/-/1}
+CATEGORIES= parallel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=KhronosGroup/}
+GITHUB_PROJECT= OpenCL-Headers
+GITHUB_TAG= ${DISTNAME:S/^OpenCL-Headers-//1}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/KhronosGroup/OpenCL-Headers
+COMMENT= C language headers for the OpenCL API
+LICENSE= apache-2.0
+
+USE_CMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/parallel/opencl-headers/PLIST b/parallel/opencl-headers/PLIST
new file mode 100644
index 00000000000..2c1c112f392
--- /dev/null
+++ b/parallel/opencl-headers/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/09 15:19:57 nia Exp $
+include/CL/cl.h
+include/CL/cl_d3d10.h
+include/CL/cl_d3d11.h
+include/CL/cl_dx9_media_sharing.h
+include/CL/cl_dx9_media_sharing_intel.h
+include/CL/cl_egl.h
+include/CL/cl_ext.h
+include/CL/cl_ext_intel.h
+include/CL/cl_gl.h
+include/CL/cl_gl_ext.h
+include/CL/cl_half.h
+include/CL/cl_icd.h
+include/CL/cl_layer.h
+include/CL/cl_platform.h
+include/CL/cl_va_api_media_sharing_intel.h
+include/CL/cl_version.h
+include/CL/opencl.h
+share/cmake/OpenCLHeaders/OpenCLHeadersConfig.cmake
+share/cmake/OpenCLHeaders/OpenCLHeadersConfigVersion.cmake
+share/cmake/OpenCLHeaders/OpenCLHeadersTargets.cmake
diff --git a/parallel/opencl-headers/buildlink3.mk b/parallel/opencl-headers/buildlink3.mk
new file mode 100644
index 00000000000..18098c584e7
--- /dev/null
+++ b/parallel/opencl-headers/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/06/09 15:19:57 nia Exp $
+
+BUILDLINK_TREE+= opencl-headers
+
+.if !defined(OPENCL_HEADERS_BUILDLINK3_MK)
+OPENCL_HEADERS_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.opencl-headers?= build
+BUILDLINK_API_DEPENDS.opencl-headers+= opencl-headers>=2021.04.29
+BUILDLINK_PKGSRCDIR.opencl-headers?= ../../parallel/opencl-headers
+.endif # OPENCL_HEADERS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -opencl-headers
diff --git a/parallel/opencl-headers/distinfo b/parallel/opencl-headers/distinfo
new file mode 100644
index 00000000000..cdb80ef66f1
--- /dev/null
+++ b/parallel/opencl-headers/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/06/09 15:19:57 nia Exp $
+
+SHA1 (OpenCL-Headers-v2021.04.29.tar.gz) = bf4ae62f2014b81aadf05502b49e0f1a3eb9aa50
+RMD160 (OpenCL-Headers-v2021.04.29.tar.gz) = 9ee0750fcaf93dbc160465ed1e38071ecda3e21c
+SHA512 (OpenCL-Headers-v2021.04.29.tar.gz) = 370d02044c61f2394e9a8a9772b30b996074e3b51461387a570aaf1c29488844fe9090d873b2679eb4a472135bac7a9ba5590daf9d79c006de17f709afcb74e1
+Size (OpenCL-Headers-v2021.04.29.tar.gz) = 59775 bytes