From b55ebbeeeff8e43fe6be587c990d3c662c603128 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 23 Jun 2018 18:48:49 +0100 Subject: sys-cluster/ucx: Fix numa support Closes: https://bugs.gentoo.org/654432 Signed-off-by: Justin Lecher Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- sys-cluster/ucx/metadata.xml | 3 +++ sys-cluster/ucx/ucx-1.2.2-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++ sys-cluster/ucx/ucx-1.2.2.ebuild | 29 ----------------------------- 3 files changed, 38 insertions(+), 29 deletions(-) create mode 100644 sys-cluster/ucx/ucx-1.2.2-r1.ebuild delete mode 100644 sys-cluster/ucx/ucx-1.2.2.ebuild (limited to 'sys-cluster/ucx') diff --git a/sys-cluster/ucx/metadata.xml b/sys-cluster/ucx/metadata.xml index d11a30befa7f..6af00b86c7fa 100644 --- a/sys-cluster/ucx/metadata.xml +++ b/sys-cluster/ucx/metadata.xml @@ -9,4 +9,7 @@ cluster@gentoo.org Gentoo Cluster Project + + Add support for numa memory allocation + diff --git a/sys-cluster/ucx/ucx-1.2.2-r1.ebuild b/sys-cluster/ucx/ucx-1.2.2-r1.ebuild new file mode 100644 index 000000000000..c3bf36aa7359 --- /dev/null +++ b/sys-cluster/ucx/ucx-1.2.2-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Unified Communication X" +HOMEPAGE="http://www.openucx.org" +SRC_URI="https://github.com/openucx/ucx/releases/download/v${PV}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+numa +openmp" + +RDEPEND=" + numa? ( sys-process/numactl ) +" + +src_prepare() { + default + sed \ + -e '/BASE_CFLAGS=/s:=".*":=:g' \ + -i config/m4/compiler.m4 || die + eautoreconf +} + +src_configure() { + BASE_CFLAGS="" \ + econf \ + --disable-compiler-opt \ + $(use_enable numa) \ + $(use_enable openmp) +} diff --git a/sys-cluster/ucx/ucx-1.2.2.ebuild b/sys-cluster/ucx/ucx-1.2.2.ebuild deleted file mode 100644 index 0b581f7bf566..000000000000 --- a/sys-cluster/ucx/ucx-1.2.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Unified Communication X" -HOMEPAGE="http://www.openucx.org" -SRC_URI="https://github.com/openucx/ucx/releases/download/v${PV}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -src_prepare() { - default - sed \ - -e '/^BASE_CFLAGS/s:=.*:=:g' \ - -i config/m4/compiler.m4 || die - eautoreconf -} - -src_configure() { - BASE_CFLAGS="" \ - econf \ - --disable-compiler-opt -} -- cgit v1.2.3-65-gdbad