[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2023-09-16 Thread Joonas Niilola
commit: d8872845a6d254f29bbc6797e64351d7703ff0b3
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Wed Aug 16 19:29:17 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 16 07:57:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8872845

sys-cluster/hpx: drop 1.9.0

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 -
 sys-cluster/hpx/hpx-1.9.0.ebuild | 105 ---
 2 files changed, 106 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 8f98259e438f..5899fb6e1134 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
-DIST hpx-1.9.0.tar.gz 5648944 BLAKE2B 
642fa16e97954973715bbd87b242b1f7ed13c64dfcffb00f50d7826dd114b3908a350b87508b9b6fde66df8fd772ae1b501f209bc200e3331312c0cc4ab88e80
 SHA512 
a9b55999e0d9f79433a44f0f7f21340e947fa0ba354ecb007340664a0f4820be1f7723075d18775a395a455648bbb4bff85061e6f7ad4b551b93943e845d4443
 DIST hpx-1.9.1.tar.gz 5662661 BLAKE2B 
81631333b8899a7271e8c6edf587d0a3afadde28f2605ac4f8ff6ddc3fa5afb5ad8d05818ae6d0bfa8fb7241d3aebfe5f838b85b77f54327010308b22b4900b7
 SHA512 
a7972beada950cf6ef3b61f20496a08b220e4f48c28c11d57c20683906ca5124a9f36ac2552318883a5ab1db6efdbf63d1141b6e0c484c560a8c1311ae2d7090

diff --git a/sys-cluster/hpx/hpx-1.9.0.ebuild b/sys-cluster/hpx/hpx-1.9.0.ebuild
deleted file mode 100644
index 2418f19d261f..
--- a/sys-cluster/hpx/hpx-1.9.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-if [[ ${PV} ==  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
-else
-   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-inherit check-reqs cmake multiprocessing python-single-r1
-
-DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="https://hpx.stellar-group.org/;
-
-SLOT="0"
-LICENSE="Boost-1.0"
-IUSE="examples jemalloc mpi papi +perftools tbb zlib"
-# tests fail to compile
-RESTRICT="test"
-
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   ?? ( jemalloc perftools tbb )
-"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${PYTHON_DEPS}
-   >=dev-cpp/asio-1.12.0
-   dev-libs/boost:=
-   sys-apps/hwloc:=
-   jemalloc? ( dev-libs/jemalloc:= )
-   mpi? ( virtual/mpi )
-   papi? ( dev-libs/papi )
-   perftools? ( dev-util/google-perftools:= )
-   tbb? ( dev-cpp/tbb:= )
-   zlib? ( sys-libs/zlib )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.8.0-python.patch"
-)
-
-hpx_memory_requirement() {
-   # HPX needs enough main memory for compiling
-   # rule of thumb: 1G per job
-   if [[ -z ${MAKEOPTS} ]] ; then
-   echo "2G"
-   else
-   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
-   echo "${jobs}G"
-   fi
-}
-
-pkg_pretend() {
-   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
-   check-reqs_pkg_setup
-}
-
-pkg_setup() {
-   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
-   check-reqs_pkg_setup
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DHPX_WITH_EXAMPLES=OFF
-   -DHPX_WITH_DOCUMENTATION=OFF
-   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-   -DHPX_WITH_PAPI=$(usex papi)
-   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib)
-   -DHPX_WITH_TESTS=OFF
-   )
-   if use jemalloc; then
-   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
-   elif use perftools; then
-   mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
-   elif use tbb; then
-   mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
-   else
-   mycmakeargs+=( -DHPX_WITH_MALLOC=system )
-   fi
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-}
-
-src_install() {
-   cmake_src_install
-   use examples && dodoc -r examples/
-   python_fix_shebang "${ED}"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2023-09-16 Thread Joonas Niilola
commit: ce99feb5350125fe47576a963a8137438ea24111
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Wed Aug 16 19:06:49 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 16 07:57:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce99feb5

sys-cluster/hpx: add 1.9.1

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/hpx-1.9.1.ebuild | 105 +++
 2 files changed, 106 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 3b21b3bb03e4..8f98259e438f 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx-1.9.0.tar.gz 5648944 BLAKE2B 
642fa16e97954973715bbd87b242b1f7ed13c64dfcffb00f50d7826dd114b3908a350b87508b9b6fde66df8fd772ae1b501f209bc200e3331312c0cc4ab88e80
 SHA512 
a9b55999e0d9f79433a44f0f7f21340e947fa0ba354ecb007340664a0f4820be1f7723075d18775a395a455648bbb4bff85061e6f7ad4b551b93943e845d4443
+DIST hpx-1.9.1.tar.gz 5662661 BLAKE2B 
81631333b8899a7271e8c6edf587d0a3afadde28f2605ac4f8ff6ddc3fa5afb5ad8d05818ae6d0bfa8fb7241d3aebfe5f838b85b77f54327010308b22b4900b7
 SHA512 
a7972beada950cf6ef3b61f20496a08b220e4f48c28c11d57c20683906ca5124a9f36ac2552318883a5ab1db6efdbf63d1141b6e0c484c560a8c1311ae2d7090

diff --git a/sys-cluster/hpx/hpx-1.9.1.ebuild b/sys-cluster/hpx/hpx-1.9.1.ebuild
new file mode 100644
index ..2418f19d261f
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.9.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://hpx.stellar-group.org/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb zlib"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=dev-cpp/asio-1.12.0
+   dev-libs/boost:=
+   sys-apps/hwloc:=
+   jemalloc? ( dev-libs/jemalloc:= )
+   mpi? ( virtual/mpi )
+   papi? ( dev-libs/papi )
+   perftools? ( dev-util/google-perftools:= )
+   tbb? ( dev-cpp/tbb:= )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.8.0-python.patch"
+)
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
+
+pkg_setup() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=OFF
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib)
+   -DHPX_WITH_TESTS=OFF
+   )
+   if use jemalloc; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
+   elif use perftools; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
+   elif use tbb; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
+   else
+   mycmakeargs+=( -DHPX_WITH_MALLOC=system )
+   fi
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+}
+
+src_install() {
+   cmake_src_install
+   use examples && dodoc -r examples/
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2023-09-16 Thread Joonas Niilola
commit: 8660ad0e9ad0ebe9ae2421b0ab4a10b324fa38af
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Wed Aug 16 19:30:54 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 16 07:57:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8660ad0e

sys-cluster/hpx: enable py3.12

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/32377
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-1.9.1.ebuild | 2 +-
 sys-cluster/hpx/hpx-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.9.1.ebuild b/sys-cluster/hpx/hpx-1.9.1.ebuild
index 2418f19d261f..8deb0b7b7817 100644
--- a/sys-cluster/hpx/hpx-1.9.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.9.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index fef4b1933ee7..8bdbcb41d96a 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2023-05-20 Thread Sam James
commit: a5e1cb60d4c98b2b955fef198da6b513a571518e
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu May 18 09:49:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 06:27:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e1cb60

sys-cluster/hpx: add 1.9.0

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Sam James  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/hpx-1.9.0.ebuild | 105 +++
 2 files changed, 106 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index ab1db7886afc..53574bf4e9f4 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1,3 @@
 DIST hpx-1.8.0.tar.gz 5209106 BLAKE2B 
aab9d3743cc2d73c2d3a6a2f2323e35dbe38cf506618475ea627d9c0d92855632f646404f5b257e2260eabe6bb22e8090bc3db2aafd9f4f71a0eeb62d7286247
 SHA512 
80afc93d517144d5c11164f82d7f0dd6fd71c079fb65930532c4fd96b6a5497cdf972bee8a6251035548a3662579a3bee5c04802569f47bc3c042ca868716cb7
 DIST hpx-1.8.1.tar.gz 5242024 BLAKE2B 
0a08c004573cf2bebff4042f859fa457bd821bd55b58aa0e0e56dfc8b80378469c24daa94789196d9486a3321598031a0930306e2e76c311b6fd8179e9bc61a1
 SHA512 
af2471a04dd0a3c414907ed06661ab1c6f6a49cc09d1ed3ae5d5587ca365270797a1d2ce9d0320dc7d7f9ff2c6d29037c7fbb84fa6d9c0033628ba7036f12986
+DIST hpx-1.9.0.tar.gz 5648944 BLAKE2B 
642fa16e97954973715bbd87b242b1f7ed13c64dfcffb00f50d7826dd114b3908a350b87508b9b6fde66df8fd772ae1b501f209bc200e3331312c0cc4ab88e80
 SHA512 
a9b55999e0d9f79433a44f0f7f21340e947fa0ba354ecb007340664a0f4820be1f7723075d18775a395a455648bbb4bff85061e6f7ad4b551b93943e845d4443

diff --git a/sys-cluster/hpx/hpx-1.9.0.ebuild b/sys-cluster/hpx/hpx-1.9.0.ebuild
new file mode 100644
index ..e3f75c15ac02
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.9.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://hpx.stellar-group.org/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb zlib"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=dev-cpp/asio-1.12.0
+   dev-libs/boost:=
+   sys-apps/hwloc:=
+   jemalloc? ( dev-libs/jemalloc:= )
+   mpi? ( virtual/mpi )
+   papi? ( dev-libs/papi )
+   perftools? ( dev-util/google-perftools:= )
+   tbb? ( dev-cpp/tbb:= )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.8.0-python.patch"
+)
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
+
+pkg_setup() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=OFF
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib)
+   -DHPX_WITH_TESTS=OFF
+   )
+   if use jemalloc; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
+   elif use perftools; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
+   elif use tbb; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
+   else
+   mycmakeargs+=( -DHPX_WITH_MALLOC=system )
+   fi
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+}
+
+src_install() {
+   cmake_src_install
+   use examples && dodoc -r examples/
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2023-05-20 Thread Sam James
commit: 9a291784febe71a86632162508d54a563e09c72d
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu May 18 09:49:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 06:27:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a291784

sys-cluster/hpx: drop 1.8.0, 1.8.1

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/31082
Signed-off-by: Sam James  gentoo.org>

 sys-cluster/hpx/Manifest   |   2 -
 ...-1.8.0-fix-musl-exec_pagesize-not-defined.patch |  47 -
 .../hpx/files/hpx-1.8.0-fix-musl-execinfo.patch|  16 ---
 .../hpx-1.8.0-fix-musl-rtdl-not-declared.patch |  25 -
 .../hpx/files/hpx-1.8.1-fix-intmax-error.patch |  18 
 sys-cluster/hpx/hpx-1.8.0.ebuild   | 108 -
 sys-cluster/hpx/hpx-1.8.1.ebuild   | 106 
 7 files changed, 322 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 53574bf4e9f4..3b21b3bb03e4 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,3 +1 @@
-DIST hpx-1.8.0.tar.gz 5209106 BLAKE2B 
aab9d3743cc2d73c2d3a6a2f2323e35dbe38cf506618475ea627d9c0d92855632f646404f5b257e2260eabe6bb22e8090bc3db2aafd9f4f71a0eeb62d7286247
 SHA512 
80afc93d517144d5c11164f82d7f0dd6fd71c079fb65930532c4fd96b6a5497cdf972bee8a6251035548a3662579a3bee5c04802569f47bc3c042ca868716cb7
-DIST hpx-1.8.1.tar.gz 5242024 BLAKE2B 
0a08c004573cf2bebff4042f859fa457bd821bd55b58aa0e0e56dfc8b80378469c24daa94789196d9486a3321598031a0930306e2e76c311b6fd8179e9bc61a1
 SHA512 
af2471a04dd0a3c414907ed06661ab1c6f6a49cc09d1ed3ae5d5587ca365270797a1d2ce9d0320dc7d7f9ff2c6d29037c7fbb84fa6d9c0033628ba7036f12986
 DIST hpx-1.9.0.tar.gz 5648944 BLAKE2B 
642fa16e97954973715bbd87b242b1f7ed13c64dfcffb00f50d7826dd114b3908a350b87508b9b6fde66df8fd772ae1b501f209bc200e3331312c0cc4ab88e80
 SHA512 
a9b55999e0d9f79433a44f0f7f21340e947fa0ba354ecb007340664a0f4820be1f7723075d18775a395a455648bbb4bff85061e6f7ad4b551b93943e845d4443

diff --git 
a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-exec_pagesize-not-defined.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-exec_pagesize-not-defined.patch
deleted file mode 100644
index d2e54b9df256..
--- a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-exec_pagesize-not-defined.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-# EXEC_PAGESIZE is a preprocessor macro from the Linux Kernel headers. Include
-# the appropriate Linux header file 
-#
-# With this PR https://github.com/STEllAR-GROUP/hpx/pull/5947 merged, from
-# 1.8.1 we can drop these patches
 a/components/performance_counters/memory/src/mem_counter_linux.cpp
-+++ b/components/performance_counters/memory/src/mem_counter_linux.cpp
-@@ -14,6 +14,11 @@
- #include 
- #include 
-
-+// Fix for musl. Use linux/param.h for EXEC_PAGESIZE
-+#ifdef __linux__
-+#include 
-+#endif
-+
- #include 
- #include 
-
 a/libs/core/coroutines/include/hpx/coroutines/detail/context_linux_x86.hpp
-+++ b/libs/core/coroutines/include/hpx/coroutines/detail/context_linux_x86.hpp
-@@ -37,6 +37,11 @@
- #include 
- #include 
-
-+// Fix for musl. Use linux/param.h for EXEC_PAGESIZE
-+#ifdef __linux__
-+#include 
-+#endif
-+
- #if defined(HPX_HAVE_STACKOVERFLOW_DETECTION)
-
- #include 
 a/libs/core/coroutines/include/hpx/coroutines/detail/posix_utility.hpp
-+++ b/libs/core/coroutines/include/hpx/coroutines/detail/posix_utility.hpp
-@@ -67,6 +67,11 @@
- #define EXEC_PAGESIZE static_cast(sysconf(_SC_PAGESIZE))
- #endif
-
-+// Fix for musl. Use linux/param.h for EXEC_PAGESIZE
-+#ifdef __linux__
-+#include 
-+#endif
-+
- /**
-  * Stack allocation routines and trampolines for setcontext
-  */

diff --git a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch
deleted file mode 100644
index 4c82ca3f6be1..
--- a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-# Check for execinfo only on glibc and ulibc systems.
-#
-# With this PR https://github.com/STEllAR-GROUP/hpx/pull/5947 merged, from
-# 1.8.1 we can drop these patches
 a/libs/core/debugging/src/backtrace.cpp
-+++ b/libs/core/debugging/src/backtrace.cpp
-@@ -19,7 +19,9 @@
-
- #if (defined(__linux) || defined(__APPLE__) || defined(__sun)) && 
 \
- (!defined(__ANDROID__) || !defined(ANDROID))
-+#if defined(__GLIBC__)
- #define HPX_HAVE_EXECINFO
-+#endif
- #define HPX_HAVE_DLFCN
- #if defined(__GNUC__) && !defined(__clang__)
- #define HPX_HAVE_UNWIND

diff --git a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-rtdl-not-declared.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-rtdl-not-declared.patch
deleted file mode 100644
index 0264aeab52f5..
--- a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-rtdl-not-declared.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-# RTLD_DI_ORIGIN is not defined in musl as a result hpx fails to build.
-# Closes: 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2023-05-20 Thread Sam James
commit: 2188da1e5f6b96790890a75eb1ed1a3c44c899f8
Author: Sam James  gentoo  org>
AuthorDate: Sat May 20 06:27:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 06:27:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2188da1e

sys-cluster/hpx: disable py3.9, sync live

Signed-off-by: Sam James  gentoo.org>

 sys-cluster/hpx/hpx-1.9.0.ebuild | 2 +-
 sys-cluster/hpx/hpx-.ebuild  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.9.0.ebuild b/sys-cluster/hpx/hpx-1.9.0.ebuild
index e3f75c15ac02..2418f19d261f 100644
--- a/sys-cluster/hpx/hpx-1.9.0.ebuild
+++ b/sys-cluster/hpx/hpx-1.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 778f55f4d27a..fef4b1933ee7 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -3,13 +3,13 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
 else
-   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 inherit check-reqs cmake multiprocessing python-single-r1



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/

2023-02-27 Thread Florian Schmaus
commit: cfc8fc4a1698ff23c6a709f2a33976b9ad9f72f3
Author: Florian Schmaus  gentoo  org>
AuthorDate: Mon Feb 27 11:17:25 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Feb 27 11:22:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc8fc4a

sys-cluster/hpx: scrub patch

Signed-off-by: Florian Schmaus  gentoo.org>

 sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch | 6 --
 1 file changed, 6 deletions(-)

diff --git a/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch 
b/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch
index 58d6a70a15ff..1f5041047a59 100644
--- a/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch
+++ b/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch
@@ -3,12 +3,6 @@ From: Jonathan Wakely 
 Date: Wed, 8 Feb 2023 12:32:11 +
 Subject: [PATCH] Add missing header for std::intmax_t
 

- .../include/hpx/iterator_support/counting_iterator.hpp   | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git 
a/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp 
b/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
-index e6e6c7a99cb8..1414648cc2cf 100644
 --- 
a/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
 +++ 
b/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
 @@ -18,6 +18,7 @@



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2023-02-27 Thread Florian Schmaus
commit: 3e011cd6f314f2032f5e6918dbdda5b308f47edb
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Wed Feb 22 20:48:47 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Feb 27 11:22:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e011cd6

sys-cluster/hpx: Fix build failure

Fix build failure due to missing header file regarding std::intmax_t.

Patch taken from upstream master branch.

Closes: https://bugs.gentoo.org/895212
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/29734
Signed-off-by: Florian Schmaus  gentoo.org>

 .../hpx/files/hpx-1.8.1-fix-intmax-error.patch | 24 ++
 sys-cluster/hpx/hpx-1.8.1.ebuild   |  1 +
 2 files changed, 25 insertions(+)

diff --git a/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch 
b/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch
new file mode 100644
index ..58d6a70a15ff
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch
@@ -0,0 +1,24 @@
+From 9ce60348a5401fe58b6fd7333d3d7e19f0d6d8ac Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely 
+Date: Wed, 8 Feb 2023 12:32:11 +
+Subject: [PATCH] Add missing header for std::intmax_t
+
+---
+ .../include/hpx/iterator_support/counting_iterator.hpp   | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git 
a/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp 
b/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
+index e6e6c7a99cb8..1414648cc2cf 100644
+--- 
a/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
 
b/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
+@@ -18,6 +18,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+-- 
+2.39.2
+

diff --git a/sys-cluster/hpx/hpx-1.8.1.ebuild b/sys-cluster/hpx/hpx-1.8.1.ebuild
index 3de266f8b503..a875850567d3 100644
--- a/sys-cluster/hpx/hpx-1.8.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.8.1.ebuild
@@ -47,6 +47,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
"${FILESDIR}/${PN}-1.8.0-python.patch"
+   "${FILESDIR}/${PN}-1.8.1-fix-intmax-error.patch"
 )
 
 hpx_memory_requirement() {



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2022-08-14 Thread Florian Schmaus
commit: 2210db61e7c70445f8cc9b2a213295193f123fd0
Author: Florian Schmaus  gentoo  org>
AuthorDate: Sun Aug 14 16:47:37 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Aug 14 20:07:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2210db61

sys-cluster/hpx: de-duplicate duplicate patches

Signed-off-by: Florian Schmaus  gentoo.org>

 sys-cluster/hpx/files/hpx-1.8.1-python.patch | 30 
 sys-cluster/hpx/hpx-1.8.1.ebuild |  2 +-
 2 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/sys-cluster/hpx/files/hpx-1.8.1-python.patch 
b/sys-cluster/hpx/files/hpx-1.8.1-python.patch
deleted file mode 100644
index 21b7ce3ceeff..
--- a/sys-cluster/hpx/files/hpx-1.8.1-python.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Tue, 17 Mar 2020 16:20:35 +0100
-Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
-
-These scripts are needed during build and run time. So, use a python 
interpreter
-which works for both cases.
-
-Signed-off-by: Kurt Kanzenbach 

- cmake/templates/hpxcxx.in|2 +-
- cmake/templates/hpxrun.py.in |2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
 a/cmake/templates/hpxcxx.in
-+++ b/cmake/templates/hpxcxx.in
-@@ -1,4 +1,4 @@
--#! @PYTHON_EXECUTABLE@
-+#! /usr/bin/env python
- #
- # Copyright (c) 2014 Steven R. Brandt
- #
 a/cmake/templates/hpxrun.py.in
-+++ b/cmake/templates/hpxrun.py.in
-@@ -1,4 +1,4 @@
--#! @PYTHON_EXECUTABLE@
-+#! /usr/bin/env python
- #
- # Copyright (c) 2014 Thomas Heller
- #

diff --git a/sys-cluster/hpx/hpx-1.8.1.ebuild b/sys-cluster/hpx/hpx-1.8.1.ebuild
index a1b86f1f953f..f99ace8db3a8 100644
--- a/sys-cluster/hpx/hpx-1.8.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.8.1.ebuild
@@ -46,7 +46,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-   "${FILESDIR}/${P}-python.patch"
+   "${FILESDIR}/${PN}-1.8.0-python.patch"
 )
 
 hpx_memory_requirement() {



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2022-08-14 Thread Florian Schmaus
commit: 6670c333d5a10ecde92582439f05eb8eef069ebc
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sun Aug  7 09:22:56 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Aug 14 16:03:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6670c333

sys-cluster/hpx: add 1.8.1

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/26772
Signed-off-by: Florian Schmaus  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/files/hpx-1.8.1-python.patch |  30 
 sys-cluster/hpx/hpx-1.8.1.ebuild | 105 +++
 3 files changed, 136 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 4783253e8786..ab1db7886afc 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx-1.8.0.tar.gz 5209106 BLAKE2B 
aab9d3743cc2d73c2d3a6a2f2323e35dbe38cf506618475ea627d9c0d92855632f646404f5b257e2260eabe6bb22e8090bc3db2aafd9f4f71a0eeb62d7286247
 SHA512 
80afc93d517144d5c11164f82d7f0dd6fd71c079fb65930532c4fd96b6a5497cdf972bee8a6251035548a3662579a3bee5c04802569f47bc3c042ca868716cb7
+DIST hpx-1.8.1.tar.gz 5242024 BLAKE2B 
0a08c004573cf2bebff4042f859fa457bd821bd55b58aa0e0e56dfc8b80378469c24daa94789196d9486a3321598031a0930306e2e76c311b6fd8179e9bc61a1
 SHA512 
af2471a04dd0a3c414907ed06661ab1c6f6a49cc09d1ed3ae5d5587ca365270797a1d2ce9d0320dc7d7f9ff2c6d29037c7fbb84fa6d9c0033628ba7036f12986

diff --git a/sys-cluster/hpx/files/hpx-1.8.1-python.patch 
b/sys-cluster/hpx/files/hpx-1.8.1-python.patch
new file mode 100644
index ..21b7ce3ceeff
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.1-python.patch
@@ -0,0 +1,30 @@
+From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Tue, 17 Mar 2020 16:20:35 +0100
+Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
+
+These scripts are needed during build and run time. So, use a python 
interpreter
+which works for both cases.
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ cmake/templates/hpxcxx.in|2 +-
+ cmake/templates/hpxrun.py.in |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/cmake/templates/hpxcxx.in
 b/cmake/templates/hpxcxx.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Steven R. Brandt
+ #
+--- a/cmake/templates/hpxrun.py.in
 b/cmake/templates/hpxrun.py.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Thomas Heller
+ #

diff --git a/sys-cluster/hpx/hpx-1.8.1.ebuild b/sys-cluster/hpx/hpx-1.8.1.ebuild
new file mode 100644
index ..a1b86f1f953f
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.8.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://hpx.stellar-group.org/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb zlib"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=dev-cpp/asio-1.12.0
+   dev-libs/boost:=
+   sys-apps/hwloc:=
+   jemalloc? ( dev-libs/jemalloc:= )
+   mpi? ( virtual/mpi )
+   papi? ( dev-libs/papi )
+   perftools? ( dev-util/google-perftools:= )
+   tbb? ( dev-cpp/tbb:= )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-python.patch"
+)
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
+
+pkg_setup() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=OFF
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+   

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2022-07-08 Thread Sam James
commit: 5ca83cbca717c9d04ffa46f9a7fce31fe32b2d95
Author: brahmajit das  gmail  com>
AuthorDate: Sat Jul  9 04:40:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul  9 04:56:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca83cbc

sys-cluster/hpx: Fix building on musl

These patches fixes building on musl. I've tried to document the patches
to the best of my abilities.

Mainly fixes the RTLD_DI_ORIGIN not being present in musl.

However with this PR [1] we won't be requiring these patches anymore
from 1.8.1

[1]: https://github.com/STEllAR-GROUP/hpx/pull/5947

Closes: https://bugs.gentoo.org/829242

Signed-off-by: brahmajit das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26281
Signed-off-by: Sam James  gentoo.org>

 ...-1.8.0-fix-musl-exec_pagesize-not-defined.patch | 47 ++
 .../hpx/files/hpx-1.8.0-fix-musl-execinfo.patch| 16 
 .../hpx-1.8.0-fix-musl-rtdl-not-declared.patch | 25 
 sys-cluster/hpx/hpx-1.8.0.ebuild   |  3 ++
 4 files changed, 91 insertions(+)

diff --git 
a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-exec_pagesize-not-defined.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-exec_pagesize-not-defined.patch
new file mode 100644
index ..d2e54b9df256
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-exec_pagesize-not-defined.patch
@@ -0,0 +1,47 @@
+# EXEC_PAGESIZE is a preprocessor macro from the Linux Kernel headers. Include
+# the appropriate Linux header file 
+#
+# With this PR https://github.com/STEllAR-GROUP/hpx/pull/5947 merged, from
+# 1.8.1 we can drop these patches
+--- a/components/performance_counters/memory/src/mem_counter_linux.cpp
 b/components/performance_counters/memory/src/mem_counter_linux.cpp
+@@ -14,6 +14,11 @@
+ #include 
+ #include 
+
++// Fix for musl. Use linux/param.h for EXEC_PAGESIZE
++#ifdef __linux__
++#include 
++#endif
++
+ #include 
+ #include 
+
+--- a/libs/core/coroutines/include/hpx/coroutines/detail/context_linux_x86.hpp
 b/libs/core/coroutines/include/hpx/coroutines/detail/context_linux_x86.hpp
+@@ -37,6 +37,11 @@
+ #include 
+ #include 
+
++// Fix for musl. Use linux/param.h for EXEC_PAGESIZE
++#ifdef __linux__
++#include 
++#endif
++
+ #if defined(HPX_HAVE_STACKOVERFLOW_DETECTION)
+
+ #include 
+--- a/libs/core/coroutines/include/hpx/coroutines/detail/posix_utility.hpp
 b/libs/core/coroutines/include/hpx/coroutines/detail/posix_utility.hpp
+@@ -67,6 +67,11 @@
+ #define EXEC_PAGESIZE static_cast(sysconf(_SC_PAGESIZE))
+ #endif
+
++// Fix for musl. Use linux/param.h for EXEC_PAGESIZE
++#ifdef __linux__
++#include 
++#endif
++
+ /**
+  * Stack allocation routines and trampolines for setcontext
+  */

diff --git a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch
new file mode 100644
index ..4c82ca3f6be1
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch
@@ -0,0 +1,16 @@
+# Check for execinfo only on glibc and ulibc systems.
+#
+# With this PR https://github.com/STEllAR-GROUP/hpx/pull/5947 merged, from
+# 1.8.1 we can drop these patches
+--- a/libs/core/debugging/src/backtrace.cpp
 b/libs/core/debugging/src/backtrace.cpp
+@@ -19,7 +19,9 @@
+
+ #if (defined(__linux) || defined(__APPLE__) || defined(__sun)) && 
 \
+ (!defined(__ANDROID__) || !defined(ANDROID))
++#if defined(__GLIBC__)
+ #define HPX_HAVE_EXECINFO
++#endif
+ #define HPX_HAVE_DLFCN
+ #if defined(__GNUC__) && !defined(__clang__)
+ #define HPX_HAVE_UNWIND

diff --git a/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-rtdl-not-declared.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-rtdl-not-declared.patch
new file mode 100644
index ..0264aeab52f5
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-rtdl-not-declared.patch
@@ -0,0 +1,25 @@
+# RTLD_DI_ORIGIN is not defined in musl as a result hpx fails to build.
+# Closes: https://bugs.gentoo.org/829242
+#
+# With this PR https://github.com/STEllAR-GROUP/hpx/pull/5947 merged, from
+# 1.8.1 we can drop these patches
+--- a/libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp
 b/libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp
