From 27453728fb993224c9fdf4fae774a72acf223e4d Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Fri, 9 Sep 2016 16:34:19 -0600 Subject: sys-cluster/legion: build shared libs Package-Manager: portage-2.2.28 --- sys-cluster/legion/legion-16.08.0-r1.ebuild | 37 +++++++++++++++++++++++++++++ sys-cluster/legion/legion-16.08.0.ebuild | 36 ---------------------------- 2 files changed, 37 insertions(+), 36 deletions(-) create mode 100644 sys-cluster/legion/legion-16.08.0-r1.ebuild delete mode 100644 sys-cluster/legion/legion-16.08.0.ebuild (limited to 'sys-cluster') diff --git a/sys-cluster/legion/legion-16.08.0-r1.ebuild b/sys-cluster/legion/legion-16.08.0-r1.ebuild new file mode 100644 index 000000000000..8a4a9b2c23b6 --- /dev/null +++ b/sys-cluster/legion/legion-16.08.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="A data-centric parallel programming system" +HOMEPAGE="http://legion.stanford.edu/" +SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gasnet +hwloc" + +DEPEND=" + gasnet? ( >=sys-cluster/gasnet-1.26.4-r1 ) + hwloc? ( sys-apps/hwloc ) + " + +S="${WORKDIR}/${PN}-${P}" + +#https://github.com/StanfordLegion/legion/pull/166 +#https://github.com/StanfordLegion/legion/pull/167 +PATCHES=( "${FILESDIR}/${P}-hwloc.patch" "${FILESDIR}/${P}-multilib.patch" ) + +src_configure() { + mycmakeargs=( + -DLegion_USE_HWLOC=$(usex hwloc) + -DLegion_USE_GASNet=$(usex gasnet) + -DBUILD_SHARED_LIBS=ON + -DLIB=$(get_libdir) + ) + cmake-utils_src_configure +} diff --git a/sys-cluster/legion/legion-16.08.0.ebuild b/sys-cluster/legion/legion-16.08.0.ebuild deleted file mode 100644 index 534945d1aed2..000000000000 --- a/sys-cluster/legion/legion-16.08.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="A data-centric parallel programming system" -HOMEPAGE="http://legion.stanford.edu/" -SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="gasnet +hwloc" - -DEPEND=" - gasnet? ( sys-cluster/gasnet ) - hwloc? ( sys-apps/hwloc ) - " - -S="${WORKDIR}/${PN}-${P}" - -#https://github.com/StanfordLegion/legion/pull/166 -#https://github.com/StanfordLegion/legion/pull/167 -PATCHES=( "${FILESDIR}/${P}-hwloc.patch" "${FILESDIR}/${P}-multilib.patch" ) - -src_configure() { - mycmakeargs=( - -DLegion_USE_HWLOC=$(usex hwloc) - -DLegion_USE_GASNet=$(usex gasnet) - -DLIB=$(get_libdir) - ) - cmake-utils_src_configure -} -- cgit v1.2.3-65-gdbad