1 |
commit: 15113732bd81a948648da56f97b636189b0b934c |
2 |
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> |
3 |
AuthorDate: Thu Aug 19 18:28:32 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 24 08:50:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15113732 |
7 |
|
8 |
sys-cluster/hpx: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/22040 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
sys-cluster/hpx/Manifest | 1 - |
16 |
sys-cluster/hpx/files/hpx-1.7.0-python.patch | 30 -------- |
17 |
sys-cluster/hpx/hpx-1.7.0.ebuild | 104 --------------------------- |
18 |
3 files changed, 135 deletions(-) |
19 |
|
20 |
diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest |
21 |
index 7e92db81410..32cfd01e4d9 100644 |
22 |
--- a/sys-cluster/hpx/Manifest |
23 |
+++ b/sys-cluster/hpx/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST hpx-1.7.0.tar.gz 4729879 BLAKE2B 05be1461eb0867b690a8f34a7ddf46d4fa19e05b5666df6cf5a3dfd28fa6a6ecacf6305bf2eaa42a669f18264b61c9690988695b8748ba09a27011001b543952 SHA512 052b3278710d8047c8e0e0979a668aa5161c495fcd12b089dd5039c64bd414b4ec0b96dfcd414d68e0db5b31c360dffb84374413c53794f37ce77d9cabc89518 |
26 |
DIST hpx-1.7.1.tar.gz 4751163 BLAKE2B 21e417dab5c118b16ab8d2955b0d65a95ca7d0e2f777496306855e4098cfb400962dd9e0cf03ebbab5e3348f2f985d1053d0a70124c0925c77859e8ada209cec SHA512 6bdb294da393a198abf81d5f63799a066334755eed0fda40bbfc4e9a774b6e19a3e5ad7ab45c989d31f3797e7b547bb552c29f51b552d9a79d166f86aee375a3 |
27 |
|
28 |
diff --git a/sys-cluster/hpx/files/hpx-1.7.0-python.patch b/sys-cluster/hpx/files/hpx-1.7.0-python.patch |
29 |
deleted file mode 100644 |
30 |
index 21b7ce3ceef..00000000000 |
31 |
--- a/sys-cluster/hpx/files/hpx-1.7.0-python.patch |
32 |
+++ /dev/null |
33 |
@@ -1,30 +0,0 @@ |
34 |
-From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001 |
35 |
-From: Kurt Kanzenbach <kurt@×××××××××××××.de> |
36 |
-Date: Tue, 17 Mar 2020 16:20:35 +0100 |
37 |
-Subject: [PATCH 1/4] cmake: python: Use standard python interpreter |
38 |
- |
39 |
-These scripts are needed during build and run time. So, use a python interpreter |
40 |
-which works for both cases. |
41 |
- |
42 |
-Signed-off-by: Kurt Kanzenbach <kurt@×××××××××××××.de> |
43 |
---- |
44 |
- cmake/templates/hpxcxx.in | 2 +- |
45 |
- cmake/templates/hpxrun.py.in | 2 +- |
46 |
- 2 files changed, 2 insertions(+), 2 deletions(-) |
47 |
- |
48 |
---- a/cmake/templates/hpxcxx.in |
49 |
-+++ b/cmake/templates/hpxcxx.in |
50 |
-@@ -1,4 +1,4 @@ |
51 |
--#! @PYTHON_EXECUTABLE@ |
52 |
-+#! /usr/bin/env python |
53 |
- # |
54 |
- # Copyright (c) 2014 Steven R. Brandt |
55 |
- # |
56 |
---- a/cmake/templates/hpxrun.py.in |
57 |
-+++ b/cmake/templates/hpxrun.py.in |
58 |
-@@ -1,4 +1,4 @@ |
59 |
--#! @PYTHON_EXECUTABLE@ |
60 |
-+#! /usr/bin/env python |
61 |
- # |
62 |
- # Copyright (c) 2014 Thomas Heller |
63 |
- # |
64 |
|
65 |
diff --git a/sys-cluster/hpx/hpx-1.7.0.ebuild b/sys-cluster/hpx/hpx-1.7.0.ebuild |
66 |
deleted file mode 100644 |
67 |
index 2ab8ea741f3..00000000000 |
68 |
--- a/sys-cluster/hpx/hpx-1.7.0.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,104 +0,0 @@ |
71 |
-# Copyright 1999-2021 Gentoo Authors |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-EAPI=7 |
75 |
- |
76 |
-PYTHON_COMPAT=( python3_{8..10} ) |
77 |
- |
78 |
-if [[ ${PV} == 9999 ]] ; then |
79 |
- inherit git-r3 |
80 |
- EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git" |
81 |
-else |
82 |
- SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
83 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
84 |
-fi |
85 |
-inherit check-reqs cmake multiprocessing python-single-r1 |
86 |
- |
87 |
-DESCRIPTION="C++ runtime system for parallel and distributed applications" |
88 |
-HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/" |
89 |
- |
90 |
-SLOT="0" |
91 |
-LICENSE="Boost-1.0" |
92 |
-IUSE="examples jemalloc mpi papi +perftools tbb" |
93 |
-# tests fail to compile |
94 |
-RESTRICT="test" |
95 |
- |
96 |
-REQUIRED_USE=" |
97 |
- ${PYTHON_REQUIRED_USE} |
98 |
- ?? ( jemalloc perftools tbb ) |
99 |
-" |
100 |
- |
101 |
-BDEPEND=" |
102 |
- virtual/pkgconfig |
103 |
-" |
104 |
-RDEPEND=" |
105 |
- ${PYTHON_DEPS} |
106 |
- dev-cpp/asio |
107 |
- dev-libs/boost:= |
108 |
- sys-apps/hwloc |
109 |
- sys-libs/zlib |
110 |
- jemalloc? ( dev-libs/jemalloc ) |
111 |
- mpi? ( virtual/mpi ) |
112 |
- papi? ( dev-libs/papi ) |
113 |
- perftools? ( dev-util/google-perftools ) |
114 |
- tbb? ( dev-cpp/tbb ) |
115 |
-" |
116 |
-DEPEND="${RDEPEND}" |
117 |
- |
118 |
-PATCHES=( |
119 |
- "${FILESDIR}/${P}-python.patch" |
120 |
-) |
121 |
- |
122 |
-hpx_memory_requirement() { |
123 |
- # HPX needs enough main memory for compiling |
124 |
- # rule of thumb: 1G per job |
125 |
- if [[ -z ${MAKEOPTS} ]] ; then |
126 |
- echo "2G" |
127 |
- else |
128 |
- local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") |
129 |
- echo "${jobs}G" |
130 |
- fi |
131 |
-} |
132 |
- |
133 |
-pkg_pretend() { |
134 |
- local CHECKREQS_MEMORY=$(hpx_memory_requirement) |
135 |
- check-reqs_pkg_setup |
136 |
-} |
137 |
- |
138 |
-pkg_setup() { |
139 |
- local CHECKREQS_MEMORY=$(hpx_memory_requirement) |
140 |
- check-reqs_pkg_setup |
141 |
- python-single-r1_pkg_setup |
142 |
-} |
143 |
- |
144 |
-src_configure() { |
145 |
- local mycmakeargs=( |
146 |
- -DHPX_WITH_EXAMPLES=OFF |
147 |
- -DHPX_WITH_DOCUMENTATION=OFF |
148 |
- -DHPX_WITH_PARCELPORT_MPI=$(usex mpi) |
149 |
- -DHPX_WITH_PAPI=$(usex papi) |
150 |
- -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools) |
151 |
- -DBUILD_TESTING=OFF |
152 |
- ) |
153 |
- if use jemalloc; then |
154 |
- mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc ) |
155 |
- elif use perftools; then |
156 |
- mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc ) |
157 |
- elif use tbb; then |
158 |
- mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc ) |
159 |
- else |
160 |
- mycmakeargs+=( -DHPX_WITH_MALLOC=system ) |
161 |
- fi |
162 |
- |
163 |
- cmake_src_configure |
164 |
-} |
165 |
- |
166 |
-src_compile() { |
167 |
- cmake_src_compile |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- cmake_src_install |
172 |
- use examples && dodoc -r examples/ |
173 |
- python_fix_shebang "${ED}" |
174 |
-} |