Сравнение pocl-3.1 с pocl-4.0

/usr/portage/dev-libs/pocl/pocl-4.0.ebuild 2023-10-09 14:52:29.752368357 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
LLVM_MAX_SLOT=15
7

  
6
LLVM_MAX_SLOT=16
8 7
inherit cmake llvm
9 8

  
10 9
DESCRIPTION="Portable Computing Language (an implementation of OpenCL)"
......
42 41
"
43 42

  
44 43
llvm_check_deps() {
45
	local usedep=$(usex cuda "[llvm_targets_NVPTX]" '')
44
	local usedep=$(usev cuda "[llvm_targets_NVPTX]")
46 45

  
47 46
	# Clang is used at both build time (executed) and runtime
48 47
	has_version -r "sys-devel/llvm:${LLVM_SLOT}${usedep}" && \
......
50 49
		has_version -b "sys-devel/clang:${LLVM_SLOT}${usedep}"
51 50
}
52 51

  
53
PATCHES=(
54
	"${FILESDIR}"/${P}-nodebug.patch
55
	"${FILESDIR}"/${P}-c++11.patch
56
)
57

  
58
pkg_setup() {
59
	llvm_pkg_setup
60
}
61

  
62 52
src_configure() {
63 53
	local host_cpu_variants="generic"
64 54

  
......
101 91
	cmake_src_configure
102 92
}
103 93

  
104
src_compile() {
105
	cmake_src_compile
106
}
107

  
108 94
src_test() {
109 95
	export POCL_BUILDING=1
110 96
	export POCL_DEVICES=basic
Спасибо!