1 |
commit: 5c46ec87475d02e0de1f0fd1df85d7e364359959 |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 7 15:39:06 2018 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 7 15:40:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c46ec87 |
7 |
|
8 |
sys-cluster/hpx: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
11 |
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/hpx/Manifest | 1 + |
14 |
sys-cluster/hpx/hpx-1.2.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 85 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest |
18 |
index 4a3f08e3091..dc91312422f 100644 |
19 |
--- a/sys-cluster/hpx/Manifest |
20 |
+++ b/sys-cluster/hpx/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST hpx_0.9.99.tar.gz 3779841 BLAKE2B fae6b06a303964e3d52d68fcfd980f89625bfd2a7c04f3a4b027c47814c677bdcf7f367434aee912be08b67afbb6cfe811831dfdc284c0b785d7eaf8838566a9 SHA512 57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363 |
23 |
DIST hpx_1.0.0.tar.gz 3972403 BLAKE2B 737282f2b547c2ce7e6e0367df64beaf22760d73840f2f1b983e8b970baef074b376f264a97f8c67873eedc24255ec2515bbf2a5bbcb364f89284f48ac18b177 SHA512 42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d |
24 |
DIST hpx_1.1.0.tar.gz 4374855 BLAKE2B 17caeb085e0167d51a1a89c73bce653938d9918776b9db07ae9171cb11570a440e2f88cea86d8b8066b7d102e9a24f1e8304b47b2ade161cbe4e27cce91e3b84 SHA512 09b69a5f14bdb4cbf629bc3a10a4e1dc4c0ab35efdb74386fc7f0135558db5f9557ae8de4edd0ade12cfb91a78e6cc2fac25efbdf9a21042abcb0f303eda1938 |
25 |
+DIST hpx_1.2.0.tar.gz 3918088 BLAKE2B 7c5eccef6a58f683f94e59e3773e949945652e1fc7c883d134da5b6d32f21bb9a2f526d073260561657da518687ac96487f058715e51236a334b97b27a414451 SHA512 e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1 |
26 |
|
27 |
diff --git a/sys-cluster/hpx/hpx-1.2.0.ebuild b/sys-cluster/hpx/hpx-1.2.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..98afc4e22e1 |
30 |
--- /dev/null |
31 |
+++ b/sys-cluster/hpx/hpx-1.2.0.ebuild |
32 |
@@ -0,0 +1,84 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+CMAKE_MAKEFILE_GENERATOR="ninja" |
39 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
40 |
+ |
41 |
+if [ ${PV} == 9999 ] ; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git" |
44 |
+else |
45 |
+ SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz" |
46 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+ S="${WORKDIR}/${PN}_${PV}" |
48 |
+fi |
49 |
+ |
50 |
+inherit cmake-utils fortran-2 multilib python-any-r1 |
51 |
+ |
52 |
+DESCRIPTION="C++ runtime system for parallel and distributed applications" |
53 |
+HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/" |
54 |
+ |
55 |
+SLOT="0" |
56 |
+LICENSE="Boost-1.0" |
57 |
+IUSE="doc examples jemalloc papi +perftools tbb test" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ tbb? ( dev-cpp/tbb ) |
61 |
+ >=dev-libs/boost-1.49 |
62 |
+ papi? ( dev-libs/papi ) |
63 |
+ perftools? ( >=dev-util/google-perftools-1.7.1 ) |
64 |
+ >=sys-apps/hwloc-1.8 |
65 |
+ >=sys-libs/libunwind-1 |
66 |
+ sys-libs/zlib |
67 |
+" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ virtual/pkgconfig |
70 |
+ test? ( ${PYTHON_DEPS} ) |
71 |
+ doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] ) |
72 |
+" |
73 |
+REQUIRED_USE=" |
74 |
+ jemalloc? ( !perftools !tbb ) |
75 |
+ perftools? ( !jemalloc !tbb ) |
76 |
+ tbb? ( !jemalloc !perftools ) |
77 |
+ " |
78 |
+ |
79 |
+pkg_setup() { |
80 |
+ use test && python-any-r1_pkg_setup |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ CMAKE_BUILD_TYPE=Release |
85 |
+ local mycmakeargs=( |
86 |
+ -DHPX_BUILD_EXAMPLES=OFF |
87 |
+ -DHPX_MALLOC=system |
88 |
+ -DLIB=$(get_libdir) |
89 |
+ -Dcmake_dir=cmake |
90 |
+ -DHPX_BUILD_DOCUMENTATION=$(usex doc) |
91 |
+ -DHPX_JEMALLOC=$(usex jemalloc) |
92 |
+ -DBUILD_TESTING=$(usex test) |
93 |
+ -DHPX_GOOGLE_PERFTOOLS=$(usex perftools) |
94 |
+ -DHPX_PAPI=$(usex papi) |
95 |
+ ) |
96 |
+ |
97 |
+ use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc ) |
98 |
+ use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc ) |
99 |
+ use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc ) |
100 |
+ |
101 |
+ cmake-utils_src_configure |
102 |
+} |
103 |
+ |
104 |
+src_test() { |
105 |
+ # avoid over-suscribing |
106 |
+ cmake-utils_src_make -j1 tests |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ cmake-utils_src_install |
111 |
+ mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" |
112 |
+ if use examples; then |
113 |
+ insinto /usr/share/doc/${PF} |
114 |
+ doins -r examples |
115 |
+ fi |
116 |
+} |