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