diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
commit | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch) | |
tree | ade7cb031f363fad64c77139dea7aa3d81908537 /sys-cluster/legion/legion-18.12.0.ebuild | |
parent | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff) |
gentoo resync : 16.02.1018
Diffstat (limited to 'sys-cluster/legion/legion-18.12.0.ebuild')
-rw-r--r-- | sys-cluster/legion/legion-18.12.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/legion/legion-18.12.0.ebuild b/sys-cluster/legion/legion-18.12.0.ebuild new file mode 100644 index 000000000000..c52bb9263a68 --- /dev/null +++ b/sys-cluster/legion/legion-18.12.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 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="http://legion.stanford.edu/" +if [[ $PV = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://StanfordLegion/${PN}.git https://github.com/StanfordLegion/${PN}.git" + KEYWORDS="" +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" + +DEPEND=" + gasnet? ( >=sys-cluster/gasnet-1.26.4-r1 ) + hwloc? ( <sys-apps/hwloc-2 ) + " + +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-utils_src_configure +} |