Diff spirv-llvm-translator-15.0.0-r1 with a spirv-llvm-translator-16.0.0-r1
/usr/portage/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild 2023-10-09 14:52:31.004368388 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
LLVM_MAX_SLOT="15" |
|
6 |
LLVM_MAX_SLOT="16" |
|
7 | 7 |
MY_PN="SPIRV-LLVM-Translator" |
8 | 8 |
MY_P="${MY_PN}-${PV}" |
9 | 9 | |
10 |
inherit cmake flag-o-matic llvm |
|
10 |
inherit cmake flag-o-matic llvm multiprocessing |
|
11 | 11 | |
12 | 12 |
DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" |
13 | 13 |
HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" |
... | ... | |
35 | 35 |
) |
36 | 36 |
" |
37 | 37 | |
38 |
PATCHES=( |
|
39 |
"${FILESDIR}/${PN}-16.0.0-llvm-link-llvm-dylib.patch" |
|
40 |
"${FILESDIR}/${PN}-16.0.0-ld_library_path.patch" |
|
41 |
) |
|
42 | ||
38 | 43 |
src_prepare() { |
39 | 44 |
append-flags -fPIC |
40 | 45 |
cmake_src_prepare |
... | ... | |
53 | 58 |
} |
54 | 59 | |
55 | 60 |
src_test() { |
56 |
lit "${BUILD_DIR}/test" || die |
|
61 |
lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die |
|
57 | 62 |
} |