diff options
Diffstat (limited to 'sys-cluster/legion')
-rw-r--r-- | sys-cluster/legion/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/legion/legion-21.09.0.ebuild | 42 | ||||
-rw-r--r-- | sys-cluster/legion/legion-9999.ebuild | 9 |
3 files changed, 48 insertions, 4 deletions
diff --git a/sys-cluster/legion/Manifest b/sys-cluster/legion/Manifest new file mode 100644 index 000000000000..52753eefc567 --- /dev/null +++ b/sys-cluster/legion/Manifest @@ -0,0 +1 @@ +DIST legion-21.09.0.tar.gz 4017440 BLAKE2B 8f2919ed89f94cd12aff761de0e91ea0b5f9fd6001b83f69f8aff4703df159f001c562ed62ac22404fb15ebecc86a175d7acb528aba2e2d05ef7a6e6c0a9d830 SHA512 ffdbc8fa50100b7feb1709299dc1a9d01f14a6368812a6c5c16fa58746e9627f20863060c3ca25fd8865c8569c5a5f274a0298902bb82f6567b05299f55f6f75 diff --git a/sys-cluster/legion/legion-21.09.0.ebuild b/sys-cluster/legion/legion-21.09.0.ebuild new file mode 100644 index 000000000000..9487e8eb0a59 --- /dev/null +++ b/sys-cluster/legion/legion-21.09.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A data-centric parallel programming system" +HOMEPAGE="https://legion.stanford.edu/" +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://StanfordLegion/${PN}.git https://github.com/StanfordLegion/${PN}.git" +else + SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-${P}" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="gasnet hwloc test" +RESTRICT="!test? ( test )" + +DEPEND=" + gasnet? ( >=sys-cluster/gasnet-1.26.4-r1 ) + hwloc? ( <sys-apps/hwloc-2:= ) +" + +RDEPEND="${DEPEND}" + +src_configure() { + mycmakeargs=( + -DLegion_USE_HWLOC=$(usex hwloc) + -DLegion_USE_GASNet=$(usex gasnet) + -DLegion_ENABLE_TESTING=$(usex test) + -DBUILD_SHARED_LIBS=ON + -DLegion_BUILD_EXAMPLES=ON + -DLegion_BUILD_TESTS=ON + -DLegion_BUILD_TUTORIAL=ON + ) + cmake_src_configure +} diff --git a/sys-cluster/legion/legion-9999.ebuild b/sys-cluster/legion/legion-9999.ebuild index 11c9707d3cfc..9487e8eb0a59 100644 --- a/sys-cluster/legion/legion-9999.ebuild +++ b/sys-cluster/legion/legion-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit cmake-utils +inherit cmake DESCRIPTION="A data-centric parallel programming system" HOMEPAGE="https://legion.stanford.edu/" @@ -24,7 +24,8 @@ RESTRICT="!test? ( test )" DEPEND=" gasnet? ( >=sys-cluster/gasnet-1.26.4-r1 ) hwloc? ( <sys-apps/hwloc-2:= ) - " +" + RDEPEND="${DEPEND}" src_configure() { @@ -37,5 +38,5 @@ src_configure() { -DLegion_BUILD_TESTS=ON -DLegion_BUILD_TUTORIAL=ON ) - cmake-utils_src_configure + cmake_src_configure } |