diff options
Diffstat (limited to 'sys-cluster/legion/legion-16.10.0-r1.ebuild')
-rw-r--r-- | sys-cluster/legion/legion-16.10.0-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-cluster/legion/legion-16.10.0-r1.ebuild b/sys-cluster/legion/legion-16.10.0-r1.ebuild new file mode 100644 index 000000000000..50372479f2c9 --- /dev/null +++ b/sys-cluster/legion/legion-16.10.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="A data-centric parallel programming system" +HOMEPAGE="https://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:= ) + " +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${P}" + +src_configure() { + mycmakeargs=( + -DLegion_USE_HWLOC=$(usex hwloc) + -DLegion_USE_GASNet=$(usex gasnet) + -DBUILD_SHARED_LIBS=ON + -DLegion_BUILD_EXAMPLES=ON + ) + cmake-utils_src_configure +} |