config BR2_PACKAGE_LIBCLC
	bool "libclc"
	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
	depends on BR2_HOST_GCC_AT_LEAST_7 # host-llvm
	select BR2_HOST_CMAKE_AT_LEAST_3_20 # cmake required version at least 3.20
	help
	  libclc is an open source, BSD licensed implementation of
	  the library requirements of the OpenCL C programming language,
	  as specified by the OpenCL 1.1 Specification.

	  http://libclc.llvm.org/

comment "libclc needs host gcc >= 7"
	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
	depends on !BR2_HOST_GCC_AT_LEAST_7
