Сравнение XNNPACK-2022.02.17-r1 с XNNPACK-2022.12.22
/usr/portage/sci-libs/XNNPACK/XNNPACK-2022.12.22.ebuild 2023-10-09 14:52:35.060368491 +0300 | ||
---|---|---|
1 |
# Copyright 2022 Gentoo Authors |
|
1 |
# Copyright 2022-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 |
inherit cmake |
6 | 6 | |
7 |
CommitId=84b02ad55f089598aa42a557573dc4eb6f92f3ff |
|
7 |
CommitId=51a987591a6fc9f0fc0707077f53d763ac132cbf |
|
8 | 8 | |
9 | 9 |
DESCRIPTION="library of floating-point neural network inference operators" |
10 | 10 |
HOMEPAGE="https://github.com/google/XNNPACK/" |
... | ... | |
32 | 32 |
S="${WORKDIR}"/${PN}-${CommitId} |
33 | 33 | |
34 | 34 |
PATCHES=( |
35 |
"${FILESDIR}"/${P}-gentoo.patch |
|
35 |
"${FILESDIR}"/${PN}-2022.02.17-gentoo.patch |
|
36 | 36 |
) |
37 | 37 | |
38 | 38 |
src_prepare() { |
... | ... | |
76 | 76 |
-DXNNPACK_ENABLE_JIT=$(usex jit ON OFF) |
77 | 77 |
-DXNNPACK_ENABLE_MEMOPT=$(usex memopt ON OFF) |
78 | 78 |
-DXNNPACK_ENABLE_SPARSE=$(usex sparse ON OFF) |
79 |
-DCMAKE_POSITION_INDEPENDENT_CODE=ON |
|
79 | 80 |
) |
80 | 81 | |
81 | 82 |
cmake_src_configure |
83 |
cd "${BUILD_DIR}" |
|
82 | 84 |
} |