1 |
commit: 72fc7e4e490df50f470b12af8b4e6dd4735487b2 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 26 03:33:21 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 26 03:38:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fc7e4e |
7 |
|
8 |
sys-cluster/legion: tidy up |
9 |
|
10 |
CMake sets the shared libs bits for us and let's |
11 |
make use of Bashisms. |
12 |
|
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
sys-cluster/legion/legion-21.09.0.ebuild | 9 +++++---- |
16 |
sys-cluster/legion/legion-9999.ebuild | 9 +++++---- |
17 |
2 files changed, 10 insertions(+), 8 deletions(-) |
18 |
|
19 |
diff --git a/sys-cluster/legion/legion-21.09.0.ebuild b/sys-cluster/legion/legion-21.09.0.ebuild |
20 |
index 9487e8eb0a59..a271def3a1d2 100644 |
21 |
--- a/sys-cluster/legion/legion-21.09.0.ebuild |
22 |
+++ b/sys-cluster/legion/legion-21.09.0.ebuild |
23 |
@@ -7,13 +7,14 @@ inherit cmake |
24 |
|
25 |
DESCRIPTION="A data-centric parallel programming system" |
26 |
HOMEPAGE="https://legion.stanford.edu/" |
27 |
-if [[ ${PV} = 9999 ]]; then |
28 |
+if [[ ${PV} == 9999 ]]; then |
29 |
inherit git-r3 |
30 |
EGIT_REPO_URI="git://StanfordLegion/${PN}.git https://github.com/StanfordLegion/${PN}.git" |
31 |
else |
32 |
SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz" |
33 |
+ S="${WORKDIR}"/${PN}-${P} |
34 |
+ |
35 |
KEYWORDS="~amd64" |
36 |
- S="${WORKDIR}/${PN}-${P}" |
37 |
fi |
38 |
|
39 |
LICENSE="BSD" |
40 |
@@ -29,14 +30,14 @@ DEPEND=" |
41 |
RDEPEND="${DEPEND}" |
42 |
|
43 |
src_configure() { |
44 |
- mycmakeargs=( |
45 |
+ local mycmakeargs=( |
46 |
-DLegion_USE_HWLOC=$(usex hwloc) |
47 |
-DLegion_USE_GASNet=$(usex gasnet) |
48 |
-DLegion_ENABLE_TESTING=$(usex test) |
49 |
- -DBUILD_SHARED_LIBS=ON |
50 |
-DLegion_BUILD_EXAMPLES=ON |
51 |
-DLegion_BUILD_TESTS=ON |
52 |
-DLegion_BUILD_TUTORIAL=ON |
53 |
) |
54 |
+ |
55 |
cmake_src_configure |
56 |
} |
57 |
|
58 |
diff --git a/sys-cluster/legion/legion-9999.ebuild b/sys-cluster/legion/legion-9999.ebuild |
59 |
index 9487e8eb0a59..a271def3a1d2 100644 |
60 |
--- a/sys-cluster/legion/legion-9999.ebuild |
61 |
+++ b/sys-cluster/legion/legion-9999.ebuild |
62 |
@@ -7,13 +7,14 @@ inherit cmake |
63 |
|
64 |
DESCRIPTION="A data-centric parallel programming system" |
65 |
HOMEPAGE="https://legion.stanford.edu/" |
66 |
-if [[ ${PV} = 9999 ]]; then |
67 |
+if [[ ${PV} == 9999 ]]; then |
68 |
inherit git-r3 |
69 |
EGIT_REPO_URI="git://StanfordLegion/${PN}.git https://github.com/StanfordLegion/${PN}.git" |
70 |
else |
71 |
SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz" |
72 |
+ S="${WORKDIR}"/${PN}-${P} |
73 |
+ |
74 |
KEYWORDS="~amd64" |
75 |
- S="${WORKDIR}/${PN}-${P}" |
76 |
fi |
77 |
|
78 |
LICENSE="BSD" |
79 |
@@ -29,14 +30,14 @@ DEPEND=" |
80 |
RDEPEND="${DEPEND}" |
81 |
|
82 |
src_configure() { |
83 |
- mycmakeargs=( |
84 |
+ local mycmakeargs=( |
85 |
-DLegion_USE_HWLOC=$(usex hwloc) |
86 |
-DLegion_USE_GASNet=$(usex gasnet) |
87 |
-DLegion_ENABLE_TESTING=$(usex test) |
88 |
- -DBUILD_SHARED_LIBS=ON |
89 |
-DLegion_BUILD_EXAMPLES=ON |
90 |
-DLegion_BUILD_TESTS=ON |
91 |
-DLegion_BUILD_TUTORIAL=ON |
92 |
) |
93 |
+ |
94 |
cmake_src_configure |
95 |
} |