[Buildroot] [git commit] package/opencl-clhpp: add dependency on libopencl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jul 27 07:30:06 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=1fe93a688a49ecba734cb9d6b8735d441e8e8715
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Even though opencl-clhpp's build does not need libopencl, as it's just
made of headers, any user of opencl-clhpp will assume libopencl is
already installed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/opencl-clhpp/opencl-clhpp.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/opencl-clhpp/opencl-clhpp.mk b/package/opencl-clhpp/opencl-clhpp.mk
index ab52d80547..933b40e3fe 100644
--- a/package/opencl-clhpp/opencl-clhpp.mk
+++ b/package/opencl-clhpp/opencl-clhpp.mk
@@ -8,6 +8,7 @@ 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_DEPENDENCIES = libopencl
 OPENCL_CLHPP_INSTALL_STAGING = YES
 
 # OpenCL_CLHPP is a header-only library



More information about the buildroot mailing list