1 |
commit: af314bd8051ea229217c0379113466961f68a869 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 9 10:42:09 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 10:42:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af314bd8 |
7 |
|
8 |
sys-cluster/ucx: add 1.13.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-cluster/ucx/Manifest | 1 + |
13 |
sys-cluster/ucx/ucx-1.13.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/ucx/Manifest b/sys-cluster/ucx/Manifest |
17 |
index bc29771e377d..3acad591f877 100644 |
18 |
--- a/sys-cluster/ucx/Manifest |
19 |
+++ b/sys-cluster/ucx/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST ucx-1.10.0_rc5.tar.gz 2399950 BLAKE2B f6f78d2a3e0cd7f252354d59b9d667992c5f9f4d8ee4a41356decf4a1ed72382d8ce5213395bc6bacf1d8658f95808082cc0f825230857ddbbff19ed060efa5c SHA512 b772ad030e80bc5b0ab25d590117950d363f5f7ea1b7ed5ce0bba285d0a932205ee4d73705c094cef077c751b1cf8b6efdd4608c7df6b39d813771a0a31460ac |
22 |
DIST ucx-1.13.0.tar.gz 2770439 BLAKE2B 779bf7913ec1d0f5aebfd12d4eda90c83f6dae746e82bb818c4d981f6f564ecb37b6e003c3718db4ad74f25aa19fcbeb0ff98ed6349e254b7c707b4dda3c8974 SHA512 bea02adeb5c4286df360cfe788b40afde3e0404c659678497b53e753851e091de766f32aef39bd6f76e71802c88f0e0ed49c31af0c908ce2d9f3edc79ed6f933 |
23 |
+DIST ucx-1.13.1.tar.gz 2979566 BLAKE2B c175f876dda923062a1350b2f3939aca1c9ce3b8a0ee2a50bcc35c72b9f622cc7f4b740194dfdf2b28f56050f05cf4305d903ca0fb35496090691097f2f6d02b SHA512 8ca0876b55326deaf9f756ad8b60b2f6b96d8107d8fc4b9c58b3aad99b161b5a6c4c8a64a924ce35899012959c2d4479eac0309bec05227cf06ffc83dbfc2f6f |
24 |
DIST ucx-1.9.0.tar.gz 2467338 BLAKE2B 4d2d18c530f99a56baeb1dec88a7dba813970d3f501eb08f637dc7cefcfe5e564bc121e50c1842ea94e927a0fd657847c571241e3dd9601cdde207729d32d721 SHA512 2e8507e9cbba9ea445efdf8be5b5128dfc76cce30111805e9f7a5618bbbbb77d2bb449b6ad5e415f086b3156b63128306671d3a906583248cde720edb4241c67 |
25 |
|
26 |
diff --git a/sys-cluster/ucx/ucx-1.13.1.ebuild b/sys-cluster/ucx/ucx-1.13.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..382955d373c3 |
29 |
--- /dev/null |
30 |
+++ b/sys-cluster/ucx/ucx-1.13.1.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit autotools toolchain-funcs |
38 |
+ |
39 |
+MY_PV=${PV/_/-} |
40 |
+DESCRIPTION="Unified Communication X" |
41 |
+HOMEPAGE="https://www.openucx.org" |
42 |
+SRC_URI="https://github.com/openucx/ucx/releases/download/v${PV}/${P}.tar.gz" |
43 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 -riscv ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="+numa +openmp" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ sys-libs/binutils-libs:= |
52 |
+ numa? ( sys-process/numactl ) |
53 |
+" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+ |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}"/${PN}-1.13.0-drop-werror.patch |
58 |
+ "${FILESDIR}"/${PN}-1.13.0-fix-bashisms.patch |
59 |
+ "${FILESDIR}"/${PN}-1.13.0-fix-fcntl-include-musl.patch |
60 |
+ "${FILESDIR}"/${PN}-1.13.0-cstdint-include.patch |
61 |
+ "${FILESDIR}"/${PN}-1.13.0-binutils-2.39-ptr-typedef.patch |
62 |
+) |
63 |
+ |
64 |
+pkg_pretend() { |
65 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
66 |
+} |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ BASE_CFLAGS="" econf \ |
79 |
+ --disable-compiler-opt \ |
80 |
+ --without-fuse3 \ |
81 |
+ --without-go \ |
82 |
+ $(use_enable numa) \ |
83 |
+ $(use_enable openmp) |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ BASE_CFLAGS="" emake |
88 |
+} |