10 Commits

Author SHA256 Message Date
Nicolas Morey
542edc99dc Disable for anything before SLE 16.0
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2025-11-03 15:17:32 +01:00
Nicolas Morey
0bb61f290f fix missing % in if macro
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2025-11-03 13:23:37 +01:00
Nicolas Morey
0430c244d8 Disable build for SLE <= 15.6 as it does not fully support C++17
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2025-11-03 11:45:37 +01:00
Nicolas Morey
01aa21d177 Update to hpx 1.11.0
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2025-10-31 17:22:15 +01:00
6142ccd761 Add Gitea build results 2025-10-27 17:35:20 +01:00
7752b90110 Accepting request 1306975 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1306975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hpx?expand=0&rev=10
2025-09-25 16:45:04 +00:00
e8585f9616 - libboost_system was removed upstream (bsc#1249900)
OBS-URL: https://build.opensuse.org/package/show/science:HPC/hpx?expand=0&rev=28
2025-09-24 15:25:27 +00:00
73196fbead Accepting request 1183456 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1183456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hpx?expand=0&rev=9
2024-06-27 14:02:39 +00:00
a40182cbea Accepting request 1183453 from home:NMorey:branches:science:HPC
- Add patches to fix compilation on Leap 15.5 and 15.6
  - remove-dependency-to-obsolete-boot-filesystem-path-basename.patch
  - scope-fix-issue-with-GCC-9.patch
  - remove-maybe_unused.patch

OBS-URL: https://build.opensuse.org/request/show/1183453
OBS-URL: https://build.opensuse.org/package/show/science:HPC/hpx?expand=0&rev=26
2024-06-26 14:32:40 +00:00
14810230d0 Accepting request 1183321 from home:NMorey:branches:science:HPC
- Udpate to 1.10.0
  - See https://hpx-docs.stellar-group.org/tags/v1.10.0/html/releases/whats_new_1_10_0.html
  for what's new.
- Drop Add-missing-header-for-std-intmax_t.patch as it was fixed upstream.
- Disable i586 build as asio-devel is not available.
- Disable broken arm 32b build
- Add explicit dependency to boost >= 1.71

OBS-URL: https://build.opensuse.org/request/show/1183321
OBS-URL: https://build.opensuse.org/package/show/science:HPC/hpx?expand=0&rev=25
2024-06-26 08:22:35 +00:00
9 changed files with 186 additions and 35 deletions

View File

@@ -1,18 +0,0 @@
commit cb19c8b96d3ecb806d678385ae305a7dc29973e6
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Feb 8 12:32:11 2023 +0000
Add missing header for std::intmax_t
diff --git libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
index 16378ff8d863..034c461f9fa2 100644
--- libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
+++ libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp
@@ -18,6 +18,7 @@
#include <hpx/type_support/lazy_conditional.hpp>
#include <cstddef>
+#include <cstdint>
#include <iterator>
#include <type_traits>

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of hpx in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/hpx/standard)
The current state of hpx in the devel project build (science:HPC)
![Devel project build results](https://br.opensuse.org/status/science:HPC/hpx)

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Fri Oct 31 16:18:47 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Update to 1.11.1
- See https://hpx-docs.stellar-group.org/tags/v1.11.0-rc1/html/releases/whats_new_1_11_0.html
- Disable build for SLE < 16.0 as it does not fully support C++17
-------------------------------------------------------------------
Wed Sep 24 09:29:37 CEST 2025 - aschnell@suse.com
- libboost_system was removed upstream (bsc#1249900)
-------------------------------------------------------------------
Tue Jun 25 14:29:37 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>
- Udpate to 1.10.0
- See https://hpx-docs.stellar-group.org/tags/v1.10.0/html/releases/whats_new_1_10_0.html
for what's new.
- Drop Add-missing-header-for-std-intmax_t.patch as it was fixed upstream.
- Disable i586 build as asio-devel is not available.
- Disable broken arm 32b build
- Add explicit dependency to boost >= 1.71
- Add patches to fix compilation on Leap 15.5 and 15.6
- remove-dependency-to-obsolete-boot-filesystem-path-basename.patch
- scope-fix-issue-with-GCC-9.patch
- remove-maybe_unused.patch
-------------------------------------------------------------------
Thu Feb 22 07:59:35 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package hpx
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2019 Christoph Junghans
#
# All modifications and additions to the file contributed by third parties
@@ -18,33 +18,40 @@
Name: hpx
Version: 1.8.1
Version: 1.11.0
Release: 0
Summary: General Purpose C++ Runtime System
License: BSL-1.0
Group: Productivity/Networking/Other
URL: https://stellar.cct.lsu.edu/tag/hpx/
Source0: https://github.com/STEllAR-GROUP/hpx/archive/%{version}.tar.gz#/%{name}_%{version}.tar.gz
Patch1: Add-missing-header-for-std-intmax_t.patch
Source0: https://github.com/STEllAR-GROUP/hpx/archive/refs/tags/v%{version}.tar.gz#/%{name}_%{version}.tar.gz
Source100: README.md
Patch1: remove-dependency-to-obsolete-boot-filesystem-path-basename.patch
Patch2: scope-fix-issue-with-GCC-9.patch
Patch3: remove-maybe_unused.patch
BuildRequires: asio-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gcc-c++ >= 8
BuildRequires: gperftools-devel
BuildRequires: hwloc-devel
BuildRequires: libboost_atomic-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_iostreams-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_regex-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_atomic-devel >= 1.71
BuildRequires: libboost_filesystem-devel >= 1.71
BuildRequires: libboost_iostreams-devel >= 1.71
BuildRequires: libboost_program_options-devel >= 1.71
BuildRequires: libboost_regex-devel >= 1.71
%ifarch aarch64 %{arm}
BuildRequires: libboost_chrono-devel
BuildRequires: libboost_context-devel
BuildRequires: libboost_thread-devel
BuildRequires: libboost_chrono-devel >= 1.71
BuildRequires: libboost_context-devel >= 1.71
BuildRequires: libboost_thread-devel >= 1.71
%endif
BuildRequires: openmpi-macros-devel
Requires: libhpx1 = %{version}-%{release}
ExcludeArch: i586 %arm
%if 0%{?suse_version} < 1600
# SLE < 16.0 only has GCC < 8 which does not have full C++17 support and fails to build
ExclusiveArch: do_not_build
%endif
%description
HPX is a general purpose C++ runtime system for parallel and distributed applications of any scale.

BIN
hpx_1.11.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fc4c10f55e2e6bcdc6f6ff950e26c6d8e218e138fdbd885ee71ccf5c5549054
size 5242024

View File

@@ -0,0 +1,73 @@
commit e6abade4e8d423f9082dc7f6b2ef9a07c43c15b4
Author: Nicolas Morey <nmorey@suse.com>
Date: Wed Jun 26 11:44:02 2024 +0200
remove dependency to obsolete boot::filesystem::path::basename()
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git libs/core/command_line_handling_local/src/parse_command_line_local.cpp libs/core/command_line_handling_local/src/parse_command_line_local.cpp
index 9ca8aa6b23f6..16d6da756933 100644
--- libs/core/command_line_handling_local/src/parse_command_line_local.cpp
+++ libs/core/command_line_handling_local/src/parse_command_line_local.cpp
@@ -261,7 +261,7 @@ namespace hpx::local::detail {
filesystem::path dir(filesystem::initial_path());
filesystem::path const app(appname);
- appname = filesystem::basename(app.filename());
+ appname = app.stem().string();
// walk up the hierarchy, trying to find a file <appname>.cfg
while (!dir.empty())
diff --git libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp
index e8bc2e45e0f5..e2620f6f2f57 100644
--- libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp
+++ libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp
@@ -136,7 +136,7 @@ namespace hpx::util::plugin {
namespace fs = filesystem;
fs::path const dll_path(dll_name);
- map_name = fs::basename(dll_path);
+ map_name = dll_path.stem().string();
}
void load_library(error_code& ec = throws)
diff --git libs/core/plugin/include/hpx/plugin/detail/dll_windows.hpp libs/core/plugin/include/hpx/plugin/detail/dll_windows.hpp
index a01bc60ac997..a7178860d9e7 100644
--- libs/core/plugin/include/hpx/plugin/detail/dll_windows.hpp
+++ libs/core/plugin/include/hpx/plugin/detail/dll_windows.hpp
@@ -60,7 +60,7 @@ namespace hpx::util::plugin {
namespace fs = filesystem;
fs::path const dll_path(dll_name);
- map_name = fs::basename(dll_path);
+ map_name = dll_path.stem().string();
}
void load_library(error_code& ec = throws)
diff --git libs/core/runtime_configuration/src/init_ini_data.cpp libs/core/runtime_configuration/src/init_ini_data.cpp
index 644f0dc2ddd5..78e0cc679c06 100644
--- libs/core/runtime_configuration/src/init_ini_data.cpp
+++ libs/core/runtime_configuration/src/init_ini_data.cpp
@@ -433,7 +433,7 @@ namespace hpx::util {
continue;
// instance name and module name are the same
- std::string name(fs::basename(curr)); //-V821
+ std::string name(curr.stem().string()); //-V821
#if !defined(HPX_WINDOWS)
if (0 == name.find("lib"))
diff --git libs/full/command_line_handling/src/parse_command_line.cpp libs/full/command_line_handling/src/parse_command_line.cpp
index 2729ffa6db87..422d500ee5bf 100644
--- libs/full/command_line_handling/src/parse_command_line.cpp
+++ libs/full/command_line_handling/src/parse_command_line.cpp
@@ -160,7 +160,7 @@ namespace hpx::util {
filesystem::path dir(filesystem::initial_path());
filesystem::path const app(appname);
- appname = filesystem::basename(app.filename());
+ appname = app.stem().string();
// walk up the hierarchy, trying to find a file <appname>.cfg
while (!dir.empty())

23
remove-maybe_unused.patch Normal file
View File

@@ -0,0 +1,23 @@
commit fa5d633ee56cce1e09d9e423b380cfe6f811526c
Author: Nicolas Morey <nmorey@suse.com>
Date: Wed Jun 26 15:27:48 2024 +0200
remove maybe_unused
For some reason GCC < 9 does not like this one
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git libs/core/executors/include/hpx/executors/service_executors.hpp libs/core/executors/include/hpx/executors/service_executors.hpp
index 297b49d9bec3..f7697164b4f2 100644
--- libs/core/executors/include/hpx/executors/service_executors.hpp
+++ libs/core/executors/include/hpx/executors/service_executors.hpp
@@ -47,7 +47,7 @@ namespace hpx::parallel::execution::detail {
hpx::execution::experimental::static_chunk_size;
explicit service_executor(
- [[maybe_unused]] hpx::util::io_service_pool* pool) noexcept
+ hpx::util::io_service_pool* pool) noexcept
#if defined(HPX_COMPUTE_HOST_CODE)
: pool_(pool)
#endif

View File

@@ -0,0 +1,27 @@
commit 8a4e5a63607cc29d62dd53ce824a41746ed09595
Author: Nicolas Morey <nmorey@suse.com>
Date: Wed Jun 26 12:05:45 2024 +0200
scope: fix issue with GCC < 9
https://github.com/martinmoene/scope-lite/issues/12
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git libs/core/functional/include/hpx/functional/experimental/scope_success.hpp libs/core/functional/include/hpx/functional/experimental/scope_success.hpp
index 7e3e742f5d48..b018156baaf0 100644
--- libs/core/functional/include/hpx/functional/experimental/scope_success.hpp
+++ libs/core/functional/include/hpx/functional/experimental/scope_success.hpp
@@ -54,8 +54,10 @@ namespace hpx::experimental {
scope_success& operator=(scope_success const&) = delete;
scope_success& operator=(scope_success&& rhs) = delete;
- HPX_CONSTEXPR_DESTRUCTOR ~scope_success() noexcept(
- noexcept(this->f()))
+ HPX_CONSTEXPR_DESTRUCTOR ~scope_success()
+#if __GNUC__ >= 9
+ noexcept(noexcept(this->f()))
+#endif
{
if (active >= std::uncaught_exceptions())
{