Сравнение volk-3.0.0-r1 с volk-9999
/usr/portage/sci-libs/volk/volk-9999.ebuild 2023-10-09 14:52:35.104368492 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
DESCRIPTION="vector optimized library of kernels" |
13 | 13 |
HOMEPAGE="http://libvolk.org" |
14 |
SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" |
|
14 | ||
15 |
if [[ "${PV}" == "9999" ]]; then |
|
16 |
inherit git-r3 |
|
17 |
EGIT_REPO_URI="https://github.com/gnuradio/volk.git" |
|
18 |
else |
|
19 |
SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" |
|
20 |
KEYWORDS="~amd64 ~arm ~riscv ~x86" |
|
21 |
fi |
|
15 | 22 | |
16 | 23 |
LICENSE="GPL-3" |
17 | 24 |
SLOT="0/$(ver_cut 1-2)" |
18 |
KEYWORDS="~amd64 ~arm ~riscv ~x86" |
|
19 | 25 |
IUSE="orc test" |
20 | 26 | |
21 | 27 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
... | ... | |
41 | 47 |
# Remove stray python files generated by the build system |
42 | 48 |
find "${ED}" -name '*.pyc' -exec rm -f {} \; || die |
43 | 49 |
find "${ED}" -name '*.pyo' -exec rm -f {} \; || die |
44 |
# https://github.com/gnuradio/volk/issues/626 |
|
45 |
rm -f "${ED}/usr/bin/list_cpu_features" |
|
46 |
rm -rf "${ED}/usr/include/cpu_features" |
|
47 |
rm -rf "${ED}/usr/$(get_libdir)/cmake/CpuFeatures" |
|
48 |
rm -rf "${ED}/usr/lib64/libcpu_features.a" |
|
49 | 50 |
python_optimize |
50 | 51 |
} |
51 | 52 |