From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/legion/
Date: Sun, 26 Dec 2021 03:41:22 +0000 (UTC) [thread overview]
Message-ID: <1640489917.72fc7e4e490df50f470b12af8b4e6dd4735487b2.sam@gentoo> (raw)
commit: 72fc7e4e490df50f470b12af8b4e6dd4735487b2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 03:33:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 03:38:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fc7e4e
sys-cluster/legion: tidy up
CMake sets the shared libs bits for us and let's
make use of Bashisms.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-cluster/legion/legion-21.09.0.ebuild | 9 +++++----
sys-cluster/legion/legion-9999.ebuild | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/sys-cluster/legion/legion-21.09.0.ebuild b/sys-cluster/legion/legion-21.09.0.ebuild
index 9487e8eb0a59..a271def3a1d2 100644
--- a/sys-cluster/legion/legion-21.09.0.ebuild
+++ b/sys-cluster/legion/legion-21.09.0.ebuild
@@ -7,13 +7,14 @@ inherit cmake
DESCRIPTION="A data-centric parallel programming system"
HOMEPAGE="https://legion.stanford.edu/"
-if [[ ${PV} = 9999 ]]; then
+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"
+ S="${WORKDIR}"/${PN}-${P}
+
KEYWORDS="~amd64"
- S="${WORKDIR}/${PN}-${P}"
fi
LICENSE="BSD"
@@ -29,14 +30,14 @@ DEPEND="
RDEPEND="${DEPEND}"
src_configure() {
- mycmakeargs=(
+ local 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 9487e8eb0a59..a271def3a1d2 100644
--- a/sys-cluster/legion/legion-9999.ebuild
+++ b/sys-cluster/legion/legion-9999.ebuild
@@ -7,13 +7,14 @@ inherit cmake
DESCRIPTION="A data-centric parallel programming system"
HOMEPAGE="https://legion.stanford.edu/"
-if [[ ${PV} = 9999 ]]; then
+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"
+ S="${WORKDIR}"/${PN}-${P}
+
KEYWORDS="~amd64"
- S="${WORKDIR}/${PN}-${P}"
fi
LICENSE="BSD"
@@ -29,14 +30,14 @@ DEPEND="
RDEPEND="${DEPEND}"
src_configure() {
- mycmakeargs=(
+ local 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
}
next reply other threads:[~2021-12-26 3:41 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-26 3:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-29 2:28 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/legion/ Sam James
2024-03-29 2:28 Sam James
2024-03-29 2:28 Sam James
2021-12-26 3:49 Sam James
2021-12-26 3:41 Sam James
2021-12-26 3:41 Sam James
2021-10-29 22:44 Sam James
2021-04-03 15:44 Sam James
2021-02-15 0:32 Sam James
2019-07-03 22:53 Christoph Junghans
2019-03-18 22:53 Patrice Clement
2019-02-10 20:55 Christoph Junghans
2018-06-01 17:22 Christoph Junghans
2017-10-28 0:35 Christoph Junghans
2017-08-25 0:31 Christoph Junghans
2017-05-26 22:09 Christoph Junghans
2017-04-06 20:48 Christoph Junghans
2017-02-07 5:45 Johannes Huber
2016-11-14 2:01 Christoph Junghans
2016-10-24 22:38 Christoph Junghans
2016-09-09 22:34 Christoph Junghans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1640489917.72fc7e4e490df50f470b12af8b4e6dd4735487b2.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox