summaryrefslogtreecommitdiff
path: root/sys-cluster/hpx/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sys-cluster/hpx/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-cluster/hpx/files')
-rw-r--r--sys-cluster/hpx/files/hpx-1.4.1-boost.patch30
-rw-r--r--sys-cluster/hpx/files/hpx-1.4.1-disable-failing-tests.patch157
-rw-r--r--sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch79
-rw-r--r--sys-cluster/hpx/files/hpx-1.5.1-cmake.patch32
-rw-r--r--sys-cluster/hpx/files/hpx-1.5.1-docs.patch91
-rw-r--r--sys-cluster/hpx/files/hpx-1.5.1-python.patch (renamed from sys-cluster/hpx/files/hpx-1.4.1-python.patch)6
-rw-r--r--sys-cluster/hpx/files/hpx-1.5.1-tests.patch111
7 files changed, 237 insertions, 269 deletions
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 939f4f77813c..000000000000
--- 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 <kurt@kmk-computers.de>
-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 <kurt@kmk-computers.de>
----
- 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=$<CONFIGURATION> 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 492cbaf23781..000000000000
--- 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 <kurt@kmk-computers.de>
-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 <kurt@kmk-computers.de>
----
- .../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
- partitioned_vector_adjacent_difference1
- partitioned_vector_adjacent_difference2
-- partitioned_vector_adjacent_find1
-+ # partitioned_vector_adjacent_find1
- partitioned_vector_adjacent_find2
- partitioned_vector_all_of1
- partitioned_vector_all_of2
-diff --git a/tests/regressions/CMakeLists.txt b/tests/regressions/CMakeLists.txt
-index 5a70ab8bfc99..fa4574ee0bf3 100644
---- a/tests/regressions/CMakeLists.txt
-+++ b/tests/regressions/CMakeLists.txt
-@@ -25,7 +25,7 @@ foreach(subdir ${subdirs})
- endforeach()
-
- set(tests
-- dynamic_counters_loaded_1508
-+ # dynamic_counters_loaded_1508
- id_type_ref_counting_1032
- multiple_init
- multiple_init_2918
-diff --git a/tests/unit/component/CMakeLists.txt b/tests/unit/component/CMakeLists.txt
-index 8deacffedb7b..49511e82e478 100644
---- a/tests/unit/component/CMakeLists.txt
-+++ b/tests/unit/component/CMakeLists.txt
-@@ -29,25 +29,25 @@ set(tests
- )
-
- if(HPX_WITH_NETWORKING)
-- set(tests ${tests}
-- launch_process
-- )
-+ # set(tests ${tests}
-+ # launch_process
-+ # )
-
- # add executable needed for launch_process_test
-- add_hpx_executable(launched_process_test
-- INTERNAL_FLAGS
-- SOURCES launched_process.cpp
-- EXCLUDE_FROM_ALL
-- HPX_PREFIX ${HPX_BUILD_PREFIX}
-- FOLDER "Tests/Unit/Components"
-- COMPONENT_DEPENDENCIES launch_process_test_server)
--
-- set(launch_process_FLAGS
-- DEPENDENCIES iostreams_component process_component
-- launch_process_test_server_component)
-- set(launch_process_PARAMETERS
-- --launch=$<TARGET_FILE:launched_process_test>
-- --hpx:expect-connecting-localities)
-+ # add_hpx_executable(launched_process_test
-+ # INTERNAL_FLAGS
-+ # SOURCES launched_process.cpp
-+ # EXCLUDE_FROM_ALL
-+ # HPX_PREFIX ${HPX_BUILD_PREFIX}
-+ # FOLDER "Tests/Unit/Components"
-+ # COMPONENT_DEPENDENCIES launch_process_test_server)
-+
-+ # set(launch_process_FLAGS
-+ # DEPENDENCIES iostreams_component process_component
-+ # launch_process_test_server_component)
-+ # set(launch_process_PARAMETERS
-+ # --launch=$<TARGET_FILE:launched_process_test>
-+ # --hpx:expect-connecting-localities)
- endif()
-
- set(action_invoke_no_more_than_PARAMETERS
-@@ -123,5 +123,5 @@ foreach(test ${tests})
- endforeach()
-
- if(HPX_WITH_NETWORKING)
-- add_hpx_pseudo_dependencies(tests.unit.component.launch_process launched_process_test)
-+ # add_hpx_pseudo_dependencies(tests.unit.component.launch_process launched_process_test)
- endif()
-diff --git a/tests/unit/parcelset/CMakeLists.txt b/tests/unit/parcelset/CMakeLists.txt
-index 93c5844b9210..ec2ffacd0f99 100644
---- a/tests/unit/parcelset/CMakeLists.txt
-+++ b/tests/unit/parcelset/CMakeLists.txt
-@@ -16,7 +16,7 @@ set(put_parcels_FLAGS DEPENDENCIES iostreams_component)
- set(set_parcel_write_handler_PARAMETERS LOCALITIES 2)
-
- if(HPX_WITH_PARCEL_COALESCING)
-- set(tests ${tests} put_parcels_with_coalescing)
-+ # set(tests ${tests} put_parcels_with_coalescing)
- set(put_parcels_with_coalescing_PARAMETERS LOCALITIES 2)
- set(put_parcels_with_coalescing_FLAGS DEPENDENCIES iostreams_component parcel_coalescing)
- endif()
-diff --git a/tests/unit/threads/CMakeLists.txt b/tests/unit/threads/CMakeLists.txt
-index df0a1eff4dbb..d542d24136b7 100644
---- a/tests/unit/threads/CMakeLists.txt
-+++ b/tests/unit/threads/CMakeLists.txt
-@@ -17,7 +17,7 @@ set(tests
- thread_id
- thread_launching
- thread_mf
-- thread_stacksize
-+ # thread_stacksize
- thread_suspension_executor
- thread_yield
- )
-diff --git a/tests/unit/topology/CMakeLists.txt b/tests/unit/topology/CMakeLists.txt
-index 8a8a26b294fb..9f6311395c61 100644
---- a/tests/unit/topology/CMakeLists.txt
-+++ b/tests/unit/topology/CMakeLists.txt
-@@ -5,9 +5,9 @@
- # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
- if (HPX_WITH_SHARED_PRIORITY_SCHEDULER AND HPX_WITH_CXX14_RETURN_TYPE_DEDUCTION)
-- set(tests ${tests}
-- numa_allocator
-- )
-+ # set(tests ${tests}
-+ # numa_allocator
-+ # )
-
- # NB. threads = -2 = threads = 'cores'
- # NB. threads = -1 = threads = 'all'
---
-2.24.1
-
diff --git a/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch b/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch
deleted file mode 100644
index 94271e6c0eca..000000000000
--- a/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 6bdbb6a3ad6ea57c46e9998e9efd46f86f5d5729 Mon Sep 17 00:00:00 2001
-From: Hartmut Kaiser <hartmut.kaiser@gmail.com>
-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 <kurt@kmk-computers.de>
----
- 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<std::int64_t(bool)> 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<std::int64_t()> const& f, naming::gid_type& id,
- error_code& ec)
- {
-- using util::placeholders::_1;
- hpx::util::function_nonser<std::int64_t(bool)> func(
- util::bind_front(&wrap_raw_counter, f));
- return create_raw_counter(info, func, id, ec);
-@@ -465,7 +463,6 @@ namespace hpx { namespace performance_counters
- hpx::util::function_nonser<std::vector<std::int64_t>()> const& f,
- naming::gid_type& id, error_code& ec)
- {
-- using util::placeholders::_1;
- hpx::util::function_nonser<std::vector<std::int64_t>(bool)> func(
- util::bind_front(&wrap_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<hpx::id_type> addressing_service::on_symbol_namespace_event(
- hpx::future<bool> 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(
- &addressing_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<hpx::lcos::local::spinlock> lk(FuturesMutex);
- #endif
-- using hpx::util::placeholders::_1;
- std::size_t buffer_address =
- reinterpret_cast<std::size_t>(general_buffer.data());
- //
---
-2.26.2
-
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 000000000000..ab31178bbe6d
--- /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 <kurt@kmk-computers.de>
+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 <kurt@kmk-computers.de>
+---
+ 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=$<CONFIGURATION>
+ 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 000000000000..a9978ea29550
--- /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 <kurt@kmk-computers.de>
+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 87, in apply_transforms
+| super().apply_transforms()
+| File "/usr/lib/python3.7/site-packages/docutils/transforms/__init__.py", line 171, in apply_transforms
+| transform.apply(**kwargs)
+| File "/usr/lib/python3.7/site-packages/sphinx/transforms/post_transforms/__init__.py", line 44, in apply
+| self.run(**kwargs)
+| File "/usr/lib/python3.7/site-packages/sphinx/transforms/post_transforms/__init__.py", line 88, in run
+| typ, target, node, contnode)
+| File "/usr/lib/python3.7/site-packages/sphinx/domains/cpp.py", line 7502, in resolve_xref
+| target, node, contnode)[0]
+| File "/usr/lib/python3.7/site-packages/sphinx/domains/cpp.py", line 7375, in _resolve_xref_inner
+| assert parentSymbol # should be there
+|AssertionError
+
+Actually the macro is not needed. So, just remove it until sphinx is fixed.
+
+Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
+---
+ .../hpx/static_reinit/reinitializable_static.hpp | 14 ++------------
+ 1 file changed, 2 insertions(+), 12 deletions(-)
+
+diff --git a/libs/static_reinit/include/hpx/static_reinit/reinitializable_static.hpp b/libs/static_reinit/include/hpx/static_reinit/reinitializable_static.hpp
+index 08980b9e269e..3c99400b9553 100644
+--- a/libs/static_reinit/include/hpx/static_reinit/reinitializable_static.hpp
++++ b/libs/static_reinit/include/hpx/static_reinit/reinitializable_static.hpp
+@@ -17,14 +17,6 @@
+ #include <mutex>
+ #include <type_traits>
+
+-// clang-format off
+-#if !defined(HPX_WINDOWS)
+-# define HPX_EXPORT_REINITIALIZABLE_STATIC HPX_EXPORT
+-#else
+-# define HPX_EXPORT_REINITIALIZABLE_STATIC
+-#endif
+-// clang-format on
+-
+ namespace hpx { namespace util {
+ ///////////////////////////////////////////////////////////////////////////
+ // Provides thread-safe initialization of a single static instance of T.
+@@ -39,11 +31,11 @@ namespace hpx { namespace util {
+ // functions used by the HPX runtime system to reinitialize the held data
+ // structures.
+ template <typename T, typename Tag = T, std::size_t N = 1>
+- struct HPX_EXPORT_REINITIALIZABLE_STATIC reinitializable_static;
++ struct HPX_EXPORT reinitializable_static;
+
+ //////////////////////////////////////////////////////////////////////////
+ template <typename T, typename Tag, std::size_t N>
+- struct HPX_EXPORT_REINITIALIZABLE_STATIC reinitializable_static
++ struct HPX_EXPORT reinitializable_static
+ {
+ public:
+ HPX_NON_COPYABLE(reinitializable_static);
+@@ -157,5 +149,3 @@ namespace hpx { namespace util {
+ template <typename T, typename Tag, std::size_t N>
+ std::once_flag reinitializable_static<T, Tag, N>::constructed_;
+ }} // namespace hpx::util
+-
+-#undef HPX_EXPORT_REINITIALIZABLE_STATIC
+--
+2.26.2
+
diff --git a/sys-cluster/hpx/files/hpx-1.4.1-python.patch b/sys-cluster/hpx/files/hpx-1.5.1-python.patch
index d28c8a61f238..51e225e8f5bc 100644
--- a/sys-cluster/hpx/files/hpx-1.4.1-python.patch
+++ b/sys-cluster/hpx/files/hpx-1.5.1-python.patch
@@ -1,4 +1,4 @@
-From 641d9766c73d2ee08aac8e1e0dd123b9d6db0c25 Mon Sep 17 00:00:00 2001
+From 0d250c5747f3a80ddda6f5bf298cead9048d1c28 Mon Sep 17 00:00:00 2001
From: Kurt Kanzenbach <kurt@kmk-computers.de>
Date: Tue, 17 Mar 2020 16:20:35 +0100
Subject: [PATCH] cmake: python: Use standard python interpreter
@@ -23,7 +23,7 @@ index 81f38f89367d..a0fd7837b066 100755
# Copyright (c) 2014 Steven R. Brandt
#
diff --git a/cmake/templates/hpxrun.py.in b/cmake/templates/hpxrun.py.in
-index 0e9f04a60495..7ccd2715a697 100755
+index 44a79e7cbffb..d4ab6020485e 100755
--- a/cmake/templates/hpxrun.py.in
+++ b/cmake/templates/hpxrun.py.in
@@ -1,4 +1,4 @@
@@ -33,5 +33,5 @@ index 0e9f04a60495..7ccd2715a697 100755
# Copyright (c) 2014 Thomas Heller
#
--
-2.24.1
+2.26.2
diff --git a/sys-cluster/hpx/files/hpx-1.5.1-tests.patch b/sys-cluster/hpx/files/hpx-1.5.1-tests.patch
new file mode 100644
index 000000000000..4a930eb0c0c7
--- /dev/null
+++ b/sys-cluster/hpx/files/hpx-1.5.1-tests.patch
@@ -0,0 +1,111 @@
+From e623c902bc57f85b3d1b09e58b75fb01898b409e Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach <kurt@kmk-computers.de>
+Date: Fri, 18 Sep 2020 08:32:01 +0200
+Subject: [PATCH] tests: Disable failing tests
+
+Within portage the following tests fail:
+
+|99% tests passed, 5 tests failed out of 920
+|
+|Total Test time (real) = 1069.51 sec
+|
+|The following tests FAILED:
+| 299 - tests.unit.modules.async_mpi.mpi_ring_async_executor (Failed)
+| 351 - tests.unit.modules.compute.numa_allocator (Failed)
+| 492 - tests.regressions.modules.performance_counters.dynamic_counters_loaded_1508 (Failed)
+| 919 - tests.unit.parcelset.distributed.mpi.put_parcels_with_coalescing (Failed)
+| 920 - tests.unit.parcelset.distributed.tcp.put_parcels_with_coalescing (Failed)
+
+Disable them.
+
+Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
+---
+ libs/async_mpi/tests/unit/CMakeLists.txt | 2 +-
+ libs/compute/tests/unit/CMakeLists.txt | 2 +-
+ .../tests/regressions/CMakeLists.txt | 4 +---
+ .../segmented_algorithms/tests/unit/CMakeLists.txt | 2 +-
+ tests/unit/parcelset/CMakeLists.txt | 14 +++++++-------
+ 5 files changed, 11 insertions(+), 13 deletions(-)
+
+diff --git a/libs/async_mpi/tests/unit/CMakeLists.txt b/libs/async_mpi/tests/unit/CMakeLists.txt
+index 30e6de80fa01..d78490089f02 100644
+--- a/libs/async_mpi/tests/unit/CMakeLists.txt
++++ b/libs/async_mpi/tests/unit/CMakeLists.txt
+@@ -4,7 +4,7 @@
+ # Distributed under the Boost Software License, Version 1.0. (See accompanying
+ # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+-set(tests mpi_ring_async_executor)
++# set(tests mpi_ring_async_executor)
+
+ set(mpi_ring_async_executor_PARAMETERS THREADS_PER_LOCALITY 4 LOCALITIES 2
+ RUNWRAPPER mpi
+diff --git a/libs/compute/tests/unit/CMakeLists.txt b/libs/compute/tests/unit/CMakeLists.txt
+index c7c43c91ef08..349483642d33 100644
+--- a/libs/compute/tests/unit/CMakeLists.txt
++++ b/libs/compute/tests/unit/CMakeLists.txt
+@@ -8,7 +8,7 @@
+ set(tests block_allocator)
+
+ if(HPX_WITH_DISTRIBUTED_RUNTIME AND HPX_WITH_SHARED_PRIORITY_SCHEDULER)
+- set(tests ${tests} numa_allocator)
++ # set(tests ${tests} numa_allocator)
+ endif()
+
+ # NB. threads = -2 = threads = 'cores' NB. threads = -1 = threads = 'all'
+diff --git a/libs/performance_counters/tests/regressions/CMakeLists.txt b/libs/performance_counters/tests/regressions/CMakeLists.txt
+index adf982876e21..406b2edf1837 100644
+--- a/libs/performance_counters/tests/regressions/CMakeLists.txt
++++ b/libs/performance_counters/tests/regressions/CMakeLists.txt
+@@ -5,9 +5,7 @@
+ # Distributed under the Boost Software License, Version 1.0. (See accompanying
+ # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+-set(tests discover_counters_1787 dynamic_counters_loaded_1508 statistics_2666
+- uptime_1737
+-)
++set(tests discover_counters_1787 statistics_2666 uptime_1737)
+
+ set(dynamic_counters_loaded_1508_FLAGS DEPENDENCIES memory_component)
+
+diff --git a/libs/segmented_algorithms/tests/unit/CMakeLists.txt b/libs/segmented_algorithms/tests/unit/CMakeLists.txt
+index 6dba64d19fc4..ccaa56b1a0ea 100644
+--- a/libs/segmented_algorithms/tests/unit/CMakeLists.txt
++++ b/libs/segmented_algorithms/tests/unit/CMakeLists.txt
+@@ -8,7 +8,7 @@ set(tests
+ partitioned_vector_adjacent_difference1
+ partitioned_vector_adjacent_difference2
+ partitioned_vector_adjacent_find1
+- partitioned_vector_adjacent_find2
++ # partitioned_vector_adjacent_find2
+ partitioned_vector_all_of1
+ partitioned_vector_all_of2
+ partitioned_vector_any_of1
+diff --git a/tests/unit/parcelset/CMakeLists.txt b/tests/unit/parcelset/CMakeLists.txt
+index 1981e2baf8cd..b374292ceee7 100644
+--- a/tests/unit/parcelset/CMakeLists.txt
++++ b/tests/unit/parcelset/CMakeLists.txt
+@@ -12,13 +12,13 @@ set(put_parcels_PARAMETERS LOCALITIES 2)
+ set(put_parcels_FLAGS DEPENDENCIES iostreams_component)
+ set(set_parcel_write_handler_PARAMETERS LOCALITIES 2)
+
+-if(HPX_WITH_PARCEL_COALESCING)
+- set(tests ${tests} put_parcels_with_coalescing)
+- set(put_parcels_with_coalescing_PARAMETERS LOCALITIES 2)
+- set(put_parcels_with_coalescing_FLAGS DEPENDENCIES iostreams_component
+- parcel_coalescing
+- )
+-endif()
++# if(HPX_WITH_PARCEL_COALESCING)
++# set(tests ${tests} put_parcels_with_coalescing)
++# set(put_parcels_with_coalescing_PARAMETERS LOCALITIES 2)
++# set(put_parcels_with_coalescing_FLAGS DEPENDENCIES iostreams_component
++# parcel_coalescing
++# )
++# endif()
+
+ if(HPX_WITH_COMPRESSION_BZIP2
+ OR HPX_WITH_COMPRESSION_ZLIB
+--
+2.26.2
+