mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 12:30:34 -09:00
Synchronizes with OpenCL v3.0.19 specification release. Releases: https://github.com/KhronosGroup/OpenCL-Headers/releases/tag/v2025.07.22 https://github.com/KhronosGroup/OpenCL-ICD-Loader/releases/tag/v2025.07.22 https://github.com/KhronosGroup/OpenCL-CLHPP/releases/tag/v2025.07.22 Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr> [Julien: factorize package names in commit log title] Signed-off-by: Julien Olivain <ju.o@free.fr>
35 lines
1.2 KiB
Makefile
35 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# opencl-clhpp
|
|
#
|
|
################################################################################
|
|
|
|
# The opencl-headers, opencl-icd-loader, and opencl-clhpp packages
|
|
# must always be updated together to compatible versions.
|
|
# Version desynchronization may result in build or runtime errors.
|
|
# When updating one of them, make sure to check and update the others.
|
|
|
|
OPENCL_CLHPP_VERSION = 2025.07.22
|
|
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
|
|
OPENCL_CLHPP_INSTALL_TARGET = NO
|
|
|
|
# This package has a CMake build system, and it checks for C++11
|
|
# compliant compiler, but all we need to do is install two headers, so
|
|
# let's do it manually.
|
|
OPENCL_CLHPP_HEADERS = cl2.hpp opencl.hpp
|
|
|
|
define OPENCL_CLHPP_INSTALL_STAGING_CMDS
|
|
$(foreach header,$(OPENCL_CLHPP_HEADERS), \
|
|
$(INSTALL) -D -m 0644 $(@D)/include/CL/$(header) \
|
|
$(STAGING_DIR)/usr/include/CL/$(header)
|
|
)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|