All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/opencl-clhpp: new package
@ 2022-01-16 17:53 Gilles Talis
  2022-01-16 17:53 ` [Buildroot] [PATCH v2 2/2] package/clpeak: " Gilles Talis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gilles Talis @ 2022-01-16 17:53 UTC (permalink / raw)
  To: buildroot; +Cc: Gilles Talis

opencl-clhpp are the OpenCL API C++ bindings

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/opencl-clhpp/Config.in         | 10 ++++++++++
 package/opencl-clhpp/opencl-clhpp.hash |  3 +++
 package/opencl-clhpp/opencl-clhpp.mk   | 16 ++++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/opencl-clhpp/Config.in
 create mode 100644 package/opencl-clhpp/opencl-clhpp.hash
 create mode 100644 package/opencl-clhpp/opencl-clhpp.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index a91e2dfcde..483afa4932 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1084,6 +1084,7 @@ F:	package/libeXosip2/
 F:	package/libolm/
 F:	package/libosip2/
 F:	package/ocrad/
+F:	package/opencl-clhpp/
 F:	package/opusfile/
 F:	package/restclient-cpp/
 F:	package/tesseract-ocr/
diff --git a/package/Config.in b/package/Config.in
index 4df1474b91..08eb3ad809 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1564,6 +1564,7 @@ menu "Graphics"
 	source "package/libvips/Config.in"
 	source "package/libwpe/Config.in"
 	source "package/menu-cache/Config.in"
+	source "package/opencl-clhpp/Config.in"
 	source "package/opencv3/Config.in"
 	source "package/opencv4/Config.in"
 	source "package/opengl/Config.in"
diff --git a/package/opencl-clhpp/Config.in b/package/opencl-clhpp/Config.in
new file mode 100644
index 0000000000..12045be055
--- /dev/null
+++ b/package/opencl-clhpp/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_OPENCL_CLHPP
+	bool "opencl-clhpp"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  opencl-clhpp are the OpenCL API C++ bindings
+
+	  http://github.khronos.org/OpenCL-CLHPP/
+
+comment "opencl-clhpp needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/opencl-clhpp/opencl-clhpp.hash b/package/opencl-clhpp/opencl-clhpp.hash
new file mode 100644
index 0000000000..27b27cd80c
--- /dev/null
+++ b/package/opencl-clhpp/opencl-clhpp.hash
@@ -0,0 +1,3 @@
+# Locally Computed
+sha256  869456032e60787eed9fceaeaf6c6cb4452bc0ff97e0f5a271510145a1c8f4d4  opencl-clhpp-2.0.16.tar.gz
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.txt
diff --git a/package/opencl-clhpp/opencl-clhpp.mk b/package/opencl-clhpp/opencl-clhpp.mk
new file mode 100644
index 0000000000..610cd45b62
--- /dev/null
+++ b/package/opencl-clhpp/opencl-clhpp.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# opencl-clhpp
+#
+################################################################################
+
+OPENCL_CLHPP_VERSION = 2.0.16
+OPENCL_CLHPP_SITE = $(call github,KhronosGroup,OpenCL-CLHPP,v$(OPENCL_CLHPP_VERSION))
+OPENCL_CLHPP_LICENSE = Apache-2.0
+OPENCL_CLHPP_LICENSE_FILES = LICENSE.txt
+OPENCL_CLHPP_INSTALL_STAGING = YES
+
+# OpenCL_CLHPP is a header-only library
+OPENCL_CLHPP_INSTALL_TARGET = NO
+
+$(eval $(cmake-package))
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-27  7:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-16 17:53 [Buildroot] [PATCH 1/2] package/opencl-clhpp: new package Gilles Talis
2022-01-16 17:53 ` [Buildroot] [PATCH v2 2/2] package/clpeak: " Gilles Talis
2022-07-26 21:09   ` Romain Naour
2022-07-27  7:32   ` Thomas Petazzoni via buildroot
2022-07-26 20:39 ` [Buildroot] [PATCH 1/2] package/opencl-clhpp: " Romain Naour
2022-07-27  7:29 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.