Gentoo Archives: gentoo-commits

From: "Slawek Lis (slis)" <slis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/hpx: metadata.xml hpx-0.9.8.ebuild Manifest ChangeLog
Date: Thu, 31 Jul 2014 12:26:20
Message-Id: 20140731122612.A98862004F@flycatcher.gentoo.org
1 slis 14/07/31 12:26:11
2
3 Added: metadata.xml hpx-0.9.8.ebuild Manifest ChangeLog
4 Log:
5 added hpx package
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
8
9 Revision Changes Path
10 1.1 sys-cluster/hpx/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version='1.0' encoding='UTF-8'?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <longdescription>
21 HPX (High Performance ParalleX) is a general C++ runtime system
22 for parallel and distributed applications of any scale. It is the
23 first freely available, open source, feature-complete, modular,
24 and performance oriented implementation of the ParalleX execution
25 model. HPX is targeted at conventional architectures and,
26 currently, Linux based systems, such as SMP nodes and conventional
27 clusters.
28 </longdescription>
29 <maintainer>
30 <email>slis@g.o</email>
31 </maintainer>
32 <use>
33 <flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for memory allocation</flag>
34 <flag name="perftools">Use <pkg>dev-util/google-perftools</pkg> for
35 memory allocation</flag>
36 <flag name="tbb">Use <pkg>dev-cpp/tbb</pkg> for memory
37 allocation</flag>
38 <flag name="papi">Use <pkg>dev-libs/papi</pkg> for NaCl</flag>
39 </use>
40 </pkgmetadata>
41
42
43
44 1.1 sys-cluster/hpx/hpx-0.9.8.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/hpx-0.9.8.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/hpx-0.9.8.ebuild?rev=1.1&content-type=text/plain
48
49 Index: hpx-0.9.8.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpx/hpx-0.9.8.ebuild,v 1.1 2014/07/31 12:26:11 slis Exp $
54
55 EAPI=5
56
57 PYTHON_COMPAT=( python{2_6,2_7} )
58
59 SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.7z"
60 KEYWORDS="~amd64 ~x86"
61 S="${WORKDIR}/${PN}_${PV}"
62
63 inherit cmake-utils fortran-2 multilib python-single-r1
64
65 DESCRIPTION="C++ runtime system for parallel and distributed applications"
66 HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/"
67
68 SLOT="0"
69 LICENSE="Boost-1.0"
70 IUSE="doc examples jemalloc papi +perftools tbb test"
71
72 # TODO: some of the forced deps are may be optional
73 # it would need to work the automagic
74 RDEPEND="
75 tbb? ( dev-cpp/tbb )
76 >=dev-libs/boost-1.51
77 dev-libs/libxml2
78 papi? ( dev-libs/papi )
79 sci-libs/hdf5
80 >=sys-apps/hwloc-1.8
81 >=sys-libs/libunwind-1
82 sys-libs/zlib
83 perftools? ( >=dev-util/google-perftools-1.7.1 )
84 "
85 DEPEND="${RDEPEND}
86 app-arch/p7zip
87 virtual/pkgconfig
88 test? ( dev-lang/python )
89 "
90 REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
91
92 PATCHES=(
93 "${FILESDIR}"/hpx-0.9.8-install-path.patch
94 "${FILESDIR}"/hpx-0.9.8-multilib.patch
95 "${FILESDIR}"/hpx-0.9.8-cmake_dir.patch
96 )
97
98 pkg_setup() {
99 use test && python-single-r1_pkg_setup
100 }
101
102 src_configure() {
103 CMAKE_BUILD_TYPE=Release
104 local mycmakeargs=(
105 -DHPX_BUILD_EXAMPLES=OFF
106 -DLIB=$(get_libdir)
107 -Dcmake_dir=cmake
108 $(cmake-utils_use doc HPX_BUILD_DOCUMENTATION)
109 $(cmake-utils_use jemalloc HPX_JEMALLOC)
110 $(cmake-utils_use test BUILD_TESTING)
111 $(cmake-utils_use perftools HPX_GOOGLE_PERFTOOLS)
112 $(cmake-utils_use papi HPX_PAPI)
113 )
114 if use perftools; then
115 mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
116 elif use jemalloc; then
117 mycmakeargs+=( -DHPX_MALLOC=jemalloc )
118 elif use tbb; then
119 mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
120 else
121 mycmakeargs+=( -DHPX_MALLOC=system )
122 fi
123 cmake-utils_src_configure
124 }
125
126 src_test() {
127 # avoid over-suscribing
128 cmake-utils_src_make -j1 tests
129 }
130
131 src_install() {
132 cmake-utils_src_install
133 if use examples; then
134 insinto /usr/share/doc/${PF}
135 doins -r examples
136 fi
137 }
138
139
140
141 1.1 sys-cluster/hpx/Manifest
142
143 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/Manifest?rev=1.1&view=markup
144 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/Manifest?rev=1.1&content-type=text/plain
145
146 Index: Manifest
147 ===================================================================
148 AUX hpx-0.9.8-cmake_dir.patch 782 SHA256 bb442661be8fca955c09de44073d49d8e89d603f8169600009fd77146a3294f9 SHA512 93fadaf1a8e302f8433c35ebbe4f75af6db21136d64a88574f56122f7204a387e6a0fc9a3fcde21cd8897364ecea203223a365fc84e2e725e8436b77a8fec9d9 WHIRLPOOL fbdcad3ee78f8153519d64d5fc2b05c451dbe4bd45c34dcb2b0502accc5743d13fdc9d42e797204e7001733126056a3699381d314d3d049569cd3d862691d6dd
149 AUX hpx-0.9.8-install-path.patch 2952 SHA256 c8bc7ed3a3023b6a278d7540009cd9b837085b6a0995b444f039863e8f008043 SHA512 94273cbd42291fe8dcefe76f8e663997632c8dfc729ceac9c9e6a13b1168334788fe4f2e8c0c20b37d3d5ab339db2b44ba2a6c3fee656cc3981f26d79503f606 WHIRLPOOL c4c539b337f43f09a95f69ea123d74db425a84ae81a927d4d8d5e04830cba36a8a2bf237bfbdee4b2f90f3eec2053e9cd50f9c91de898e710deeccecc6323d2e
150 AUX hpx-0.9.8-multilib.patch 6064 SHA256 77a3eff3e8882bcd36836a65255a62267310f78d43557a22a9bd908481816e79 SHA512 b378d6e259263a02929c06c0b093490115b5a573daed20f980c1fa15fe2f8ce4833a784cc8a1924ea1ddc8fdc853d07fd1e83a20fdc6c711211c8f3eb9e2f583 WHIRLPOOL 7e69572bfd9aa1b50a4173091d3b2e460fbccb7361963f74cfab14f27f965cc56d27be6e84310dd62eced27b1c4fe7eae5c1be7e43a99e9b8dbe3ed9497e2256
151 DIST hpx_0.9.8.7z 2089649 SHA256 9e04685b07e4155e6d3e00c944e5fe91c0c815a2b3bc7bc345eb59d8708bac91 SHA512 1789582ee776173d4aa67b512d2df225c734b98ffe59a8f1eee38b5112ac7c02e0c7c478f72062e5b6a5d5053ce1848729c374093378f63200acf51a208fb3c7 WHIRLPOOL b4b5a8a83aa4d07466ee0570b9fdadd906281e626eed2ce82e3a8e03681de1591a46af2254cbd387eb2d0bfac22c6796537fbbb37764be7dd424b97dd0d433c7
152 EBUILD hpx-0.9.8.ebuild 2002 SHA256 f6ff3dfa41714c225b5c603303d6ba375bb95d895905e0eda729e2d2d6a9195d SHA512 f3e837c676c76a4dcbe49ec9db92fb757dd1d6361a6fb6a44f4fbffc8c13cb1dbb335f44eff9d6579a74df47c8508715a3bac984510066aaed072fa40e3435eb WHIRLPOOL 8a73eef5e0520a9b6487bbd928cfd2337e88eef25ff0a5740bd96fc6d4812e2b08aaed9e094f387e02a8ccbe4354f7c388f6e3462a629b4140ac792bfa51bd08
153 MISC metadata.xml 983 SHA256 d02d8e4f5427067f5e132cd085da5baf96905e4a06b0d8ea84c95769b89065b8 SHA512 68d7d83ca092d51ffb22fc8633af8df1a82ab7b052fbba4f939777dd81b225d8991616890fb9585c1044b406dac05292030d049ddc62b38587d187a23fa08dff WHIRLPOOL 723e5bc2e99e258f9b9b92bda106fd2ad7c33221d98228142630df214fb220a07dece447389fc6ac0f1b368d812fe661c1cf58ec310af803e735e3da0a41b8c9
154
155
156
157 1.1 sys-cluster/hpx/ChangeLog
158
159 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/ChangeLog?rev=1.1&view=markup
160 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpx/ChangeLog?rev=1.1&content-type=text/plain
161
162 Index: ChangeLog
163 ===================================================================
164 # ChangeLog for sys-cluster/hpx
165 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
166 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpx/ChangeLog,v 1.1 2014/07/31 12:26:11 slis Exp $
167
168 *hpx-0.9.8 (31 Jul 2014)
169
170 31 Jul 2014; SÅ‚awek Lis <slis@g.o> +files/hpx-0.9.8-cmake_dir.patch,
171 +files/hpx-0.9.8-install-path.patch, +files/hpx-0.9.8-multilib.patch,
172 +hpx-0.9.8.ebuild, +metadata.xml:
173 added hpx package