Diff ucx-1.10.0_rc5 with a ucx-1.13.0
| /usr/portage/sys-cluster/ucx/ucx-1.13.0.ebuild 2024-08-08 10:48:54.064782005 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 1999-2024 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 |
inherit autotools |
|
| 6 |
inherit autotools toolchain-funcs |
|
| 7 | 7 | |
| 8 | 8 |
MY_PV=${PV/_/-}
|
| 9 | 9 |
DESCRIPTION="Unified Communication X" |
| ... | ... | |
| 23 | 23 |
DEPEND="${RDEPEND}"
|
| 24 | 24 | |
| 25 | 25 |
PATCHES=( |
| 26 |
"${FILESDIR}"/${PN}-1.10.0_rc5-drop-werror.patch
|
|
| 26 |
"${FILESDIR}"/${PN}-1.13.0-drop-werror.patch
|
|
| 27 |
"${FILESDIR}"/${PN}-1.13.0-fix-bashisms.patch
|
|
| 28 |
"${FILESDIR}"/${PN}-1.13.0-fix-fcntl-include-musl.patch
|
|
| 29 |
"${FILESDIR}"/${PN}-1.13.0-cstdint-include.patch
|
|
| 30 |
"${FILESDIR}"/${P}-binutils-2.39-ptr-typedef.patch
|
|
| 27 | 31 |
) |
| 28 | 32 | |
| 33 |
pkg_pretend() {
|
|
| 34 |
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
| 35 |
} |
|
| 36 | ||
| 37 |
pkg_setup() {
|
|
| 38 |
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
| 39 |
} |
|
| 40 | ||
| 29 | 41 |
src_prepare() {
|
| 30 | 42 |
default |
| 31 | 43 |
eautoreconf |
| 32 | 44 |
} |
| 33 | 45 | |
| 34 | 46 |
src_configure() {
|
| 35 |
BASE_CFLAGS="" \ |
|
| 36 |
econf \ |
|
| 47 |
BASE_CFLAGS="" econf \ |
|
| 37 | 48 |
--disable-compiler-opt \ |
| 49 |
--without-fuse3 \ |
|
| 50 |
--without-go \ |
|
| 38 | 51 |
$(use_enable numa) \ |
| 39 | 52 |
$(use_enable openmp) |
| 40 | 53 |
} |