Initial Commit
- initial default booting image
This commit is contained in:
14
package/opencl-clhpp/Config.in
Normal file
14
package/opencl-clhpp/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_OPENCL_CLHPP
|
||||
bool "opencl-clhpp"
|
||||
# header only library, so there is no build per-se, but
|
||||
# packages depending on us will need C++ support
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_HAS_LIBOPENCL
|
||||
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_PACKAGE_HAS_LIBOPENCL
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
3
package/opencl-clhpp/opencl-clhpp.hash
Normal file
3
package/opencl-clhpp/opencl-clhpp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally Computed
|
||||
sha256 c1031afde6e9eb042e6fcfbc17078f4b437a7e8d55482a1ca6e0fa762d262a89 opencl-clhpp-2025.07.22.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
|
||||
34
package/opencl-clhpp/opencl-clhpp.mk
Normal file
34
package/opencl-clhpp/opencl-clhpp.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user