+@@ -319,6 +319,7 @@ namespace hpx { namespace util { namespace plugin {
+ std::string result;
+
+ #if !defined(__ANDROID__) && !defined(ANDROID) && !defined(__APPLE__)
++#if defined(RTLD_DI_ORIGIN)
+ char directory[PATH_MAX] = {'\0'};
+ const_cast(*this).LoadLibrary(ec);
+ if (!ec && ::dlinfo(dll_handle, RTLD_DI_ORIGIN, directory) < 0)
+@@ -333,6 +334,9 @@ namespace hpx { namespace util { namespace plugin {
+ }
+ result = directory;
+ ::dlerror();// Clear the error state.
++#else
++result = path(dll_name).parent_path().string();
++#endif
+ #elif defined(__APPLE__)
+ // SO staticfloat's solution
+

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2022-06-03 Thread Florian Schmaus
commit: ebf1639a78a3638f02699f1e56977508ca356940
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon May 30 18:55:17 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Jun  3 08:35:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf1639a

sys-cluster/hpx: Sync live ebuild

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Florian Schmaus  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index e9869e80d74e..0a6b331c8541 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
@@ -15,11 +15,11 @@ fi
 inherit check-reqs cmake multiprocessing python-single-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
+HOMEPAGE="https://hpx.stellar-group.org/;
 
 SLOT="0"
 LICENSE="Boost-1.0"
-IUSE="examples jemalloc mpi papi +perftools tbb"
+IUSE="examples jemalloc mpi papi +perftools tbb zlib"
 # tests fail to compile
 RESTRICT="test"
 
@@ -36,12 +36,12 @@ RDEPEND="
>=dev-cpp/asio-1.12.0
dev-libs/boost:=
sys-apps/hwloc:=
-   sys-libs/zlib
jemalloc? ( dev-libs/jemalloc:= )
mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
perftools? ( dev-util/google-perftools:= )
tbb? ( dev-cpp/tbb:= )
+   zlib? ( sys-libs/zlib )
 "
 DEPEND="${RDEPEND}"
 
@@ -74,7 +74,8 @@ src_configure() {
-DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-DHPX_WITH_PAPI=$(usex papi)
-DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DBUILD_TESTING=OFF
+   -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib)
+   -DHPX_WITH_TESTS=OFF
)
if use jemalloc; then
mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2022-06-03 Thread Florian Schmaus
commit: 64d66a0d31a271b0c8614e968f70c90b83a2bf29
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon May 30 18:51:48 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Jun  3 08:35:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d66a0d

sys-cluster/hpx: add 1.8.0

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Florian Schmaus  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/files/hpx-1.8.0-python.patch |  30 
 sys-cluster/hpx/hpx-1.8.0.ebuild | 105 +++
 3 files changed, 136 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 32cfd01e4d9c..0e04f6bf71bc 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx-1.7.1.tar.gz 4751163 BLAKE2B 
21e417dab5c118b16ab8d2955b0d65a95ca7d0e2f777496306855e4098cfb400962dd9e0cf03ebbab5e3348f2f985d1053d0a70124c0925c77859e8ada209cec
 SHA512 
6bdb294da393a198abf81d5f63799a066334755eed0fda40bbfc4e9a774b6e19a3e5ad7ab45c989d31f3797e7b547bb552c29f51b552d9a79d166f86aee375a3
+DIST hpx-1.8.0.tar.gz 5209106 BLAKE2B 
aab9d3743cc2d73c2d3a6a2f2323e35dbe38cf506618475ea627d9c0d92855632f646404f5b257e2260eabe6bb22e8090bc3db2aafd9f4f71a0eeb62d7286247
 SHA512 
80afc93d517144d5c11164f82d7f0dd6fd71c079fb65930532c4fd96b6a5497cdf972bee8a6251035548a3662579a3bee5c04802569f47bc3c042ca868716cb7

diff --git a/sys-cluster/hpx/files/hpx-1.8.0-python.patch 
b/sys-cluster/hpx/files/hpx-1.8.0-python.patch
new file mode 100644
index ..21b7ce3ceeff
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.8.0-python.patch
@@ -0,0 +1,30 @@
+From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Tue, 17 Mar 2020 16:20:35 +0100
+Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
+
+These scripts are needed during build and run time. So, use a python 
interpreter
+which works for both cases.
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ cmake/templates/hpxcxx.in|2 +-
+ cmake/templates/hpxrun.py.in |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/cmake/templates/hpxcxx.in
 b/cmake/templates/hpxcxx.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Steven R. Brandt
+ #
+--- a/cmake/templates/hpxrun.py.in
 b/cmake/templates/hpxrun.py.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Thomas Heller
+ #

diff --git a/sys-cluster/hpx/hpx-1.8.0.ebuild b/sys-cluster/hpx/hpx-1.8.0.ebuild
new file mode 100644
index ..a1b86f1f953f
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.8.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://hpx.stellar-group.org/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb zlib"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=dev-cpp/asio-1.12.0
+   dev-libs/boost:=
+   sys-apps/hwloc:=
+   jemalloc? ( dev-libs/jemalloc:= )
+   mpi? ( virtual/mpi )
+   papi? ( dev-libs/papi )
+   perftools? ( dev-util/google-perftools:= )
+   tbb? ( dev-cpp/tbb:= )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-python.patch"
+)
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
+
+pkg_setup() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=OFF
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib)
+   

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2022-06-03 Thread Florian Schmaus
commit: 5777e5659dffc667a1b200323d842a4d2c07
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon May 30 18:56:48 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Jun  3 08:35:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5777e565

sys-cluster/hpx: drop 1.7.1-r1

Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/25706
Signed-off-by: Florian Schmaus  gentoo.org>

 sys-cluster/hpx/Manifest |   1 -
 sys-cluster/hpx/files/hpx-1.7.1-python.patch |  30 
 sys-cluster/hpx/hpx-1.7.1-r1.ebuild  | 104 ---
 3 files changed, 135 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 0e04f6bf71bc..4783253e8786 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
-DIST hpx-1.7.1.tar.gz 4751163 BLAKE2B 
21e417dab5c118b16ab8d2955b0d65a95ca7d0e2f777496306855e4098cfb400962dd9e0cf03ebbab5e3348f2f985d1053d0a70124c0925c77859e8ada209cec
 SHA512 
6bdb294da393a198abf81d5f63799a066334755eed0fda40bbfc4e9a774b6e19a3e5ad7ab45c989d31f3797e7b547bb552c29f51b552d9a79d166f86aee375a3
 DIST hpx-1.8.0.tar.gz 5209106 BLAKE2B 
aab9d3743cc2d73c2d3a6a2f2323e35dbe38cf506618475ea627d9c0d92855632f646404f5b257e2260eabe6bb22e8090bc3db2aafd9f4f71a0eeb62d7286247
 SHA512 
80afc93d517144d5c11164f82d7f0dd6fd71c079fb65930532c4fd96b6a5497cdf972bee8a6251035548a3662579a3bee5c04802569f47bc3c042ca868716cb7

diff --git a/sys-cluster/hpx/files/hpx-1.7.1-python.patch 
b/sys-cluster/hpx/files/hpx-1.7.1-python.patch
deleted file mode 100644
index 21b7ce3ceeff..
--- a/sys-cluster/hpx/files/hpx-1.7.1-python.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Tue, 17 Mar 2020 16:20:35 +0100
-Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
-
-These scripts are needed during build and run time. So, use a python 
interpreter
-which works for both cases.
-
-Signed-off-by: Kurt Kanzenbach 

- cmake/templates/hpxcxx.in|2 +-
- cmake/templates/hpxrun.py.in |2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
 a/cmake/templates/hpxcxx.in
-+++ b/cmake/templates/hpxcxx.in
-@@ -1,4 +1,4 @@
--#! @PYTHON_EXECUTABLE@
-+#! /usr/bin/env python
- #
- # Copyright (c) 2014 Steven R. Brandt
- #
 a/cmake/templates/hpxrun.py.in
-+++ b/cmake/templates/hpxrun.py.in
-@@ -1,4 +1,4 @@
--#! @PYTHON_EXECUTABLE@
-+#! /usr/bin/env python
- #
- # Copyright (c) 2014 Thomas Heller
- #

diff --git a/sys-cluster/hpx/hpx-1.7.1-r1.ebuild 
b/sys-cluster/hpx/hpx-1.7.1-r1.ebuild
deleted file mode 100644
index c1be762e1c26..
--- a/sys-cluster/hpx/hpx-1.7.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-if [[ ${PV} ==  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
-else
-   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-inherit check-reqs cmake multiprocessing python-single-r1
-
-DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
-
-SLOT="0"
-LICENSE="Boost-1.0"
-IUSE="examples jemalloc mpi papi +perftools tbb"
-# tests fail to compile
-RESTRICT="test"
-
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   ?? ( jemalloc perftools tbb )
-"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${PYTHON_DEPS}
-   >=dev-cpp/asio-1.12.0
-   dev-libs/boost:=
-   sys-apps/hwloc:=
-   sys-libs/zlib
-   jemalloc? ( dev-libs/jemalloc:= )
-   mpi? ( virtual/mpi )
-   papi? ( dev-libs/papi )
-   perftools? ( dev-util/google-perftools:= )
-   tbb? ( dev-cpp/tbb:= )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${P}-python.patch"
-)
-
-hpx_memory_requirement() {
-   # HPX needs enough main memory for compiling
-   # rule of thumb: 1G per job
-   if [[ -z ${MAKEOPTS} ]] ; then
-   echo "2G"
-   else
-   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
-   echo "${jobs}G"
-   fi
-}
-
-pkg_pretend() {
-   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
-   check-reqs_pkg_setup
-}
-
-pkg_setup() {
-   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
-   check-reqs_pkg_setup
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DHPX_WITH_EXAMPLES=OFF
-   -DHPX_WITH_DOCUMENTATION=OFF
-   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-   -DHPX_WITH_PAPI=$(usex papi)
-   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-   

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-10-29 Thread Sam James
commit: bcb60bc5545947901192e23c9d404e8809b4d60c
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 29 22:13:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 29 22:22:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb60bc5

sys-cluster/hpx: add tbb subslot operator

Signed-off-by: Sam James  gentoo.org>

 sys-cluster/hpx/{hpx-1.7.1.ebuild => hpx-1.7.1-r1.ebuild} | 8 
 sys-cluster/hpx/hpx-.ebuild   | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.7.1.ebuild 
b/sys-cluster/hpx/hpx-1.7.1-r1.ebuild
similarity index 94%
rename from sys-cluster/hpx/hpx-1.7.1.ebuild
rename to sys-cluster/hpx/hpx-1.7.1-r1.ebuild
index 15cacad6996..c1be762e1c2 100644
--- a/sys-cluster/hpx/hpx-1.7.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.7.1-r1.ebuild
@@ -35,13 +35,13 @@ RDEPEND="
${PYTHON_DEPS}
>=dev-cpp/asio-1.12.0
dev-libs/boost:=
-   sys-apps/hwloc
+   sys-apps/hwloc:=
sys-libs/zlib
-   jemalloc? ( dev-libs/jemalloc )
+   jemalloc? ( dev-libs/jemalloc:= )
mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
-   perftools? ( dev-util/google-perftools )
-   tbb? ( dev-cpp/tbb )
+   perftools? ( dev-util/google-perftools:= )
+   tbb? ( dev-cpp/tbb:= )
 "
 DEPEND="${RDEPEND}"
 

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 0c573198a76..e9869e80d74 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -35,13 +35,13 @@ RDEPEND="
${PYTHON_DEPS}
>=dev-cpp/asio-1.12.0
dev-libs/boost:=
-   sys-apps/hwloc
+   sys-apps/hwloc:=
sys-libs/zlib
-   jemalloc? ( dev-libs/jemalloc )
+   jemalloc? ( dev-libs/jemalloc:= )
mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
-   perftools? ( dev-util/google-perftools )
-   tbb? ( dev-cpp/tbb )
+   perftools? ( dev-util/google-perftools:= )
+   tbb? ( dev-cpp/tbb:= )
 "
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-08-26 Thread Sam James
commit: 1175001abc9f53763ab53ecfd8b3bf28b3c8411c
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Aug 26 19:42:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 26 22:20:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1175001a

sys-cluster/hpx: Sync live ebuild

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/22119
Signed-off-by: Sam James  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 7f80474d33a..0c573198a76 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
 "
 RDEPEND="
${PYTHON_DEPS}
-   dev-cpp/asio
+   >=dev-cpp/asio-1.12.0
dev-libs/boost:=
sys-apps/hwloc
sys-libs/zlib



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-08-26 Thread Sam James
commit: 4b931a3def4c2b0b8a0db847626a335ea5e86a3c
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Aug 26 19:41:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 26 22:20:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b931a3d

sys-cluster/hpx: Specify asio version

hpx needs at least version 1.12.0 of asio. Add it.

Closes: https://bugs.gentoo.org/808773
Closes: https://bugs.gentoo.org/810301
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Sam James  gentoo.org>

 sys-cluster/hpx/hpx-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/hpx/hpx-1.7.1.ebuild b/sys-cluster/hpx/hpx-1.7.1.ebuild
index 2ab8ea741f3..15cacad6996 100644
--- a/sys-cluster/hpx/hpx-1.7.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.7.1.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
 "
 RDEPEND="
${PYTHON_DEPS}
-   dev-cpp/asio
+   >=dev-cpp/asio-1.12.0
dev-libs/boost:=
sys-apps/hwloc
sys-libs/zlib



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2021-08-24 Thread Joonas Niilola
commit: 15113732bd81a948648da56f97b636189b0b934c
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Aug 19 18:28:32 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 24 08:50:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15113732

sys-cluster/hpx: Drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/22040
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 -
 sys-cluster/hpx/files/hpx-1.7.0-python.patch |  30 
 sys-cluster/hpx/hpx-1.7.0.ebuild | 104 ---
 3 files changed, 135 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 7e92db81410..32cfd01e4d9 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
-DIST hpx-1.7.0.tar.gz 4729879 BLAKE2B 
05be1461eb0867b690a8f34a7ddf46d4fa19e05b5666df6cf5a3dfd28fa6a6ecacf6305bf2eaa42a669f18264b61c9690988695b8748ba09a27011001b543952
 SHA512 
052b3278710d8047c8e0e0979a668aa5161c495fcd12b089dd5039c64bd414b4ec0b96dfcd414d68e0db5b31c360dffb84374413c53794f37ce77d9cabc89518
 DIST hpx-1.7.1.tar.gz 4751163 BLAKE2B 
21e417dab5c118b16ab8d2955b0d65a95ca7d0e2f777496306855e4098cfb400962dd9e0cf03ebbab5e3348f2f985d1053d0a70124c0925c77859e8ada209cec
 SHA512 
6bdb294da393a198abf81d5f63799a066334755eed0fda40bbfc4e9a774b6e19a3e5ad7ab45c989d31f3797e7b547bb552c29f51b552d9a79d166f86aee375a3

diff --git a/sys-cluster/hpx/files/hpx-1.7.0-python.patch 
b/sys-cluster/hpx/files/hpx-1.7.0-python.patch
deleted file mode 100644
index 21b7ce3ceef..000
--- a/sys-cluster/hpx/files/hpx-1.7.0-python.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Tue, 17 Mar 2020 16:20:35 +0100
-Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
-
-These scripts are needed during build and run time. So, use a python 
interpreter
-which works for both cases.
-
-Signed-off-by: Kurt Kanzenbach 

- cmake/templates/hpxcxx.in|2 +-
- cmake/templates/hpxrun.py.in |2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
 a/cmake/templates/hpxcxx.in
-+++ b/cmake/templates/hpxcxx.in
-@@ -1,4 +1,4 @@
--#! @PYTHON_EXECUTABLE@
-+#! /usr/bin/env python
- #
- # Copyright (c) 2014 Steven R. Brandt
- #
 a/cmake/templates/hpxrun.py.in
-+++ b/cmake/templates/hpxrun.py.in
-@@ -1,4 +1,4 @@
--#! @PYTHON_EXECUTABLE@
-+#! /usr/bin/env python
- #
- # Copyright (c) 2014 Thomas Heller
- #

diff --git a/sys-cluster/hpx/hpx-1.7.0.ebuild b/sys-cluster/hpx/hpx-1.7.0.ebuild
deleted file mode 100644
index 2ab8ea741f3..000
--- a/sys-cluster/hpx/hpx-1.7.0.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-if [[ ${PV} ==  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
-else
-   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-inherit check-reqs cmake multiprocessing python-single-r1
-
-DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
-
-SLOT="0"
-LICENSE="Boost-1.0"
-IUSE="examples jemalloc mpi papi +perftools tbb"
-# tests fail to compile
-RESTRICT="test"
-
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   ?? ( jemalloc perftools tbb )
-"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-cpp/asio
-   dev-libs/boost:=
-   sys-apps/hwloc
-   sys-libs/zlib
-   jemalloc? ( dev-libs/jemalloc )
-   mpi? ( virtual/mpi )
-   papi? ( dev-libs/papi )
-   perftools? ( dev-util/google-perftools )
-   tbb? ( dev-cpp/tbb )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${P}-python.patch"
-)
-
-hpx_memory_requirement() {
-   # HPX needs enough main memory for compiling
-   # rule of thumb: 1G per job
-   if [[ -z ${MAKEOPTS} ]] ; then
-   echo "2G"
-   else
-   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
-   echo "${jobs}G"
-   fi
-}
-
-pkg_pretend() {
-   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
-   check-reqs_pkg_setup
-}
-
-pkg_setup() {
-   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
-   check-reqs_pkg_setup
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DHPX_WITH_EXAMPLES=OFF
-   -DHPX_WITH_DOCUMENTATION=OFF
-   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-   -DHPX_WITH_PAPI=$(usex papi)
-   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-   

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2021-08-24 Thread Joonas Niilola
commit: cb5f6e4697232cd663ce85d9a72b0db00da81948
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Aug 19 18:27:23 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 24 08:50:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5f6e46

sys-cluster/hpx: Bump version to v1.7.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/files/hpx-1.7.1-python.patch |  30 
 sys-cluster/hpx/hpx-1.7.1.ebuild | 104 +++
 3 files changed, 135 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index e89c5667bf2..7e92db81410 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx-1.7.0.tar.gz 4729879 BLAKE2B 
05be1461eb0867b690a8f34a7ddf46d4fa19e05b5666df6cf5a3dfd28fa6a6ecacf6305bf2eaa42a669f18264b61c9690988695b8748ba09a27011001b543952
 SHA512 
052b3278710d8047c8e0e0979a668aa5161c495fcd12b089dd5039c64bd414b4ec0b96dfcd414d68e0db5b31c360dffb84374413c53794f37ce77d9cabc89518
+DIST hpx-1.7.1.tar.gz 4751163 BLAKE2B 
21e417dab5c118b16ab8d2955b0d65a95ca7d0e2f777496306855e4098cfb400962dd9e0cf03ebbab5e3348f2f985d1053d0a70124c0925c77859e8ada209cec
 SHA512 
6bdb294da393a198abf81d5f63799a066334755eed0fda40bbfc4e9a774b6e19a3e5ad7ab45c989d31f3797e7b547bb552c29f51b552d9a79d166f86aee375a3

diff --git a/sys-cluster/hpx/files/hpx-1.7.1-python.patch 
b/sys-cluster/hpx/files/hpx-1.7.1-python.patch
new file mode 100644
index 000..21b7ce3ceef
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.7.1-python.patch
@@ -0,0 +1,30 @@
+From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Tue, 17 Mar 2020 16:20:35 +0100
+Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
+
+These scripts are needed during build and run time. So, use a python 
interpreter
+which works for both cases.
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ cmake/templates/hpxcxx.in|2 +-
+ cmake/templates/hpxrun.py.in |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/cmake/templates/hpxcxx.in
 b/cmake/templates/hpxcxx.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Steven R. Brandt
+ #
+--- a/cmake/templates/hpxrun.py.in
 b/cmake/templates/hpxrun.py.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Thomas Heller
+ #

diff --git a/sys-cluster/hpx/hpx-1.7.1.ebuild b/sys-cluster/hpx/hpx-1.7.1.ebuild
new file mode 100644
index 000..2ab8ea741f3
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.7.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-cpp/asio
+   dev-libs/boost:=
+   sys-apps/hwloc
+   sys-libs/zlib
+   jemalloc? ( dev-libs/jemalloc )
+   mpi? ( virtual/mpi )
+   papi? ( dev-libs/papi )
+   perftools? ( dev-util/google-perftools )
+   tbb? ( dev-cpp/tbb )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-python.patch"
+)
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
+
+pkg_setup() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=OFF
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DBUILD_TESTING=OFF
+   )
+   if use 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2021-07-23 Thread Joonas Niilola
commit: 55c06d283d3289f8350aec0ab9137fe97c3fa568
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon Jul 19 16:42:20 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 14:33:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c06d28

sys-cluster/hpx: Drop old

Closes: https://bugs.gentoo.org/733778
Closes: https://bugs.gentoo.org/774198
Closes: https://bugs.gentoo.org/800623
Closes: https://bugs.gentoo.org/800641
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/21714
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 -
 sys-cluster/hpx/files/hpx-1.6.0-cmake.patch  |  32 ---
 sys-cluster/hpx/files/hpx-1.6.0-docs.patch   |  91 
 sys-cluster/hpx/files/hpx-1.6.0-python.patch |  37 -
 sys-cluster/hpx/files/hpx-1.6.0-tests.patch  | 115 -
 sys-cluster/hpx/hpx-1.6.0.ebuild | 120 ---
 6 files changed, 396 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index dddef438e7f..e89c5667bf2 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
-DIST hpx-1.6.0.tar.gz 4596486 BLAKE2B 
e19d88d70d3dec45536b4f174bc1bae49285bde3db37517381071bec318748913ff239c66f02acb15451dc2f38a7799e9424fc5269851478b33da81654bd6c16
 SHA512 
cd717db3812fc26117d72c8afa654972b16f7059d8e6965484edd938788f3369fcd5ca791eee80e803703d6f3c39b3a3cd0525ab9f58ff1312e1b49f06ce67bc
 DIST hpx-1.7.0.tar.gz 4729879 BLAKE2B 
05be1461eb0867b690a8f34a7ddf46d4fa19e05b5666df6cf5a3dfd28fa6a6ecacf6305bf2eaa42a669f18264b61c9690988695b8748ba09a27011001b543952
 SHA512 
052b3278710d8047c8e0e0979a668aa5161c495fcd12b089dd5039c64bd414b4ec0b96dfcd414d68e0db5b31c360dffb84374413c53794f37ce77d9cabc89518

diff --git a/sys-cluster/hpx/files/hpx-1.6.0-cmake.patch 
b/sys-cluster/hpx/files/hpx-1.6.0-cmake.patch
deleted file mode 100644
index 646084e7729..000
--- a/sys-cluster/hpx/files/hpx-1.6.0-cmake.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 240f55e4bc57215e26fc0b0ae0ac0eca2eb93d65 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Sat, 19 Sep 2020 13:19:42 +0200
-Subject: [PATCH 2/3] tests: Remove unused cmake options
-
-This fixes the following warnings:
-
-| * One or more CMake variables were not used by the project:
-| *   BOOST_ROOT
-| *   SETUP_TYPE
-
-Signed-off-by: Kurt Kanzenbach 

- tests/unit/build/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/unit/build/CMakeLists.txt b/tests/unit/build/CMakeLists.txt
-index 3798549da0a8..7d3bfea1044e 100644
 a/tests/unit/build/CMakeLists.txt
-+++ b/tests/unit/build/CMakeLists.txt
-@@ -54,7 +54,7 @@ function(create_cmake_test name using_install_dir hpx_dir 
setup_type test_dir)
- ${name}.make_configure
- COMMAND
-   "${CMAKE_COMMAND}" -E chdir "${build_dir}" "${CMAKE_COMMAND}" 
${test_dir}
--  -DHPX_DIR=${hpx_dir} -DBOOST_ROOT=${BOOST_ROOT}
-+  -DHPX_DIR=${hpx_dir}
-   ${ADDITIONAL_CMAKE_OPTIONS} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS_SAFE}
-   -DCMAKE_BUILD_TYPE=$
- VERBATIM
--- 
-2.30.1
-

diff --git a/sys-cluster/hpx/files/hpx-1.6.0-docs.patch 
b/sys-cluster/hpx/files/hpx-1.6.0-docs.patch
deleted file mode 100644
index 3823bab918b..000
--- a/sys-cluster/hpx/files/hpx-1.6.0-docs.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From 1de9f65fac6c4b65ff280501d60b9b6dd46c6a8c Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Mon, 22 Feb 2021 20:36:14 +0100
-Subject: [PATCH 3/3] static_reinit: Remove export macro
-
-This macro leads to doc generation fail:
-
-|/home/kurt/git/hpx/build/docs/sphinx/libs/static_reinit/api.rst:29: 
WARNING:cpp:identifier reference target not found: 
HPX_EXPORT_REINITIALIZABLE_STATIC
-
-... and it results in an exception in sphinx:
-
-|Traceback (most recent call last):
-|  File "/usr/lib/python3.7/site-packages/sphinx/cmd/build.py", line 280, in 
build_main
-|app.build(args.force_all, filenames)
-|  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 348, in 
build
-|self.builder.build_update()
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
299, in build_update
-|len(to_build))
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
361, in build
-|self.write(docnames, list(updated_docnames), method)
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
535, in write
-|self._write_serial(sorted(docnames))
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
542, in _write_serial
-|doctree = self.env.get_and_resolve_doctree(docname, self)
-|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 539, in get_and_resolve_doctree
-|self.apply_post_transforms(doctree, docname)
-|  File 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-07-23 Thread Joonas Niilola
commit: e2007089d40341fadf7d53ba69a936e7ce699de2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jul 23 14:32:43 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 14:33:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2007089

sys-cluster/hpx: sync live ebuild

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index ac9a6bf0b34..7f80474d33a 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -33,9 +33,11 @@ BDEPEND="
 "
 RDEPEND="
${PYTHON_DEPS}
+   dev-cpp/asio
dev-libs/boost:=
sys-apps/hwloc
sys-libs/zlib
+   jemalloc? ( dev-libs/jemalloc )
mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
perftools? ( dev-util/google-perftools )



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-07-23 Thread Joonas Niilola
commit: 8c5c8f1b0413c6a9c1704a42bf323dbfe78d3158
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon Jul 19 16:41:20 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 14:33:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5c8f1b

sys-cluster/hpx: Sync live ebuild

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 27 ++-
 1 file changed, 6 insertions(+), 21 deletions(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 32de06bd084..ac9a6bf0b34 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
@@ -19,8 +19,9 @@ HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
 
 SLOT="0"
 LICENSE="Boost-1.0"
-IUSE="doc examples jemalloc mpi papi +perftools tbb test"
-RESTRICT="!test? ( test )"
+IUSE="examples jemalloc mpi papi +perftools tbb"
+# tests fail to compile
+RESTRICT="test"
 
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -29,16 +30,6 @@ REQUIRED_USE="
 
 BDEPEND="
virtual/pkgconfig
-   doc? (
-   ${PYTHON_DEPS}
-   app-doc/doxygen
-   $(python_gen_cond_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   >=dev-python/breathe-4.22[${PYTHON_USEDEP}]
-   ')
-   )
-   test? ( ${PYTHON_DEPS} )
 "
 RDEPEND="
${PYTHON_DEPS}
@@ -77,11 +68,11 @@ pkg_setup() {
 src_configure() {
local mycmakeargs=(
-DHPX_WITH_EXAMPLES=OFF
-   -DHPX_WITH_DOCUMENTATION=$(usex doc)
+   -DHPX_WITH_DOCUMENTATION=OFF
-DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-DHPX_WITH_PAPI=$(usex papi)
-DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DBUILD_TESTING=$(usex test)
+   -DBUILD_TESTING=OFF
)
if use jemalloc; then
mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
@@ -98,12 +89,6 @@ src_configure() {
 
 src_compile() {
cmake_src_compile
-   use test && cmake_build tests
-}
-
-src_test() {
-   # avoid over-suscribing
-   cmake_src_test -j1
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-07-23 Thread Joonas Niilola
commit: e3239c7311d2eac473f2ff71c5627694c5491349
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jul 23 14:32:04 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 14:33:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3239c73

sys-cluster/hpx: add missing deps for 1.7.0

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-1.7.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-cluster/hpx/hpx-1.7.0.ebuild b/sys-cluster/hpx/hpx-1.7.0.ebuild
index e7e729860da..2ab8ea741f3 100644
--- a/sys-cluster/hpx/hpx-1.7.0.ebuild
+++ b/sys-cluster/hpx/hpx-1.7.0.ebuild
@@ -33,9 +33,11 @@ BDEPEND="
 "
 RDEPEND="
${PYTHON_DEPS}
+   dev-cpp/asio
dev-libs/boost:=
sys-apps/hwloc
sys-libs/zlib
+   jemalloc? ( dev-libs/jemalloc )
mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
perftools? ( dev-util/google-perftools )



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2021-07-23 Thread Joonas Niilola
commit: d87f72e801ea53c3d2707558eefd1eca60e11acc
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Jul 15 19:31:45 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 14:33:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87f72e8

sys-cluster/hpx: Bump to v1.7.0

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/files/hpx-1.7.0-python.patch |  30 
 sys-cluster/hpx/hpx-1.7.0.ebuild | 102 +++
 3 files changed, 133 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 3cdb83c4d05..dddef438e7f 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx-1.6.0.tar.gz 4596486 BLAKE2B 
e19d88d70d3dec45536b4f174bc1bae49285bde3db37517381071bec318748913ff239c66f02acb15451dc2f38a7799e9424fc5269851478b33da81654bd6c16
 SHA512 
cd717db3812fc26117d72c8afa654972b16f7059d8e6965484edd938788f3369fcd5ca791eee80e803703d6f3c39b3a3cd0525ab9f58ff1312e1b49f06ce67bc
+DIST hpx-1.7.0.tar.gz 4729879 BLAKE2B 
05be1461eb0867b690a8f34a7ddf46d4fa19e05b5666df6cf5a3dfd28fa6a6ecacf6305bf2eaa42a669f18264b61c9690988695b8748ba09a27011001b543952
 SHA512 
052b3278710d8047c8e0e0979a668aa5161c495fcd12b089dd5039c64bd414b4ec0b96dfcd414d68e0db5b31c360dffb84374413c53794f37ce77d9cabc89518

diff --git a/sys-cluster/hpx/files/hpx-1.7.0-python.patch 
b/sys-cluster/hpx/files/hpx-1.7.0-python.patch
new file mode 100644
index 000..21b7ce3ceef
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.7.0-python.patch
@@ -0,0 +1,30 @@
+From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Tue, 17 Mar 2020 16:20:35 +0100
+Subject: [PATCH 1/4] cmake: python: Use standard python interpreter
+
+These scripts are needed during build and run time. So, use a python 
interpreter
+which works for both cases.
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ cmake/templates/hpxcxx.in|2 +-
+ cmake/templates/hpxrun.py.in |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/cmake/templates/hpxcxx.in
 b/cmake/templates/hpxcxx.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Steven R. Brandt
+ #
+--- a/cmake/templates/hpxrun.py.in
 b/cmake/templates/hpxrun.py.in
+@@ -1,4 +1,4 @@
+-#! @PYTHON_EXECUTABLE@
++#! /usr/bin/env python
+ #
+ # Copyright (c) 2014 Thomas Heller
+ #

diff --git a/sys-cluster/hpx/hpx-1.7.0.ebuild b/sys-cluster/hpx/hpx-1.7.0.ebuild
new file mode 100644
index 000..e7e729860da
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.7.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-libs/boost:=
+   sys-apps/hwloc
+   sys-libs/zlib
+   mpi? ( virtual/mpi )
+   papi? ( dev-libs/papi )
+   perftools? ( dev-util/google-perftools )
+   tbb? ( dev-cpp/tbb )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-python.patch"
+)
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
+
+pkg_setup() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=OFF
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DBUILD_TESTING=OFF
+   )
+   if use jemalloc; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2021-07-17 Thread David Seifert
commit: e609307680dafd77fc763e161d73776f0486afe9
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jul 17 18:17:18 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jul 17 18:17:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6093076

sys-cluster/hpx: PYTHON_MULTI_USEDEP -> PYTHON_USEDEP

Signed-off-by: David Seifert  gentoo.org>

 sys-cluster/hpx/hpx-1.6.0.ebuild |  8 
 sys-cluster/hpx/hpx-.ebuild  | 10 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.6.0.ebuild b/sys-cluster/hpx/hpx-1.6.0.ebuild
index e5e15ce69bc..6f139b5d384 100644
--- a/sys-cluster/hpx/hpx-1.6.0.ebuild
+++ b/sys-cluster/hpx/hpx-1.6.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
@@ -33,9 +33,9 @@ BDEPEND="
${PYTHON_DEPS}
app-doc/doxygen
$(python_gen_cond_dep '
-   dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
-   dev-python/breathe[${PYTHON_MULTI_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
')
)
test? ( ${PYTHON_DEPS} )

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 93a9bd8f1bd..32de06bd084 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
@@ -33,9 +33,9 @@ BDEPEND="
${PYTHON_DEPS}
app-doc/doxygen
$(python_gen_cond_dep '
-   dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
-   >=dev-python/breathe-4.22[${PYTHON_MULTI_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   >=dev-python/breathe-4.22[${PYTHON_USEDEP}]
')
)
test? ( ${PYTHON_DEPS} )



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2021-03-04 Thread Joonas Niilola
commit: 8b39bcf6af6eb60d49ff6d6ce09f7fd6da862ae7
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sat Feb 27 18:23:53 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar  4 17:22:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b39bcf6

sys-cluster/hpx: Bump to version v1.6.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/files/hpx-1.6.0-cmake.patch  |  32 +++
 sys-cluster/hpx/files/hpx-1.6.0-docs.patch   |  91 
 sys-cluster/hpx/files/hpx-1.6.0-python.patch |  37 +
 sys-cluster/hpx/files/hpx-1.6.0-tests.patch  | 115 +
 sys-cluster/hpx/hpx-1.6.0.ebuild | 120 +++
 6 files changed, 396 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index b94551a449f..146cb785163 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx-1.5.1.tar.gz 4576475 BLAKE2B 
8702638461f92d9d94d0e2ac4ec32527d995a45f54babcbf08d644d1cac8fa37692fb66f59e221930f7738861b41a93fd0ab64d11c4e46d4e039ff3b0e4fec72
 SHA512 
ab2603adca8780808b62b55f57a03bf8491b805665831c1c484eeba8e7b306bb3269884c8940ad2fc4c5b0d679c54b1e33bc077cdb7ea6d1cb9a715ff70b9842
+DIST hpx-1.6.0.tar.gz 4596486 BLAKE2B 
e19d88d70d3dec45536b4f174bc1bae49285bde3db37517381071bec318748913ff239c66f02acb15451dc2f38a7799e9424fc5269851478b33da81654bd6c16
 SHA512 
cd717db3812fc26117d72c8afa654972b16f7059d8e6965484edd938788f3369fcd5ca791eee80e803703d6f3c39b3a3cd0525ab9f58ff1312e1b49f06ce67bc

diff --git a/sys-cluster/hpx/files/hpx-1.6.0-cmake.patch 
b/sys-cluster/hpx/files/hpx-1.6.0-cmake.patch
new file mode 100644
index 000..646084e7729
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.6.0-cmake.patch
@@ -0,0 +1,32 @@
+From 240f55e4bc57215e26fc0b0ae0ac0eca2eb93d65 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Sat, 19 Sep 2020 13:19:42 +0200
+Subject: [PATCH 2/3] tests: Remove unused cmake options
+
+This fixes the following warnings:
+
+| * One or more CMake variables were not used by the project:
+| *   BOOST_ROOT
+| *   SETUP_TYPE
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ tests/unit/build/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/unit/build/CMakeLists.txt b/tests/unit/build/CMakeLists.txt
+index 3798549da0a8..7d3bfea1044e 100644
+--- a/tests/unit/build/CMakeLists.txt
 b/tests/unit/build/CMakeLists.txt
+@@ -54,7 +54,7 @@ function(create_cmake_test name using_install_dir hpx_dir 
setup_type test_dir)
+ ${name}.make_configure
+ COMMAND
+   "${CMAKE_COMMAND}" -E chdir "${build_dir}" "${CMAKE_COMMAND}" 
${test_dir}
+-  -DHPX_DIR=${hpx_dir} -DBOOST_ROOT=${BOOST_ROOT}
++  -DHPX_DIR=${hpx_dir}
+   ${ADDITIONAL_CMAKE_OPTIONS} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS_SAFE}
+   -DCMAKE_BUILD_TYPE=$
+ VERBATIM
+-- 
+2.30.1
+

diff --git a/sys-cluster/hpx/files/hpx-1.6.0-docs.patch 
b/sys-cluster/hpx/files/hpx-1.6.0-docs.patch
new file mode 100644
index 000..3823bab918b
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.6.0-docs.patch
@@ -0,0 +1,91 @@
+From 1de9f65fac6c4b65ff280501d60b9b6dd46c6a8c Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Mon, 22 Feb 2021 20:36:14 +0100
+Subject: [PATCH 3/3] static_reinit: Remove export macro
+
+This macro leads to doc generation fail:
+
+|/home/kurt/git/hpx/build/docs/sphinx/libs/static_reinit/api.rst:29: 
WARNING:cpp:identifier reference target not found: 
HPX_EXPORT_REINITIALIZABLE_STATIC
+
+... and it results in an exception in sphinx:
+
+|Traceback (most recent call last):
+|  File "/usr/lib/python3.7/site-packages/sphinx/cmd/build.py", line 280, in 
build_main
+|app.build(args.force_all, filenames)
+|  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 348, in 
build
+|self.builder.build_update()
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
299, in build_update
+|len(to_build))
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
361, in build
+|self.write(docnames, list(updated_docnames), method)
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
535, in write
+|self._write_serial(sorted(docnames))
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
542, in _write_serial
+|doctree = self.env.get_and_resolve_doctree(docname, self)
+|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 539, in get_and_resolve_doctree
+|self.apply_post_transforms(doctree, docname)
+|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 585, in apply_post_transforms
+|transformer.apply_transforms()
+|  File 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2021-03-04 Thread Joonas Niilola
commit: 86a0e86408021af204903819813d13699cdfe719
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sat Feb 27 18:24:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar  4 17:22:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a0e864

sys-cluster/hpx: Drop old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/19692
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 -
 sys-cluster/hpx/files/hpx-1.5.1-cmake.patch  |  32 ---
 sys-cluster/hpx/files/hpx-1.5.1-docs.patch   |  91 
 sys-cluster/hpx/files/hpx-1.5.1-python.patch |  37 -
 sys-cluster/hpx/files/hpx-1.5.1-tests.patch  | 111 -
 sys-cluster/hpx/hpx-1.5.1.ebuild | 120 ---
 6 files changed, 392 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 146cb785163..3cdb83c4d05 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
-DIST hpx-1.5.1.tar.gz 4576475 BLAKE2B 
8702638461f92d9d94d0e2ac4ec32527d995a45f54babcbf08d644d1cac8fa37692fb66f59e221930f7738861b41a93fd0ab64d11c4e46d4e039ff3b0e4fec72
 SHA512 
ab2603adca8780808b62b55f57a03bf8491b805665831c1c484eeba8e7b306bb3269884c8940ad2fc4c5b0d679c54b1e33bc077cdb7ea6d1cb9a715ff70b9842
 DIST hpx-1.6.0.tar.gz 4596486 BLAKE2B 
e19d88d70d3dec45536b4f174bc1bae49285bde3db37517381071bec318748913ff239c66f02acb15451dc2f38a7799e9424fc5269851478b33da81654bd6c16
 SHA512 
cd717db3812fc26117d72c8afa654972b16f7059d8e6965484edd938788f3369fcd5ca791eee80e803703d6f3c39b3a3cd0525ab9f58ff1312e1b49f06ce67bc

diff --git a/sys-cluster/hpx/files/hpx-1.5.1-cmake.patch 
b/sys-cluster/hpx/files/hpx-1.5.1-cmake.patch
deleted file mode 100644
index ab31178bbe6..000
--- a/sys-cluster/hpx/files/hpx-1.5.1-cmake.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 8bee06baabf24c4b8f48766dba5c76d1979c8ea6 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Sat, 19 Sep 2020 13:19:42 +0200
-Subject: [PATCH] tests: Remove unused cmake options
-
-This fixes the following warnings:
-
-| * One or more CMake variables were not used by the project:
-| *   BOOST_ROOT
-| *   SETUP_TYPE
-
-Signed-off-by: Kurt Kanzenbach 

- tests/unit/build/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/unit/build/CMakeLists.txt b/tests/unit/build/CMakeLists.txt
-index a4db8d4c927f..43bb766aced5 100644
 a/tests/unit/build/CMakeLists.txt
-+++ b/tests/unit/build/CMakeLists.txt
-@@ -57,7 +57,7 @@ function(create_cmake_test name using_install_dir hpx_dir 
setup_type test_dir)
- ${name}.make_configure
- COMMAND
-   "${CMAKE_COMMAND}" -E chdir "${build_dir}" "${CMAKE_COMMAND}" 
${test_dir}
--  -DHPX_DIR=${hpx_dir} -DBOOST_ROOT=${BOOST_ROOT}
-+  -DHPX_DIR=${hpx_dir}
-   ${ADDITIONAL_CMAKE_OPTIONS} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS_SAFE}
-   -DCMAKE_BUILD_TYPE=$
- VERBATIM
--- 
-2.26.2
-

diff --git a/sys-cluster/hpx/files/hpx-1.5.1-docs.patch 
b/sys-cluster/hpx/files/hpx-1.5.1-docs.patch
deleted file mode 100644
index a9978ea2955..000
--- a/sys-cluster/hpx/files/hpx-1.5.1-docs.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From 785ade96043ab6fff85646a841996ccf6dfd0b62 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Wed, 28 Oct 2020 18:37:31 +0100
-Subject: [PATCH] static_reinit: Remove export macro
-
-This macro leads to doc generation fail:
-
-|/home/kurt/git/hpx/build/docs/sphinx/libs/static_reinit/api.rst:29: 
WARNING:cpp:identifier reference target not found: 
HPX_EXPORT_REINITIALIZABLE_STATIC
-
-... and it results in an exception in sphinx:
-
-|Traceback (most recent call last):
-|  File "/usr/lib/python3.7/site-packages/sphinx/cmd/build.py", line 280, in 
build_main
-|app.build(args.force_all, filenames)
-|  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 348, in 
build
-|self.builder.build_update()
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
299, in build_update
-|len(to_build))
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
361, in build
-|self.write(docnames, list(updated_docnames), method)
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
535, in write
-|self._write_serial(sorted(docnames))
-|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
542, in _write_serial
-|doctree = self.env.get_and_resolve_doctree(docname, self)
-|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 539, in get_and_resolve_doctree
-|self.apply_post_transforms(doctree, docname)
-|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 585, in apply_post_transforms
-|transformer.apply_transforms()
-|  File 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2020-10-31 Thread Joonas Niilola
commit: 7b6a14caf639a25079c06286c0a07c4ca31d6620
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Fri Sep 18 20:01:02 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 31 09:47:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b6a14ca

sys-cluster/hpx: Bump version to v1.5.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |   1 +
 sys-cluster/hpx/files/hpx-1.5.1-cmake.patch  |  32 +++
 sys-cluster/hpx/files/hpx-1.5.1-docs.patch   |  91 
 sys-cluster/hpx/files/hpx-1.5.1-python.patch |  37 +
 sys-cluster/hpx/files/hpx-1.5.1-tests.patch  | 111 +
 sys-cluster/hpx/hpx-1.5.1.ebuild | 120 +++
 6 files changed, 392 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 1fa6355399d..519246709a7 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
+DIST hpx-1.5.1.tar.gz 4576475 BLAKE2B 
8702638461f92d9d94d0e2ac4ec32527d995a45f54babcbf08d644d1cac8fa37692fb66f59e221930f7738861b41a93fd0ab64d11c4e46d4e039ff3b0e4fec72
 SHA512 
ab2603adca8780808b62b55f57a03bf8491b805665831c1c484eeba8e7b306bb3269884c8940ad2fc4c5b0d679c54b1e33bc077cdb7ea6d1cb9a715ff70b9842
 DIST hpx_1.4.1.tar.gz 4213023 BLAKE2B 
dc8a9cda3061359ea1bb8eba9ccee60dea308f5425cfe0f18d9003032726962d74d417b8748124c8e6a0b207624093ccf625c82e9e1a71fce8dde74d41d987d2
 SHA512 
f110d5e5c10ec396f6e762568c9ecd5b767cb6efe91168b5caa8fe1e07bb5870cd13b3392fa4e008a2cc0e044b02084a35b0866e943d9b9c7435599c131f1582

diff --git a/sys-cluster/hpx/files/hpx-1.5.1-cmake.patch 
b/sys-cluster/hpx/files/hpx-1.5.1-cmake.patch
new file mode 100644
index 000..ab31178bbe6
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.5.1-cmake.patch
@@ -0,0 +1,32 @@
+From 8bee06baabf24c4b8f48766dba5c76d1979c8ea6 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Sat, 19 Sep 2020 13:19:42 +0200
+Subject: [PATCH] tests: Remove unused cmake options
+
+This fixes the following warnings:
+
+| * One or more CMake variables were not used by the project:
+| *   BOOST_ROOT
+| *   SETUP_TYPE
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ tests/unit/build/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/unit/build/CMakeLists.txt b/tests/unit/build/CMakeLists.txt
+index a4db8d4c927f..43bb766aced5 100644
+--- a/tests/unit/build/CMakeLists.txt
 b/tests/unit/build/CMakeLists.txt
+@@ -57,7 +57,7 @@ function(create_cmake_test name using_install_dir hpx_dir 
setup_type test_dir)
+ ${name}.make_configure
+ COMMAND
+   "${CMAKE_COMMAND}" -E chdir "${build_dir}" "${CMAKE_COMMAND}" 
${test_dir}
+-  -DHPX_DIR=${hpx_dir} -DBOOST_ROOT=${BOOST_ROOT}
++  -DHPX_DIR=${hpx_dir}
+   ${ADDITIONAL_CMAKE_OPTIONS} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS_SAFE}
+   -DCMAKE_BUILD_TYPE=$
+ VERBATIM
+-- 
+2.26.2
+

diff --git a/sys-cluster/hpx/files/hpx-1.5.1-docs.patch 
b/sys-cluster/hpx/files/hpx-1.5.1-docs.patch
new file mode 100644
index 000..a9978ea2955
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.5.1-docs.patch
@@ -0,0 +1,91 @@
+From 785ade96043ab6fff85646a841996ccf6dfd0b62 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Wed, 28 Oct 2020 18:37:31 +0100
+Subject: [PATCH] static_reinit: Remove export macro
+
+This macro leads to doc generation fail:
+
+|/home/kurt/git/hpx/build/docs/sphinx/libs/static_reinit/api.rst:29: 
WARNING:cpp:identifier reference target not found: 
HPX_EXPORT_REINITIALIZABLE_STATIC
+
+... and it results in an exception in sphinx:
+
+|Traceback (most recent call last):
+|  File "/usr/lib/python3.7/site-packages/sphinx/cmd/build.py", line 280, in 
build_main
+|app.build(args.force_all, filenames)
+|  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 348, in 
build
+|self.builder.build_update()
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
299, in build_update
+|len(to_build))
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
361, in build
+|self.write(docnames, list(updated_docnames), method)
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
535, in write
+|self._write_serial(sorted(docnames))
+|  File "/usr/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 
542, in _write_serial
+|doctree = self.env.get_and_resolve_doctree(docname, self)
+|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 539, in get_and_resolve_doctree
+|self.apply_post_transforms(doctree, docname)
+|  File "/usr/lib/python3.7/site-packages/sphinx/environment/__init__.py", 
line 585, in apply_post_transforms
+|transformer.apply_transforms()
+|  File "/usr/lib/python3.7/site-packages/sphinx/transforms/__init__.py", line 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-10-31 Thread Joonas Niilola
commit: 0bad8c8832e5840a2e10f55c7511af5e18ee0cb6
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Fri Sep 18 20:03:23 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 31 09:47:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bad8c88

sys-cluster/hpx: Sync live ebuild

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 168825c65b0..f8bb574e325 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -3,16 +3,16 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6..8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
 else
-   SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
-inherit cmake fortran-2 python-single-r1 check-reqs multiprocessing
+inherit check-reqs cmake multiprocessing python-single-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
@@ -35,7 +35,7 @@ BDEPEND="
$(python_gen_cond_dep '
dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
-   >=dev-python/breathe-4.14[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/breathe-4.22[${PYTHON_MULTI_USEDEP}]
')
)
test? ( ${PYTHON_DEPS} )



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2020-10-31 Thread Joonas Niilola
commit: 14fe4e4392d78029ea9d761696b3b3d4fda08999
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Fri Sep 18 20:04:19 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 31 09:47:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14fe4e43

sys-cluster/hpx: Drop old

The new version v1.5 builds with clang and boost-1.74. So, the build failure
bugs related to v1.4 can be closed.

Closes: https://bugs.gentoo.org/741960
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest   |   1 -
 sys-cluster/hpx/files/hpx-1.4.1-boost.patch|  30 
 .../files/hpx-1.4.1-disable-failing-tests.patch| 157 -
 sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch  |  79 ---
 sys-cluster/hpx/files/hpx-1.4.1-python.patch   |  37 -
 sys-cluster/hpx/hpx-1.4.1.ebuild   | 120 
 6 files changed, 424 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 519246709a7..b94551a449f 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
 DIST hpx-1.5.1.tar.gz 4576475 BLAKE2B 
8702638461f92d9d94d0e2ac4ec32527d995a45f54babcbf08d644d1cac8fa37692fb66f59e221930f7738861b41a93fd0ab64d11c4e46d4e039ff3b0e4fec72
 SHA512 
ab2603adca8780808b62b55f57a03bf8491b805665831c1c484eeba8e7b306bb3269884c8940ad2fc4c5b0d679c54b1e33bc077cdb7ea6d1cb9a715ff70b9842
-DIST hpx_1.4.1.tar.gz 4213023 BLAKE2B 
dc8a9cda3061359ea1bb8eba9ccee60dea308f5425cfe0f18d9003032726962d74d417b8748124c8e6a0b207624093ccf625c82e9e1a71fce8dde74d41d987d2
 SHA512 
f110d5e5c10ec396f6e762568c9ecd5b767cb6efe91168b5caa8fe1e07bb5870cd13b3392fa4e008a2cc0e044b02084a35b0866e943d9b9c7435599c131f1582

diff --git a/sys-cluster/hpx/files/hpx-1.4.1-boost.patch 
b/sys-cluster/hpx/files/hpx-1.4.1-boost.patch
deleted file mode 100644
index 939f4f77813..000
--- a/sys-cluster/hpx/files/hpx-1.4.1-boost.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 1a3615f30491320d48e45005ad7b032fb3c1821d Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Sun, 22 Mar 2020 12:49:59 +0100
-Subject: [PATCH] cmake: Remove passing of BOOST_ROOT
-
-That variable is not used and generates QA issues:
-
- * One or more CMake variables were not used by the project:
-   *   BOOST_ROOT
-
-Signed-off-by: Kurt Kanzenbach 

- tests/unit/build/CMakeLists.txt | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/tests/unit/build/CMakeLists.txt b/tests/unit/build/CMakeLists.txt
-index 757f4887fba2..2163b853fbad 100644
 a/tests/unit/build/CMakeLists.txt
-+++ b/tests/unit/build/CMakeLists.txt
-@@ -38,7 +38,6 @@ function(create_cmake_test name hpx_dir)
-   "${CMAKE_COMMAND}" -E chdir "${build_dir}" "${CMAKE_COMMAND}"
-   "${PROJECT_SOURCE_DIR}/examples/hello_world_component"
-   -DHPX_DIR=${hpx_dir}
--  -DBOOST_ROOT=${BOOST_ROOT}
-   ${ADDITIONAL_CMAKE_OPTIONS}
-   -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS_SAFE}
-   -DCMAKE_BUILD_TYPE=$ VERBATIM)
--- 
-2.24.1
-

diff --git a/sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch 
b/sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch
deleted file mode 100644
index 492cbaf2378..000
--- a/sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch
+++ /dev/null
@@ -1,157 +0,0 @@
-From 10577db8e8ca556dc98b1c0010b7e53416e22b22 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach 
-Date: Tue, 17 Mar 2020 11:21:53 +0100
-Subject: [PATCH] tests: Disable failing tests
-
-Currently six tests are failing:
-
-|99% tests passed, 6 tests failed out of 712
-|
-|Total Test time (real) = 2268.99 sec
-|
-|The following tests FAILED:
-|339 - 
tests.unit.modules.segmented_algorithms.distributed.tcp.partitioned_vector_adjacent_find1
 (Failed)
-|454 - tests.regressions.dynamic_counters_loaded_1508 (Failed)
-|601 - tests.unit.component.launch_process (Timeout)
-|678 - tests.unit.threads.distributed.tcp.thread_stacksize (Failed)
-|681 - tests.unit.topology.numa_allocator (Failed)
-|712 - 
tests.unit.parcelset.distributed.tcp.put_parcels_with_coalescing (Failed)
-
-Needs to be further investigated. Disable them for now.
-
-Signed-off-by: Kurt Kanzenbach 

- .../tests/unit/CMakeLists.txt |  2 +-
- tests/regressions/CMakeLists.txt  |  2 +-
- tests/unit/component/CMakeLists.txt   | 36 +--
- tests/unit/parcelset/CMakeLists.txt   |  2 +-
- tests/unit/threads/CMakeLists.txt |  2 +-
- tests/unit/topology/CMakeLists.txt|  6 ++--
- 6 files changed, 25 insertions(+), 25 deletions(-)
-
-diff --git a/libs/segmented_algorithms/tests/unit/CMakeLists.txt 
b/libs/segmented_algorithms/tests/unit/CMakeLists.txt
-index 1ed7dbd7798a..17d5e4cca3b4 100644
 a/libs/segmented_algorithms/tests/unit/CMakeLists.txt
-+++ 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-07-24 Thread Joonas Niilola
commit: 07473f74b43a0d9ae4d7a0d5784ba3444ed020a9
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sun Jul 12 14:22:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 24 12:03:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07473f74

sys-cluster/hpx: Sync live ebuild

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/16679
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 25019566f39..168825c65b0 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -12,7 +12,7 @@ else
SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
-inherit cmake fortran-2 python-single-r1 check-reqs
+inherit cmake fortran-2 python-single-r1 check-reqs multiprocessing
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
@@ -58,7 +58,7 @@ hpx_memory_requirement() {
if [[ -z ${MAKEOPTS} ]] ; then
echo "2G"
else
-   local jobs=`echo ${MAKEOPTS} | cut -d j -f 2`
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
echo "${jobs}G"
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-07-24 Thread Joonas Niilola
commit: f29658991e1fd295f10bf26d7a1275eebc43befa
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sun Jul 12 14:18:09 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 24 12:03:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2965899

sys-cluster/hpx: Fix memory requirement

Instead of guessing the number of make jobs, better use the corresponding eclass
to get it.

Closes: https://bugs.gentoo.org/732274
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-1.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.4.1.ebuild b/sys-cluster/hpx/hpx-1.4.1.ebuild
index 964325329bb..7206bca4082 100644
--- a/sys-cluster/hpx/hpx-1.4.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.4.1.ebuild
@@ -12,7 +12,7 @@ else
SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
-inherit cmake fortran-2 python-single-r1 check-reqs
+inherit cmake fortran-2 python-single-r1 check-reqs multiprocessing
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
@@ -65,7 +65,7 @@ hpx_memory_requirement() {
if [[ -z ${MAKEOPTS} ]] ; then
echo "2G"
else
-   local jobs=`echo ${MAKEOPTS} | cut -d j -f 2`
+   local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
echo "${jobs}G"
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2020-06-24 Thread Joonas Niilola
commit: 3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu May 28 17:38:51 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 24 14:29:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d00f3c5

sys-cluster/hpx: Fix compilation against boost-1.73

This has been fixed upstream already. Adding the patch.

Closes: https://bugs.gentoo.org/725774
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/15993
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch | 79 +++
 sys-cluster/hpx/hpx-1.4.1.ebuild  |  1 +
 2 files changed, 80 insertions(+)

diff --git a/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch 
b/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch
new file mode 100644
index 000..94271e6c0ec
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch
@@ -0,0 +1,79 @@
+From 6bdbb6a3ad6ea57c46e9998e9efd46f86f5d5729 Mon Sep 17 00:00:00 2001
+From: Hartmut Kaiser 
+Date: Tue, 28 Apr 2020 09:52:08 -0500
+Subject: [PATCH] Adding missing using placeholder::_X
+
+- flyby remove unneeded using statements
+
+(cherry picked from commit 1a6882195f9dc8d333ad12898fb88e3ca2931022)
+Signed-off-by: Kurt Kanzenbach 
+---
+ src/performance_counters/registry.cpp | 3 ---
+ src/runtime/agas/addressing_service.cpp   | 3 ++-
+ tests/performance/network/network_storage/network_storage.cpp | 1 -
+ 3 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/src/performance_counters/registry.cpp 
b/src/performance_counters/registry.cpp
+index 34c8d0e71d55..8da91f379a72 100644
+--- a/src/performance_counters/registry.cpp
 b/src/performance_counters/registry.cpp
+@@ -378,7 +378,6 @@ namespace hpx { namespace performance_counters
+ counter_status registry::create_raw_counter_value(counter_info const& 
info,
+ std::int64_t* countervalue, naming::gid_type& id, error_code& ec)
+ {
+-using util::placeholders::_1;
+ hpx::util::function_nonser func(
+ util::bind_front(wrap_counter, countervalue));
+ return create_raw_counter(info, func, id, ec);
+@@ -401,7 +400,6 @@ namespace hpx { namespace performance_counters
+ hpx::util::function_nonser const& f, 
naming::gid_type& id,
+ error_code& ec)
+ {
+-using util::placeholders::_1;
+ hpx::util::function_nonser func(
+ util::bind_front(_raw_counter, f));
+ return create_raw_counter(info, func, id, ec);
+@@ -465,7 +463,6 @@ namespace hpx { namespace performance_counters
+ hpx::util::function_nonser()> const& f,
+ naming::gid_type& id, error_code& ec)
+ {
+-using util::placeholders::_1;
+ hpx::util::function_nonser(bool)> func(
+ util::bind_front(_raw_values_counter, f));
+ return create_raw_counter(info, func, id, ec);
+diff --git a/src/runtime/agas/addressing_service.cpp 
b/src/runtime/agas/addressing_service.cpp
+index f30760c0e05e..b416a28d12d8 100644
+--- a/src/runtime/agas/addressing_service.cpp
 b/src/runtime/agas/addressing_service.cpp
+@@ -1864,7 +1864,6 @@ future 
addressing_service::on_symbol_namespace_event(
+ hpx::future f =
+ symbol_ns_.on_event(name, call_for_past_events, p.get_id());
+ 
+-using util::placeholders::_1;
+ return f.then(
+ hpx::launch::sync,
+ util::one_shot(util::bind_back(
+@@ -2356,6 +2355,8 @@ void addressing_service::register_counter_types()
+ util::bind_front(
+ _service::get_cache_erase_entry_time, this));
+ 
++using util::placeholders::_1;
++using util::placeholders::_2;
+ performance_counters::generic_counter_type_data const counter_types[] =
+ {
+ { "/agas/count/cache/entries", performance_counters::counter_raw,
+diff --git a/tests/performance/network/network_storage/network_storage.cpp 
b/tests/performance/network/network_storage/network_storage.cpp
+index 33fc1a66afa4..dfcffbafb180 100644
+--- a/tests/performance/network/network_storage/network_storage.cpp
 b/tests/performance/network/network_storage/network_storage.cpp
+@@ -802,7 +802,6 @@ void test_read(
+ ++FuturesWaiting[send_rank];
+ std::lock_guard lk(FuturesMutex);
+ #endif
+-using hpx::util::placeholders::_1;
+ std::size_t buffer_address =
+ reinterpret_cast(general_buffer.data());
+ //
+-- 
+2.26.2
+

diff --git a/sys-cluster/hpx/hpx-1.4.1.ebuild b/sys-cluster/hpx/hpx-1.4.1.ebuild
index 9a3dc2abc76..964325329bb 100644
--- a/sys-cluster/hpx/hpx-1.4.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.4.1.ebuild
@@ -55,6 +55,7 @@ DEPEND="${RDEPEND}"
 PATCHES=(
"${FILESDIR}/${P}-boost.patch"

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-03-28 Thread Joonas Niilola
commit: 4dca60e502225ecc15d164779cd415c75ed4341f
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Fri Mar 27 11:45:47 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dca60e5

sys-cluster/hpx: Sync live ebuild

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 5abc3de483f..25019566f39 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
 
 SLOT="0"
 LICENSE="Boost-1.0"
-IUSE="doc examples jemalloc papi +perftools tbb test"
+IUSE="doc examples jemalloc mpi papi +perftools tbb test"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="
@@ -45,6 +45,7 @@ RDEPEND="
dev-libs/boost:=
sys-apps/hwloc
sys-libs/zlib
+   mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
perftools? ( dev-util/google-perftools )
tbb? ( dev-cpp/tbb )
@@ -77,6 +78,7 @@ src_configure() {
local mycmakeargs=(
-DHPX_WITH_EXAMPLES=OFF
-DHPX_WITH_DOCUMENTATION=$(usex doc)
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-DHPX_WITH_PAPI=$(usex papi)
-DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-DBUILD_TESTING=$(usex test)



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-03-28 Thread Joonas Niilola
commit: a23a67fb6752707517c123c20496381012cc28e3
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Mar 26 15:27:10 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23a67fb

sys-cluster/hpx: Add myself as maintainer

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/metadata.xml | 24 +++-
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/sys-cluster/hpx/metadata.xml b/sys-cluster/hpx/metadata.xml
index af517a2b529..f23d6af9310 100644
--- a/sys-cluster/hpx/metadata.xml
+++ b/sys-cluster/hpx/metadata.xml
@@ -2,15 +2,21 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
-  HPX (High Performance ParalleX) is a general C++ runtime system
-  for parallel and distributed applications of any scale. It is the
-  first freely available, open source, feature-complete, modular,
-  and performance oriented implementation of the ParalleX execution
-  model. HPX is targeted at conventional architectures and,
-  currently, Linux based systems, such as SMP nodes and conventional
-  clusters.
-
-  
+HPX (High Performance ParalleX) is a general C++ runtime system for 
parallel
+and distributed applications of any scale. It is the first freely 
available,
+open source, feature-complete, modular, and performance oriented
+implementation of the ParalleX execution model. HPX is targeted at
+conventional architectures and, currently, Linux based systems, such as SMP
+nodes and conventional clusters.
+  
+  
+k...@kmk-computers.de
+Kurt Kanzenbach
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 Use dev-util/google-perftools for
   memory allocation



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-03-28 Thread Joonas Niilola
commit: 2ced84299fcd9ddd3e457fce9819ba70e40fbf8b
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Thu Mar 26 15:49:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ced8429

sys-cluster/hpx: Drop old

The only library using hpx is libgeodecomp and that one should/will work with
v1.4. Remove the old version and close bugs along with it.

Closes: https://bugs.gentoo.org/679958
Closes: https://bugs.gentoo.org/623434
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest |  1 -
 sys-cluster/hpx/hpx-1.2.1.ebuild | 82 
 2 files changed, 83 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 18b6ea7b1ed..1fa6355399d 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1 @@
-DIST hpx_1.2.1.tar.gz 3919474 BLAKE2B 
5f62f97a047c1b931068b671855bc9d7b8ff03d7f26793ee58445fb4c567d68c6c24c87844c7a6463901d784e11afe475120a41038e783a67cc75ede508473c5
 SHA512 
057724de1ef252e941a776174fa594a855255b5600461725a4da6e9002b1424a1e59be3f8a40673bb3db5a8aabd3c7b38abbb78042490befe247dd73c921b87c
 DIST hpx_1.4.1.tar.gz 4213023 BLAKE2B 
dc8a9cda3061359ea1bb8eba9ccee60dea308f5425cfe0f18d9003032726962d74d417b8748124c8e6a0b207624093ccf625c82e9e1a71fce8dde74d41d987d2
 SHA512 
f110d5e5c10ec396f6e762568c9ecd5b767cb6efe91168b5caa8fe1e07bb5870cd13b3392fa4e008a2cc0e044b02084a35b0866e943d9b9c7435599c131f1582

diff --git a/sys-cluster/hpx/hpx-1.2.1.ebuild b/sys-cluster/hpx/hpx-1.2.1.ebuild
deleted file mode 100644
index d075974e0bd..000
--- a/sys-cluster/hpx/hpx-1.2.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-
-if [[ ${PV} ==  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
-else
-   SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
-   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-   S="${WORKDIR}/${PN}_${PV}"
-fi
-inherit cmake fortran-2 python-any-r1
-
-DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
-
-SLOT="0"
-LICENSE="Boost-1.0"
-IUSE="doc examples jemalloc papi +perftools tbb test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="?? ( jemalloc perftools tbb )"
-
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( >=dev-libs/boost-1.56.0-r1[tools] )
-"
-RDEPEND="
-   >=dev-libs/boost-1.49:=
-   >=sys-apps/hwloc-1.8
-   >=sys-libs/libunwind-1
-   sys-libs/zlib
-   papi? ( dev-libs/papi )
-   perftools? ( >=dev-util/google-perftools-1.7.1 )
-   tbb? ( dev-cpp/tbb )
-"
-DEPEND="${RDEPEND}
-   test? ( ${PYTHON_DEPS} )
-"
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DHPX_WITH_EXAMPLES=OFF
-   -DHPX_WITH_DOCUMENTATION=$(usex doc)
-   -DHPX_WITH_PAPI=$(usex papi)
-   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DBUILD_TESTING=$(usex test)
-   )
-   if use jemalloc; then
-   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
-   elif use perftools; then
-   mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
-   elif use tbb; then
-   mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
-   else
-   mycmakeargs+=( -DHPX_WITH_MALLOC=system )
-   fi
-
-   cmake_src_configure
-}
-
-src_test() {
-   # avoid over-suscribing
-   cmake_build -j1 tests
-}
-
-src_install() {
-   cmake_src_install
-   if use examples; then
-   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
-   insinto /usr/share/doc/${PF}
-   doins -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-03-28 Thread Joonas Niilola
commit: eb059b0f66712f66d35afe148aa14941b61926a4
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Fri Mar 27 11:45:02 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb059b0f

sys-cluster/hpx: Add MPI support

hpx supports MPI as well. Add support for it.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-1.4.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/hpx/hpx-1.4.1.ebuild b/sys-cluster/hpx/hpx-1.4.1.ebuild
index dd34133656e..9a3dc2abc76 100644
--- a/sys-cluster/hpx/hpx-1.4.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.4.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
 
 SLOT="0"
 LICENSE="Boost-1.0"
-IUSE="doc examples jemalloc papi +perftools tbb test"
+IUSE="doc examples jemalloc mpi papi +perftools tbb test"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="
@@ -45,6 +45,7 @@ RDEPEND="
dev-libs/boost:=
sys-apps/hwloc
sys-libs/zlib
+   mpi? ( virtual/mpi )
papi? ( dev-libs/papi )
perftools? ( dev-util/google-perftools )
tbb? ( dev-cpp/tbb )
@@ -83,6 +84,7 @@ src_configure() {
local mycmakeargs=(
-DHPX_WITH_EXAMPLES=OFF
-DHPX_WITH_DOCUMENTATION=$(usex doc)
+   -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
-DHPX_WITH_PAPI=$(usex papi)
-DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-DBUILD_TESTING=$(usex test)



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-03-25 Thread Joonas Niilola
commit: ac36f2e6ff4e0c5971604cc69ac1f0a9bda16241
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sun Mar 15 18:58:58 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Mar 25 11:17:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac36f2e6

sys-cluster/hpx: Sync live ebuild

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/14990
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 67 +
 1 file changed, 48 insertions(+), 19 deletions(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index d075974e0bd..5abc3de483f 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6..8} )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3
@@ -11,9 +11,8 @@ if [[ ${PV} ==  ]] ; then
 else
SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-   S="${WORKDIR}/${PN}_${PV}"
 fi
-inherit cmake fortran-2 python-any-r1
+inherit cmake fortran-2 python-single-r1 check-reqs
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
@@ -23,27 +22,55 @@ LICENSE="Boost-1.0"
 IUSE="doc examples jemalloc papi +perftools tbb test"
 RESTRICT="!test? ( test )"
 
-REQUIRED_USE="?? ( jemalloc perftools tbb )"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   ?? ( jemalloc perftools tbb )
+"
 
 BDEPEND="
virtual/pkgconfig
-   doc? ( >=dev-libs/boost-1.56.0-r1[tools] )
+   doc? (
+   ${PYTHON_DEPS}
+   app-doc/doxygen
+   $(python_gen_cond_dep '
+   dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/breathe-4.14[${PYTHON_MULTI_USEDEP}]
+   ')
+   )
+   test? ( ${PYTHON_DEPS} )
 "
 RDEPEND="
-   >=dev-libs/boost-1.49:=
-   >=sys-apps/hwloc-1.8
-   >=sys-libs/libunwind-1
+   ${PYTHON_DEPS}
+   dev-libs/boost:=
+   sys-apps/hwloc
sys-libs/zlib
papi? ( dev-libs/papi )
-   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   perftools? ( dev-util/google-perftools )
tbb? ( dev-cpp/tbb )
 "
-DEPEND="${RDEPEND}
-   test? ( ${PYTHON_DEPS} )
-"
+DEPEND="${RDEPEND}"
+
+hpx_memory_requirement() {
+   # HPX needs enough main memory for compiling
+   # rule of thumb: 1G per job
+   if [[ -z ${MAKEOPTS} ]] ; then
+   echo "2G"
+   else
+   local jobs=`echo ${MAKEOPTS} | cut -d j -f 2`
+   echo "${jobs}G"
+   fi
+}
+
+pkg_pretend() {
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+}
 
 pkg_setup() {
-   use test && python-any-r1_pkg_setup
+   local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+   check-reqs_pkg_setup
+   python-single-r1_pkg_setup
 }
 
 src_configure() {
@@ -67,16 +94,18 @@ src_configure() {
cmake_src_configure
 }
 
+src_compile() {
+   cmake_src_compile
+   use test && cmake_build tests
+}
+
 src_test() {
# avoid over-suscribing
-   cmake_build -j1 tests
+   cmake_src_test -j1
 }
 
 src_install() {
cmake_src_install
-   if use examples; then
-   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
-   insinto /usr/share/doc/${PF}
-   doins -r examples
-   fi
+   use examples && dodoc -r examples/
+   python_fix_shebang "${ED}"
 }



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/files/, sys-cluster/hpx/

2020-03-25 Thread Joonas Niilola
commit: adf9ea11ed30a334eb70735eb86c82fad4ef35f0
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Sun Mar 15 18:47:13 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Mar 25 11:17:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf9ea11

sys-cluster/hpx: Bump version to v1.4.1

The existing version is a year old. Add the current version.

Announce: http://stellar-group.org/2020/02/hpx-1-4-1-released/

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/hpx/Manifest   |   1 +
 sys-cluster/hpx/files/hpx-1.4.1-boost.patch|  30 
 .../files/hpx-1.4.1-disable-failing-tests.patch| 157 +
 sys-cluster/hpx/files/hpx-1.4.1-python.patch   |  37 +
 sys-cluster/hpx/hpx-1.4.1.ebuild   | 117 +++
 5 files changed, 342 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index cad2be6c824..18b6ea7b1ed 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
 DIST hpx_1.2.1.tar.gz 3919474 BLAKE2B 
5f62f97a047c1b931068b671855bc9d7b8ff03d7f26793ee58445fb4c567d68c6c24c87844c7a6463901d784e11afe475120a41038e783a67cc75ede508473c5
 SHA512 
057724de1ef252e941a776174fa594a855255b5600461725a4da6e9002b1424a1e59be3f8a40673bb3db5a8aabd3c7b38abbb78042490befe247dd73c921b87c
+DIST hpx_1.4.1.tar.gz 4213023 BLAKE2B 
dc8a9cda3061359ea1bb8eba9ccee60dea308f5425cfe0f18d9003032726962d74d417b8748124c8e6a0b207624093ccf625c82e9e1a71fce8dde74d41d987d2
 SHA512 
f110d5e5c10ec396f6e762568c9ecd5b767cb6efe91168b5caa8fe1e07bb5870cd13b3392fa4e008a2cc0e044b02084a35b0866e943d9b9c7435599c131f1582

diff --git a/sys-cluster/hpx/files/hpx-1.4.1-boost.patch 
b/sys-cluster/hpx/files/hpx-1.4.1-boost.patch
new file mode 100644
index 000..939f4f77813
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.4.1-boost.patch
@@ -0,0 +1,30 @@
+From 1a3615f30491320d48e45005ad7b032fb3c1821d Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Sun, 22 Mar 2020 12:49:59 +0100
+Subject: [PATCH] cmake: Remove passing of BOOST_ROOT
+
+That variable is not used and generates QA issues:
+
+ * One or more CMake variables were not used by the project:
+   *   BOOST_ROOT
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ tests/unit/build/CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/tests/unit/build/CMakeLists.txt b/tests/unit/build/CMakeLists.txt
+index 757f4887fba2..2163b853fbad 100644
+--- a/tests/unit/build/CMakeLists.txt
 b/tests/unit/build/CMakeLists.txt
+@@ -38,7 +38,6 @@ function(create_cmake_test name hpx_dir)
+   "${CMAKE_COMMAND}" -E chdir "${build_dir}" "${CMAKE_COMMAND}"
+   "${PROJECT_SOURCE_DIR}/examples/hello_world_component"
+   -DHPX_DIR=${hpx_dir}
+-  -DBOOST_ROOT=${BOOST_ROOT}
+   ${ADDITIONAL_CMAKE_OPTIONS}
+   -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS_SAFE}
+   -DCMAKE_BUILD_TYPE=$ VERBATIM)
+-- 
+2.24.1
+

diff --git a/sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch 
b/sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch
new file mode 100644
index 000..492cbaf2378
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch
@@ -0,0 +1,157 @@
+From 10577db8e8ca556dc98b1c0010b7e53416e22b22 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach 
+Date: Tue, 17 Mar 2020 11:21:53 +0100
+Subject: [PATCH] tests: Disable failing tests
+
+Currently six tests are failing:
+
+|99% tests passed, 6 tests failed out of 712
+|
+|Total Test time (real) = 2268.99 sec
+|
+|The following tests FAILED:
+|339 - 
tests.unit.modules.segmented_algorithms.distributed.tcp.partitioned_vector_adjacent_find1
 (Failed)
+|454 - tests.regressions.dynamic_counters_loaded_1508 (Failed)
+|601 - tests.unit.component.launch_process (Timeout)
+|678 - tests.unit.threads.distributed.tcp.thread_stacksize (Failed)
+|681 - tests.unit.topology.numa_allocator (Failed)
+|712 - 
tests.unit.parcelset.distributed.tcp.put_parcels_with_coalescing (Failed)
+
+Needs to be further investigated. Disable them for now.
+
+Signed-off-by: Kurt Kanzenbach 
+---
+ .../tests/unit/CMakeLists.txt |  2 +-
+ tests/regressions/CMakeLists.txt  |  2 +-
+ tests/unit/component/CMakeLists.txt   | 36 +--
+ tests/unit/parcelset/CMakeLists.txt   |  2 +-
+ tests/unit/threads/CMakeLists.txt |  2 +-
+ tests/unit/topology/CMakeLists.txt|  6 ++--
+ 6 files changed, 25 insertions(+), 25 deletions(-)
+
+diff --git a/libs/segmented_algorithms/tests/unit/CMakeLists.txt 
b/libs/segmented_algorithms/tests/unit/CMakeLists.txt
+index 1ed7dbd7798a..17d5e4cca3b4 100644
+--- a/libs/segmented_algorithms/tests/unit/CMakeLists.txt
 b/libs/segmented_algorithms/tests/unit/CMakeLists.txt
+@@ -7,7 +7,7 @@
+ set(tests
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-02-10 Thread Michał Górny
commit: 6ae44858e90021f96a9926d555357aab860e6b1c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 13:05:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 13:26:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae44858

sys-cluster/hpx: Remove py2 where possible

Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/hpx/hpx-1.2.1.ebuild | 2 +-
 sys-cluster/hpx/hpx-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.2.1.ebuild b/sys-cluster/hpx/hpx-1.2.1.ebuild
index 40cfca820e3..d075974e0bd 100644
--- a/sys-cluster/hpx/hpx-1.2.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 40cfca820e3..d075974e0bd 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 if [[ ${PV} ==  ]] ; then
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2020-01-01 Thread Andreas Sturmlechner
commit: 2119345b0bbcbfc88e042ee5b08c29e84de77985
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 15 15:20:04 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jan  1 13:28:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2119345b

sys-cluster/hpx: Drop old

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-cluster/hpx/Manifest  |  4 --
 sys-cluster/hpx/hpx-0.9.99.ebuild | 84 --
 sys-cluster/hpx/hpx-1.0.0.ebuild  | 85 ---
 sys-cluster/hpx/hpx-1.1.0.ebuild  | 85 ---
 sys-cluster/hpx/hpx-1.2.0.ebuild  | 85 ---
 5 files changed, 343 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index d5182d17326..cad2be6c824 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,5 +1 @@
-DIST hpx_0.9.99.tar.gz 3779841 BLAKE2B 
fae6b06a303964e3d52d68fcfd980f89625bfd2a7c04f3a4b027c47814c677bdcf7f367434aee912be08b67afbb6cfe811831dfdc284c0b785d7eaf8838566a9
 SHA512 
57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363
-DIST hpx_1.0.0.tar.gz 3972403 BLAKE2B 
737282f2b547c2ce7e6e0367df64beaf22760d73840f2f1b983e8b970baef074b376f264a97f8c67873eedc24255ec2515bbf2a5bbcb364f89284f48ac18b177
 SHA512 
42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d
-DIST hpx_1.1.0.tar.gz 4374855 BLAKE2B 
17caeb085e0167d51a1a89c73bce653938d9918776b9db07ae9171cb11570a440e2f88cea86d8b8066b7d102e9a24f1e8304b47b2ade161cbe4e27cce91e3b84
 SHA512 
09b69a5f14bdb4cbf629bc3a10a4e1dc4c0ab35efdb74386fc7f0135558db5f9557ae8de4edd0ade12cfb91a78e6cc2fac25efbdf9a21042abcb0f303eda1938
-DIST hpx_1.2.0.tar.gz 3918088 BLAKE2B 
7c5eccef6a58f683f94e59e3773e949945652e1fc7c883d134da5b6d32f21bb9a2f526d073260561657da518687ac96487f058715e51236a334b97b27a414451
 SHA512 
e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1
 DIST hpx_1.2.1.tar.gz 3919474 BLAKE2B 
5f62f97a047c1b931068b671855bc9d7b8ff03d7f26793ee58445fb4c567d68c6c24c87844c7a6463901d784e11afe475120a41038e783a67cc75ede508473c5
 SHA512 
057724de1ef252e941a776174fa594a855255b5600461725a4da6e9002b1424a1e59be3f8a40673bb3db5a8aabd3c7b38abbb78042490befe247dd73c921b87c

diff --git a/sys-cluster/hpx/hpx-0.9.99.ebuild 
b/sys-cluster/hpx/hpx-0.9.99.ebuild
deleted file mode 100644
index 742001e9ada..000
--- a/sys-cluster/hpx/hpx-0.9.99.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python2_7 )
-
-if [ ${PV} ==  ] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
-else
-   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
-   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-   S="${WORKDIR}/${PN}_${PV}"
-fi
-
-inherit cmake-utils fortran-2 multilib python-any-r1
-
-DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
-
-SLOT="0"
-LICENSE="Boost-1.0"
-IUSE="doc examples jemalloc papi +perftools tbb test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   tbb? ( dev-cpp/tbb )
-   >=dev-libs/boost-1.49
-   papi? ( dev-libs/papi )
-   perftools? ( >=dev-util/google-perftools-1.7.1 )
-   >=sys-apps/hwloc-1.8
-   >=sys-libs/libunwind-1
-   sys-libs/zlib
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   test? ( ${PYTHON_DEPS} )
-   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
-"
-REQUIRED_USE="
-   jemalloc? ( !perftools !tbb )
-   perftools? ( !jemalloc !tbb )
-   tbb? ( !jemalloc !perftools )
-   "
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
-   CMAKE_BUILD_TYPE=Release
-   local mycmakeargs=(
-   -DHPX_BUILD_EXAMPLES=OFF
-   -DHPX_MALLOC=system
-   -DLIB=$(get_libdir)
-   -Dcmake_dir=cmake
-   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
-   -DHPX_JEMALLOC=$(usex jemalloc)
-   -DBUILD_TESTING=$(usex test)
-   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DHPX_PAPI=$(usex papi)
-   )
-
-   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
-   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
-   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
-
-   cmake-utils_src_configure
-}
-
-src_test() {
-   # avoid over-suscribing
-   cmake-utils_src_make -j1 tests
-}
-
-src_install() {
-   cmake-utils_src_install
-   if use examples; then
-  

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2019-05-15 Thread Andreas Sturmlechner
commit: 23f4cb70632b56d1de43532d6b03617c10c486c1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 15 14:09:54 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 15 14:53:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23f4cb70

sys-cluster/hpx: 1.2.1 version bump

Closes: https://bugs.gentoo.org/683470
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-cluster/hpx/Manifest |  1 +
 sys-cluster/hpx/hpx-1.2.1.ebuild | 84 
 2 files changed, 85 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index dc91312422f..d5182d17326 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -2,3 +2,4 @@ DIST hpx_0.9.99.tar.gz 3779841 BLAKE2B 
fae6b06a303964e3d52d68fcfd980f89625bfd2a7
 DIST hpx_1.0.0.tar.gz 3972403 BLAKE2B 
737282f2b547c2ce7e6e0367df64beaf22760d73840f2f1b983e8b970baef074b376f264a97f8c67873eedc24255ec2515bbf2a5bbcb364f89284f48ac18b177
 SHA512 
42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d
 DIST hpx_1.1.0.tar.gz 4374855 BLAKE2B 
17caeb085e0167d51a1a89c73bce653938d9918776b9db07ae9171cb11570a440e2f88cea86d8b8066b7d102e9a24f1e8304b47b2ade161cbe4e27cce91e3b84
 SHA512 
09b69a5f14bdb4cbf629bc3a10a4e1dc4c0ab35efdb74386fc7f0135558db5f9557ae8de4edd0ade12cfb91a78e6cc2fac25efbdf9a21042abcb0f303eda1938
 DIST hpx_1.2.0.tar.gz 3918088 BLAKE2B 
7c5eccef6a58f683f94e59e3773e949945652e1fc7c883d134da5b6d32f21bb9a2f526d073260561657da518687ac96487f058715e51236a334b97b27a414451
 SHA512 
e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1
+DIST hpx_1.2.1.tar.gz 3919474 BLAKE2B 
5f62f97a047c1b931068b671855bc9d7b8ff03d7f26793ee58445fb4c567d68c6c24c87844c7a6463901d784e11afe475120a41038e783a67cc75ede508473c5
 SHA512 
057724de1ef252e941a776174fa594a855255b5600461725a4da6e9002b1424a1e59be3f8a40673bb3db5a8aabd3c7b38abbb78042490befe247dd73c921b87c

diff --git a/sys-cluster/hpx/hpx-1.2.1.ebuild b/sys-cluster/hpx/hpx-1.2.1.ebuild
new file mode 100644
index 000..3fb751c6c5a
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.2.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+if [ ${PV} ==  ] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+   S="${WORKDIR}/${PN}_${PV}"
+fi
+
+inherit cmake-utils fortran-2 multilib python-any-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="doc examples jemalloc papi +perftools tbb test"
+
+RDEPEND="
+   tbb? ( dev-cpp/tbb )
+   >=dev-libs/boost-1.49
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=sys-apps/hwloc-1.8
+   >=sys-libs/libunwind-1
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
+"
+REQUIRED_USE="
+   jemalloc? ( !perftools !tbb )
+   perftools? ( !jemalloc !tbb )
+   tbb? ( !jemalloc !perftools )
+   "
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   CMAKE_BUILD_TYPE=Release
+   local mycmakeargs=(
+   -DHPX_BUILD_EXAMPLES=OFF
+   -DHPX_MALLOC=system
+   -DLIB=$(get_libdir)
+   -Dcmake_dir=cmake
+   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
+   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DBUILD_TESTING=$(usex test)
+   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_PAPI=$(usex papi)
+   )
+
+   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
+   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
+   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   # avoid over-suscribing
+   cmake-utils_src_make -j1 tests
+}
+
+src_install() {
+   cmake-utils_src_install
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2019-05-15 Thread Andreas Sturmlechner
commit: a27abbaa95b9b5f585223a2680c560f093f389f4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 15 14:17:01 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 15 14:53:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27abbaa

sys-cluster/hpx: EAPI-7 bump, simpler REQUIRED_USE, use https

Drop unused multilib.eclass

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-cluster/hpx/hpx-1.2.1.ebuild | 37 +
 1 file changed, 17 insertions(+), 20 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.2.1.ebuild b/sys-cluster/hpx/hpx-1.2.1.ebuild
index 3fb751c6c5a..e4605b1b99c 100644
--- a/sys-cluster/hpx/hpx-1.2.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.2.1.ebuild
@@ -1,48 +1,45 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-CMAKE_MAKEFILE_GENERATOR="ninja"
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
 
-if [ ${PV} ==  ] ; then
+if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
 else
-   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}_${PV}"
 fi
-
-inherit cmake-utils fortran-2 multilib python-any-r1
+inherit cmake-utils fortran-2 python-any-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
 
 SLOT="0"
 LICENSE="Boost-1.0"
 IUSE="doc examples jemalloc papi +perftools tbb test"
 
+REQUIRED_USE="?? ( jemalloc perftools tbb )"
+
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( >=dev-libs/boost-1.56.0-r1[tools] )
+"
 RDEPEND="
-   tbb? ( dev-cpp/tbb )
-   >=dev-libs/boost-1.49
-   papi? ( dev-libs/papi )
-   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=dev-libs/boost-1.49:=
>=sys-apps/hwloc-1.8
>=sys-libs/libunwind-1
sys-libs/zlib
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   tbb? ( dev-cpp/tbb )
 "
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
test? ( ${PYTHON_DEPS} )
-   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
 "
-REQUIRED_USE="
-   jemalloc? ( !perftools !tbb )
-   perftools? ( !jemalloc !tbb )
-   tbb? ( !jemalloc !perftools )
-   "
 
 pkg_setup() {
use test && python-any-r1_pkg_setup
@@ -62,8 +59,8 @@ src_configure() {
-DHPX_PAPI=$(usex papi)
)
 
-   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
+   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
 
cmake-utils_src_configure
@@ -76,7 +73,7 @@ src_test() {
 
 src_install() {
cmake-utils_src_install
-   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2019-05-15 Thread Andreas Sturmlechner
commit: f4767091efcd8b721b039d7bb2973fc71269fb7f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 15 14:29:41 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 15 14:53:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4767091

sys-cluster/hpx: Fix (all) cmake options, drop unused

Closes: https://bugs.gentoo.org/678778
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-cluster/hpx/hpx-1.2.1.ebuild | 28 ++--
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.2.1.ebuild b/sys-cluster/hpx/hpx-1.2.1.ebuild
index e4605b1b99c..a57d12d298d 100644
--- a/sys-cluster/hpx/hpx-1.2.1.ebuild
+++ b/sys-cluster/hpx/hpx-1.2.1.ebuild
@@ -46,22 +46,22 @@ pkg_setup() {
 }
 
 src_configure() {
-   CMAKE_BUILD_TYPE=Release
local mycmakeargs=(
-   -DHPX_BUILD_EXAMPLES=OFF
-   -DHPX_MALLOC=system
-   -DLIB=$(get_libdir)
-   -Dcmake_dir=cmake
-   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
-   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=$(usex doc)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-DBUILD_TESTING=$(usex test)
-   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DHPX_PAPI=$(usex papi)
)
-
-   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
-   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
-   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+   if use jemalloc; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
+   elif use perftools; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
+   elif use tbb; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
+   else
+   mycmakeargs+=( -DHPX_WITH_MALLOC=system )
+   fi
 
cmake-utils_src_configure
 }
@@ -73,8 +73,8 @@ src_test() {
 
 src_install() {
cmake-utils_src_install
-   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
if use examples; then
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
insinto /usr/share/doc/${PF}
doins -r examples
fi



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2019-05-15 Thread Andreas Sturmlechner
commit: 2f08f26395d90650537e55432a57ce66b6a65abb
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 15 14:32:12 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 15 14:53:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f08f263

sys-cluster/hpx: Sync live with 1.2.1 changes

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-cluster/hpx/hpx-.ebuild | 63 -
 1 file changed, 30 insertions(+), 33 deletions(-)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 9f8589d7968..a57d12d298d 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -1,70 +1,67 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-CMAKE_MAKEFILE_GENERATOR="ninja"
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
 
-if [ ${PV} ==  ] ; then
+if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
 else
-   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   SRC_URI="https://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}_${PV}"
 fi
-
-inherit cmake-utils fortran-2 multilib python-any-r1
+inherit cmake-utils fortran-2 python-any-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
-HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/;
 
 SLOT="0"
 LICENSE="Boost-1.0"
 IUSE="doc examples jemalloc papi +perftools tbb test"
 
+REQUIRED_USE="?? ( jemalloc perftools tbb )"
+
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( >=dev-libs/boost-1.56.0-r1[tools] )
+"
 RDEPEND="
-   tbb? ( dev-cpp/tbb )
-   >=dev-libs/boost-1.49
-   papi? ( dev-libs/papi )
-   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=dev-libs/boost-1.49:=
>=sys-apps/hwloc-1.8
>=sys-libs/libunwind-1
sys-libs/zlib
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   tbb? ( dev-cpp/tbb )
 "
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
test? ( ${PYTHON_DEPS} )
-   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
 "
-REQUIRED_USE="
-   jemalloc? ( !perftools !tbb )
-   perftools? ( !jemalloc !tbb )
-   tbb? ( !jemalloc !perftools )
-   "
 
 pkg_setup() {
use test && python-any-r1_pkg_setup
 }
 
 src_configure() {
-   CMAKE_BUILD_TYPE=Release
local mycmakeargs=(
-   -DHPX_BUILD_EXAMPLES=OFF
-   -DHPX_MALLOC=system
-   -DLIB=$(get_libdir)
-   -Dcmake_dir=cmake
-   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
-   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DHPX_WITH_EXAMPLES=OFF
+   -DHPX_WITH_DOCUMENTATION=$(usex doc)
+   -DHPX_WITH_PAPI=$(usex papi)
+   -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
-DBUILD_TESTING=$(usex test)
-   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
-   -DHPX_PAPI=$(usex papi)
)
-
-   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
-   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
-   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+   if use jemalloc; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
+   elif use perftools; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
+   elif use tbb; then
+   mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
+   else
+   mycmakeargs+=( -DHPX_WITH_MALLOC=system )
+   fi
 
cmake-utils_src_configure
 }
@@ -76,8 +73,8 @@ src_test() {
 
 src_install() {
cmake-utils_src_install
-   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
if use examples; then
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
insinto /usr/share/doc/${PF}
doins -r examples
fi



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2018-12-07 Thread Christoph Junghans
commit: 5c46ec87475d02e0de1f0fd1df85d7e364359959
Author: Christoph Junghans  gentoo  org>
AuthorDate: Fri Dec  7 15:39:06 2018 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Fri Dec  7 15:40:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c46ec87

sys-cluster/hpx: version bump

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Christoph Junghans  gentoo.org>

 sys-cluster/hpx/Manifest |  1 +
 sys-cluster/hpx/hpx-1.2.0.ebuild | 84 
 2 files changed, 85 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 4a3f08e3091..dc91312422f 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,3 +1,4 @@
 DIST hpx_0.9.99.tar.gz 3779841 BLAKE2B 
fae6b06a303964e3d52d68fcfd980f89625bfd2a7c04f3a4b027c47814c677bdcf7f367434aee912be08b67afbb6cfe811831dfdc284c0b785d7eaf8838566a9
 SHA512 
57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363
 DIST hpx_1.0.0.tar.gz 3972403 BLAKE2B 
737282f2b547c2ce7e6e0367df64beaf22760d73840f2f1b983e8b970baef074b376f264a97f8c67873eedc24255ec2515bbf2a5bbcb364f89284f48ac18b177
 SHA512 
42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d
 DIST hpx_1.1.0.tar.gz 4374855 BLAKE2B 
17caeb085e0167d51a1a89c73bce653938d9918776b9db07ae9171cb11570a440e2f88cea86d8b8066b7d102e9a24f1e8304b47b2ade161cbe4e27cce91e3b84
 SHA512 
09b69a5f14bdb4cbf629bc3a10a4e1dc4c0ab35efdb74386fc7f0135558db5f9557ae8de4edd0ade12cfb91a78e6cc2fac25efbdf9a21042abcb0f303eda1938
+DIST hpx_1.2.0.tar.gz 3918088 BLAKE2B 
7c5eccef6a58f683f94e59e3773e949945652e1fc7c883d134da5b6d32f21bb9a2f526d073260561657da518687ac96487f058715e51236a334b97b27a414451
 SHA512 
e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1

diff --git a/sys-cluster/hpx/hpx-1.2.0.ebuild b/sys-cluster/hpx/hpx-1.2.0.ebuild
new file mode 100644
index 000..98afc4e22e1
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.2.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+if [ ${PV} ==  ] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+   S="${WORKDIR}/${PN}_${PV}"
+fi
+
+inherit cmake-utils fortran-2 multilib python-any-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="doc examples jemalloc papi +perftools tbb test"
+
+RDEPEND="
+   tbb? ( dev-cpp/tbb )
+   >=dev-libs/boost-1.49
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=sys-apps/hwloc-1.8
+   >=sys-libs/libunwind-1
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
+"
+REQUIRED_USE="
+   jemalloc? ( !perftools !tbb )
+   perftools? ( !jemalloc !tbb )
+   tbb? ( !jemalloc !perftools )
+   "
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   CMAKE_BUILD_TYPE=Release
+   local mycmakeargs=(
+   -DHPX_BUILD_EXAMPLES=OFF
+   -DHPX_MALLOC=system
+   -DLIB=$(get_libdir)
+   -Dcmake_dir=cmake
+   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
+   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DBUILD_TESTING=$(usex test)
+   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_PAPI=$(usex papi)
+   )
+
+   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
+   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
+   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   # avoid over-suscribing
+   cmake-utils_src_make -j1 tests
+}
+
+src_install() {
+   cmake-utils_src_install
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2018-10-30 Thread Christoph Junghans
commit: 259b90aa9cb988fe4a1cb69c81a4e3e1c2744b96
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Oct 30 10:35:52 2018 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Oct 30 10:36:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259b90aa

sys-cluster/hpx: version bump

Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Christoph Junghans  gentoo.org>

 sys-cluster/hpx/Manifest  | 1 +
 sys-cluster/hpx/{hpx-.ebuild => hpx-1.1.0.ebuild} | 3 ++-
 sys-cluster/hpx/hpx-.ebuild   | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 573559b5cc0..4a3f08e3091 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,2 +1,3 @@
 DIST hpx_0.9.99.tar.gz 3779841 BLAKE2B 
fae6b06a303964e3d52d68fcfd980f89625bfd2a7c04f3a4b027c47814c677bdcf7f367434aee912be08b67afbb6cfe811831dfdc284c0b785d7eaf8838566a9
 SHA512 
57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363
 DIST hpx_1.0.0.tar.gz 3972403 BLAKE2B 
737282f2b547c2ce7e6e0367df64beaf22760d73840f2f1b983e8b970baef074b376f264a97f8c67873eedc24255ec2515bbf2a5bbcb364f89284f48ac18b177
 SHA512 
42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d
+DIST hpx_1.1.0.tar.gz 4374855 BLAKE2B 
17caeb085e0167d51a1a89c73bce653938d9918776b9db07ae9171cb11570a440e2f88cea86d8b8066b7d102e9a24f1e8304b47b2ade161cbe4e27cce91e3b84
 SHA512 
09b69a5f14bdb4cbf629bc3a10a4e1dc4c0ab35efdb74386fc7f0135558db5f9557ae8de4edd0ade12cfb91a78e6cc2fac25efbdf9a21042abcb0f303eda1938

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-1.1.0.ebuild
similarity index 95%
copy from sys-cluster/hpx/hpx-.ebuild
copy to sys-cluster/hpx/hpx-1.1.0.ebuild
index 1fb725a966f..98afc4e22e1 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -76,6 +76,7 @@ src_test() {
 
 src_install() {
cmake-utils_src_install
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 1fb725a966f..98afc4e22e1 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -76,6 +76,7 @@ src_test() {
 
 src_install() {
cmake-utils_src_install
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/

2018-06-24 Thread Andreas Sturmlechner
commit: a5d63e17ed7ccbd3f998a6a208b7d27bcaf1d1d1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  3 14:07:49 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jun 25 04:43:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d63e17

sys-cluster/hpx: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/hpx/Manifest   |   3 -
 sys-cluster/hpx/files/hpx-0.9.8-cmake_dir.patch|  27 
 sys-cluster/hpx/files/hpx-0.9.8-install-path.patch |  69 -
 sys-cluster/hpx/files/hpx-0.9.8-multilib.patch | 163 -
 sys-cluster/hpx/hpx-0.9.10.ebuild  |  77 --
 sys-cluster/hpx/hpx-0.9.8.ebuild   |  85 ---
 sys-cluster/hpx/hpx-0.9.9.ebuild   |  79 --
 7 files changed, 503 deletions(-)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 4179b457d44..573559b5cc0 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,5 +1,2 @@
-DIST hpx-0.9.9.tar.gz 3461235 BLAKE2B 
647f838fc1f2d41ed970212eac826eccefce33f4e2bce8f6a8d71530b7b91aa4fc92833d476a4daba10b6301813c7864a1f2b817731a67ac4f860d5dc4065e8f
 SHA512 
95332c924548f7d07e24c56d3d72e8aa5977a1347666fb2a0f3782fec040e83e5760750a1696cf8152d7b3f8b90ce719fe24018086a5165429b3f9851c2f7e1f
-DIST hpx_0.9.10.tar.gz 3016064 BLAKE2B 
dcf31ec4f7e60660be3301e2d3dbdf6126c62d91e317715b91d633fa400f007aed52358b5aea6bff9c6f5aeb8d2dad629ae1c63170c44e4ebeb9aeff71dd
 SHA512 
4c5ce7014d781c47415818898b99e5379e1547dd5f54fdefc9202de149ca4a0e3bf13c863cdea9ef70f7e3eb2c808cfda35d723a7f681745b8514a1887cbbb75
-DIST hpx_0.9.8.7z 2089649 BLAKE2B 
8b6f3dca44492880f9fdc37ee7b530574c4122d047529980c3d519e72bd15ad8342cc8e3b958b7b9c02cafdc6d9f2ff90fca19866e602522011871ac1f5b22da
 SHA512 
1789582ee776173d4aa67b512d2df225c734b98ffe59a8f1eee38b5112ac7c02e0c7c478f72062e5b6a5d5053ce1848729c374093378f63200acf51a208fb3c7
 DIST hpx_0.9.99.tar.gz 3779841 BLAKE2B 
fae6b06a303964e3d52d68fcfd980f89625bfd2a7c04f3a4b027c47814c677bdcf7f367434aee912be08b67afbb6cfe811831dfdc284c0b785d7eaf8838566a9
 SHA512 
57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363
 DIST hpx_1.0.0.tar.gz 3972403 BLAKE2B 
737282f2b547c2ce7e6e0367df64beaf22760d73840f2f1b983e8b970baef074b376f264a97f8c67873eedc24255ec2515bbf2a5bbcb364f89284f48ac18b177
 SHA512 
42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d

diff --git a/sys-cluster/hpx/files/hpx-0.9.8-cmake_dir.patch 
b/sys-cluster/hpx/files/hpx-0.9.8-cmake_dir.patch
deleted file mode 100644
index b5c66c28475..000
--- a/sys-cluster/hpx/files/hpx-0.9.8-cmake_dir.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e565c2cce934f2d6fa6e80061c416a2e7df0f311 Mon Sep 17 00:00:00 2001
-From: Christoph Junghans 
-Date: Tue, 20 May 2014 11:18:21 -0600
-Subject: [PATCH] make cmake_dir configure-able
-

- CMakeLists.txt | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 8ad79cb..e6f392a 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1981,7 +1981,9 @@ endforeach()
- # Make list unique
- list(REMOVE_DUPLICATES external_definitions)
- 
--set(cmake_dir cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
-+if (NOT DEFINED cmake_dir)
-+  set(cmake_dir cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
-+endif(NOT DEFINED cmake_dir)
- 
- if(MSVC)
-   set(output_dir "${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}")
--- 
-1.8.5.5
-

diff --git a/sys-cluster/hpx/files/hpx-0.9.8-install-path.patch 
b/sys-cluster/hpx/files/hpx-0.9.8-install-path.patch
deleted file mode 100644
index f5c867b9b4a..000
--- a/sys-cluster/hpx/files/hpx-0.9.8-install-path.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 5c04f9c2d47a41f6113f45eeb4dd9f7968f2cd52 Mon Sep 17 00:00:00 2001
-From: Christoph Junghans 
-Date: Tue, 20 May 2014 09:27:47 -0600
-Subject: [PATCH] fix make install non-empty DESTDIR
-
-Symlinks were created even when make install was called with a
-non-empty DESTDIR variable. Fixed by creating the symlinks in build
-directory first and then install them using common install.
-DESTDIR installation is needed for binary packages.

- CMakeLists.txt | 31 +++
- 1 file changed, 19 insertions(+), 12 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 00a71c7..8d5df19 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1762,15 +1762,22 @@ if(NOT HPX_NO_INSTALL)
- 
-   if(UNIX)
- file(GLOB scripts "${CMAKE_SOURCE_DIR}/python/scripts/*.py")
-+execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory
-+  "${CMAKE_BINARY_DIR}/python/scripts" )
- foreach(script ${scripts})
-   get_filename_component(script_name ${script} NAME)
-   get_filename_component(script_name_we ${script} NAME_WE)
--  

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2017-12-10 Thread Pacho Ramos
commit: 366ea0d73767593a8bcc57580ee9a2cda7a407c7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec 10 10:23:09 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec 10 10:23:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366ea0d7

sys-cluster/hpx: Add support for newer python

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-cluster/hpx/hpx-1.0.0.ebuild | 2 +-
 sys-cluster/hpx/hpx-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.0.0.ebuild b/sys-cluster/hpx/hpx-1.0.0.ebuild
index 2f8924015c1..e7b63370d53 100644
--- a/sys-cluster/hpx/hpx-1.0.0.ebuild
+++ b/sys-cluster/hpx/hpx-1.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 if [ ${PV} ==  ] ; then
inherit git-r3

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index 9d7e3474956..1fb725a966f 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 if [ ${PV} ==  ] ; then
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2017-07-12 Thread Pacho Ramos
commit: 83244700aaf2cb8ee883f427550e9b5d33876f54
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 12 13:14:51 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 12 14:42:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83244700

sys-cluster/hpx: Support newer python

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-cluster/hpx/hpx-1.0.0.ebuild | 2 +-
 sys-cluster/hpx/hpx-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpx/hpx-1.0.0.ebuild b/sys-cluster/hpx/hpx-1.0.0.ebuild
index 93c3d5be3fe..2f8924015c1 100644
--- a/sys-cluster/hpx/hpx-1.0.0.ebuild
+++ b/sys-cluster/hpx/hpx-1.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 if [ ${PV} ==  ] ; then
inherit git-r3

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
index c7977e7361c..9d7e3474956 100644
--- a/sys-cluster/hpx/hpx-.ebuild
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 if [ ${PV} ==  ] ; then
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2017-05-26 Thread David Seifert
commit: b7c546d8d87c81081b2b90cee5dc651e1710c8e4
Author: David Seifert  gentoo  org>
AuthorDate: Fri May 26 22:18:11 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 26 22:53:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c546d8

sys-cluster/hpx: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-cluster/hpx/hpx-0.9.10.ebuild | 10 +-
 sys-cluster/hpx/hpx-0.9.8.ebuild  |  9 -
 sys-cluster/hpx/hpx-0.9.9.ebuild  | 10 +-
 sys-cluster/hpx/hpx-0.9.99.ebuild |  8 
 sys-cluster/hpx/hpx-1.0.0.ebuild  |  6 +++---
 sys-cluster/hpx/hpx-.ebuild   |  8 
 6 files changed, 25 insertions(+), 26 deletions(-)

diff --git a/sys-cluster/hpx/hpx-0.9.10.ebuild 
b/sys-cluster/hpx/hpx-0.9.10.ebuild
index c0535a43f49..3d785033e60 100644
--- a/sys-cluster/hpx/hpx-0.9.10.ebuild
+++ b/sys-cluster/hpx/hpx-0.9.10.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_7,3_4} )
 
-inherit cmake-utils fortran-2 multilib python-single-r1 versionator
+inherit cmake-utils fortran-2 multilib python-any-r1 versionator
 
 SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
 KEYWORDS="~amd64 ~x86"
@@ -29,17 +29,17 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
virtual/pkgconfig
-   test? ( dev-lang/python )
+   test? ( ${PYTHON_DEPS} )
doc? ( >=dev-libs/boost-1.56.0-r1[tools] )
 "
-REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )
+REQUIRED_USE="
jemalloc? ( !perftools !tbb )
perftools? ( !jemalloc !tbb )
tbb? ( !jemalloc !perftools )
"
 
 pkg_setup() {
-   use test && python-single-r1_pkg_setup
+   use test && python-any-r1_pkg_setup
 }
 
 src_configure() {

diff --git a/sys-cluster/hpx/hpx-0.9.8.ebuild b/sys-cluster/hpx/hpx-0.9.8.ebuild
index 6f73d465e84..7694c32d056 100644
--- a/sys-cluster/hpx/hpx-0.9.8.ebuild
+++ b/sys-cluster/hpx/hpx-0.9.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,7 +9,7 @@ SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.7z;
 KEYWORDS="~amd64 ~x86"
 S="${WORKDIR}/${PN}_${PV}"
 
-inherit cmake-utils fortran-2 multilib python-single-r1
+inherit cmake-utils fortran-2 multilib python-any-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
@@ -34,9 +34,8 @@ RDEPEND="
 DEPEND="${RDEPEND}
app-arch/p7zip
virtual/pkgconfig
-   test? ( dev-lang/python )
+   test? ( ${PYTHON_DEPS} )
 "
-REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
 
 PATCHES=(
"${FILESDIR}"/hpx-0.9.8-install-path.patch
@@ -45,7 +44,7 @@ PATCHES=(
 )
 
 pkg_setup() {
-   use test && python-single-r1_pkg_setup
+   use test && python-any-r1_pkg_setup
 }
 
 src_configure() {

diff --git a/sys-cluster/hpx/hpx-0.9.9.ebuild b/sys-cluster/hpx/hpx-0.9.9.ebuild
index d9b7d1a8e4a..8001280e702 100644
--- a/sys-cluster/hpx/hpx-0.9.9.ebuild
+++ b/sys-cluster/hpx/hpx-0.9.9.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_7,3_4} )
 
-inherit cmake-utils fortran-2 multilib python-single-r1 versionator
+inherit cmake-utils fortran-2 multilib python-any-r1 versionator
 
 MY_PV="$(replace_version_separator _ -)"
 
@@ -31,17 +31,17 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
virtual/pkgconfig
-   test? ( dev-lang/python )
+   test? ( ${PYTHON_DEPS} )
doc? ( >=dev-libs/boost-1.56.0-r1[tools] )
 "
-REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )
+REQUIRED_USE="
jemalloc? ( !perftools !tbb )
perftools? ( !jemalloc !tbb )
tbb? ( !jemalloc !perftools )
"
 
 pkg_setup() {
-   use test && python-single-r1_pkg_setup
+   use test && python-any-r1_pkg_setup
 }
 
 src_configure() {

diff --git a/sys-cluster/hpx/hpx-0.9.99.ebuild 
b/sys-cluster/hpx/hpx-0.9.99.ebuild
index b440abe724f..c7977e7361c 100644
--- a/sys-cluster/hpx/hpx-0.9.99.ebuild
+++ b/sys-cluster/hpx/hpx-0.9.99.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ else
S="${WORKDIR}/${PN}_${PV}"
 fi
 
-inherit cmake-utils fortran-2 multilib python-single-r1
+inherit cmake-utils fortran-2 multilib python-any-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
@@ -38,14 +38,14 @@ DEPEND="${RDEPEND}
test? ( ${PYTHON_DEPS} )
doc? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2017-05-12 Thread Slawek Lis
commit: 930a370360c831677825df2ff7f56239908ea9f3
Author: Slawomir Lis  gentoo  org>
AuthorDate: Fri May 12 08:13:01 2017 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Fri May 12 08:13:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930a3703

sys-cluster/hpx: Fixed file collision with sci-mathematics/spin

hpx with new version creates a file /usr/bin/spin which is reason of a conflict.
I've renamed a file into hpx_spin

Reported in bug 617486

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-cluster/hpx/hpx-1.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/hpx/hpx-1.0.0.ebuild b/sys-cluster/hpx/hpx-1.0.0.ebuild
index 5d6c92ba0af..f9748b81ba2 100644
--- a/sys-cluster/hpx/hpx-1.0.0.ebuild
+++ b/sys-cluster/hpx/hpx-1.0.0.ebuild
@@ -76,6 +76,7 @@ src_test() {
 
 src_install() {
cmake-utils_src_install
+   mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin"
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2017-05-04 Thread Slawek Lis
commit: c1dec3d30671b80568ae5a470129af7dda37d39d
Author: Slawomir Lis  gentoo  org>
AuthorDate: Thu May  4 06:26:30 2017 +
Commit: Slawek Lis  gentoo  org>
CommitDate: Thu May  4 06:26:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1dec3d3

sys-cluster/hpx: version bump to 1.0.0

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-cluster/hpx/Manifest |  1 +
 sys-cluster/hpx/hpx-1.0.0.ebuild | 83 
 2 files changed, 84 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 2eec6c91cc9..96caf5070a6 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -2,3 +2,4 @@ DIST hpx-0.9.9.tar.gz 3461235 SHA256 
cb17ac303f49795300c6b803725036aa09b434a7a23
 DIST hpx_0.9.10.tar.gz 3016064 SHA256 
af84455003bbf49fd81477138e6c7e699b7c24a4933de04d709c1437a9ad6aad SHA512 
4c5ce7014d781c47415818898b99e5379e1547dd5f54fdefc9202de149ca4a0e3bf13c863cdea9ef70f7e3eb2c808cfda35d723a7f681745b8514a1887cbbb75
 WHIRLPOOL 
2fbc2c32532eb8141e6eb86a8e99ed4a7d4a6bb87bff9b383c4e4b5b0628fb5d6975672eaf5423f87b13f2f1d07e039362450b0276fa120f5a5abc8d7077408c
 DIST hpx_0.9.8.7z 2089649 SHA256 
9e04685b07e4155e6d3e00c944e5fe91c0c815a2b3bc7bc345eb59d8708bac91 SHA512 
1789582ee776173d4aa67b512d2df225c734b98ffe59a8f1eee38b5112ac7c02e0c7c478f72062e5b6a5d5053ce1848729c374093378f63200acf51a208fb3c7
 WHIRLPOOL 
b4b5a8a83aa4d07466ee0570b9fdadd906281e626eed2ce82e3a8e03681de1591a46af2254cbd387eb2d0bfac22c6796537fbbb37764be7dd424b97dd0d433c7
 DIST hpx_0.9.99.tar.gz 3779841 SHA256 
072e8ed614eb81353ed3b4628835349fb08b42515f2f8d62855921354c1ae92b SHA512 
57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363
 WHIRLPOOL 
1d2241c23ef43cf3cbc68fe59c5122165aff1793f2c36928badeb8e24a6bb8f3c35cef17a04672b308905e43d5a2c87cc252f0727c9b92079420da182904e301
+DIST hpx_1.0.0.tar.gz 3972403 SHA256 
b47ab61da393eeb38c5d201e08a9ecb56a4a18d660a8605f0f5ebfeac2dcb069 SHA512 
42c155654f118bff34b48d929b1732fd56126b8fd3e7657b5bd2f84275288ddf538572ed1152883c4aed5e9683de53b9b1f1c3613e5092e7bd1a5e165bed606d
 WHIRLPOOL 
b72ced95a656749d116fb6b9faf181a7dc396857012b78b13d9a80e2a1e96f63a2e334fe2be359cfa86c7725e3572f4410c4ef5b16c57cb4bb881fcc973b4036

diff --git a/sys-cluster/hpx/hpx-1.0.0.ebuild b/sys-cluster/hpx/hpx-1.0.0.ebuild
new file mode 100644
index 000..5d6c92ba0af
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.0.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+if [ ${PV} ==  ] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+   S="${WORKDIR}/${PN}_${PV}"
+fi
+
+inherit cmake-utils fortran-2 multilib python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="doc examples jemalloc papi +perftools tbb test"
+
+RDEPEND="
+   tbb? ( dev-cpp/tbb )
+   >=dev-libs/boost-1.49
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=sys-apps/hwloc-1.8
+   >=sys-libs/libunwind-1
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
+"
+REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )
+   jemalloc? ( !perftools !tbb )
+   perftools? ( !jemalloc !tbb )
+   tbb? ( !jemalloc !perftools )
+   "
+
+pkg_setup() {
+   use test && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   CMAKE_BUILD_TYPE=Release
+   local mycmakeargs=(
+   -DHPX_BUILD_EXAMPLES=OFF
+   -DHPX_MALLOC=system
+   -DLIB=$(get_libdir)
+   -Dcmake_dir=cmake
+   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
+   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DBUILD_TESTING=$(usex test)
+   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_PAPI=$(usex papi)
+   )
+
+   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
+   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
+   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   # avoid over-suscribing
+   cmake-utils_src_make -j1 tests
+}
+
+src_install() {
+   cmake-utils_src_install
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2016-07-22 Thread Christoph Junghans
commit: d24a974c03ba5ed32c722be7508dfb14828341c2
Author: Christoph Junghans  gentoo  org>
AuthorDate: Fri Jul 22 18:56:45 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Fri Jul 22 20:11:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d24a974c

sys-cluster/hpx: version bump

Package-Manager: portage-2.2.28

 sys-cluster/hpx/Manifest  |  1 +
 sys-cluster/hpx/hpx-0.9.99.ebuild | 84 +++
 2 files changed, 85 insertions(+)

diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 9948751..2eec6c9 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1,3 +1,4 @@
 DIST hpx-0.9.9.tar.gz 3461235 SHA256 
cb17ac303f49795300c6b803725036aa09b434a7a23a610744457d3481be3738 SHA512 
95332c924548f7d07e24c56d3d72e8aa5977a1347666fb2a0f3782fec040e83e5760750a1696cf8152d7b3f8b90ce719fe24018086a5165429b3f9851c2f7e1f
 WHIRLPOOL 
370646b98c89133a8fd23cb17ecaefc477e09b07508884f4343526050a12fae117f1fd0e24881b9896beca97ca08d4bad8526b39cfec1cad0ce48d8826ea3c43
 DIST hpx_0.9.10.tar.gz 3016064 SHA256 
af84455003bbf49fd81477138e6c7e699b7c24a4933de04d709c1437a9ad6aad SHA512 
4c5ce7014d781c47415818898b99e5379e1547dd5f54fdefc9202de149ca4a0e3bf13c863cdea9ef70f7e3eb2c808cfda35d723a7f681745b8514a1887cbbb75
 WHIRLPOOL 
2fbc2c32532eb8141e6eb86a8e99ed4a7d4a6bb87bff9b383c4e4b5b0628fb5d6975672eaf5423f87b13f2f1d07e039362450b0276fa120f5a5abc8d7077408c
 DIST hpx_0.9.8.7z 2089649 SHA256 
9e04685b07e4155e6d3e00c944e5fe91c0c815a2b3bc7bc345eb59d8708bac91 SHA512 
1789582ee776173d4aa67b512d2df225c734b98ffe59a8f1eee38b5112ac7c02e0c7c478f72062e5b6a5d5053ce1848729c374093378f63200acf51a208fb3c7
 WHIRLPOOL 
b4b5a8a83aa4d07466ee0570b9fdadd906281e626eed2ce82e3a8e03681de1591a46af2254cbd387eb2d0bfac22c6796537fbbb37764be7dd424b97dd0d433c7
+DIST hpx_0.9.99.tar.gz 3779841 SHA256 
072e8ed614eb81353ed3b4628835349fb08b42515f2f8d62855921354c1ae92b SHA512 
57c03c01c4a9f770e56a60645ec352338365fe05c544b18ff2e944044284315a7e76bbdc2c7193fe55e6992dcb51a51d1042372fdd141b572bd8e18bf1afc363
 WHIRLPOOL 
1d2241c23ef43cf3cbc68fe59c5122165aff1793f2c36928badeb8e24a6bb8f3c35cef17a04672b308905e43d5a2c87cc252f0727c9b92079420da182904e301

diff --git a/sys-cluster/hpx/hpx-0.9.99.ebuild 
b/sys-cluster/hpx/hpx-0.9.99.ebuild
new file mode 100644
index 000..105cd31
--- /dev/null
+++ b/sys-cluster/hpx/hpx-0.9.99.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+if [ ${PV} ==  ] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+   S="${WORKDIR}/${PN}_${PV}"
+fi
+
+inherit cmake-utils fortran-2 multilib python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="doc examples jemalloc papi +perftools tbb test"
+
+RDEPEND="
+   tbb? ( dev-cpp/tbb )
+   >=dev-libs/boost-1.49
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=sys-apps/hwloc-1.8
+   >=sys-libs/libunwind-1
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
+"
+REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )
+   jemalloc? ( !perftools !tbb )
+   perftools? ( !jemalloc !tbb )
+   tbb? ( !jemalloc !perftools )
+   "
+
+pkg_setup() {
+   use test && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   CMAKE_BUILD_TYPE=Release
+   local mycmakeargs=(
+   -DHPX_BUILD_EXAMPLES=OFF
+   -DHPX_MALLOC=system
+   -DLIB=$(get_libdir)
+   -Dcmake_dir=cmake
+   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
+   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DBUILD_TESTING=$(usex test)
+   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_PAPI=$(usex papi)
+   )
+
+   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
+   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
+   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   # avoid over-suscribing
+   cmake-utils_src_make -j1 tests
+}
+
+src_install() {
+   cmake-utils_src_install
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/

2016-07-22 Thread Christoph Junghans
commit: 378d519c13501aa361a5df8434d235cc6e77dce6
Author: Christoph Junghans  gentoo  org>
AuthorDate: Fri Jul 22 20:11:19 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Fri Jul 22 20:11:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378d519c

sys-cluster/hpx: added live ebuild from sci

Package-Manager: portage-2.2.28

 sys-cluster/hpx/hpx-.ebuild | 84 +
 1 file changed, 84 insertions(+)

diff --git a/sys-cluster/hpx/hpx-.ebuild b/sys-cluster/hpx/hpx-.ebuild
new file mode 100644
index 000..105cd31
--- /dev/null
+++ b/sys-cluster/hpx/hpx-.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+if [ ${PV} ==  ] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git;
+else
+   SRC_URI="http://stellar.cct.lsu.edu/files/${PN}_${PV}.tar.gz;
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+   S="${WORKDIR}/${PN}_${PV}"
+fi
+
+inherit cmake-utils fortran-2 multilib python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/;
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="doc examples jemalloc papi +perftools tbb test"
+
+RDEPEND="
+   tbb? ( dev-cpp/tbb )
+   >=dev-libs/boost-1.49
+   papi? ( dev-libs/papi )
+   perftools? ( >=dev-util/google-perftools-1.7.1 )
+   >=sys-apps/hwloc-1.8
+   >=sys-libs/libunwind-1
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+   doc? ( >=dev-libs/boost-1.56.0-r1:=[tools] )
+"
+REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )
+   jemalloc? ( !perftools !tbb )
+   perftools? ( !jemalloc !tbb )
+   tbb? ( !jemalloc !perftools )
+   "
+
+pkg_setup() {
+   use test && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   CMAKE_BUILD_TYPE=Release
+   local mycmakeargs=(
+   -DHPX_BUILD_EXAMPLES=OFF
+   -DHPX_MALLOC=system
+   -DLIB=$(get_libdir)
+   -Dcmake_dir=cmake
+   -DHPX_BUILD_DOCUMENTATION=$(usex doc)
+   -DHPX_JEMALLOC=$(usex jemalloc)
+   -DBUILD_TESTING=$(usex test)
+   -DHPX_GOOGLE_PERFTOOLS=$(usex perftools)
+   -DHPX_PAPI=$(usex papi)
+   )
+
+   use perftools && mycmakeargs+=( -DHPX_MALLOC=tcmalloc )
+   use jemalloc && mycmakeargs+=( -DHPX_MALLOC=jemalloc )
+   use tbb && mycmakeargs+=( -DHPX_MALLOC=tbbmalloc )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   # avoid over-suscribing
+   cmake-utils_src_make -j1 tests
+}
+
+src_install() {
+   cmake-utils_src_install
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+}