public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hpx] rawhide: Version bump to v2.0.0_rc1
@ 2026-10-31 12:39 Christoph Junghans
  0 siblings, 0 replies; only message in thread
From: Christoph Junghans @ 2026-10-31 12:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/hpx
            Branch : rawhide
            Commit : eb65a5a81a64539d4e032cae16cb9707c14145c5
            Author : Christoph Junghans <junghans@votca.org>
            Date   : 2026-10-31T06:39:28-06:00
            Stats  : +102/-63 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/hpx/c/eb65a5a81a64539d4e032cae16cb9707c14145c5?branch=rawhide

            Log:
            Version bump to v2.0.0_rc1

Fixes: rhbz#2542708

---
diff --git a/.gitignore b/.gitignore
index 1041e62..7a7e3be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
 /hpx-1.9.1.tar.gz
 /hpx-1.10.0.tar.gz
 /hpx-1.11.0.tar.gz
+/hpx-2.0.0-rc1.tar.gz

diff --git a/hpx.spec b/hpx.spec
index 80519aa..096eb7a 100644
--- a/hpx.spec
+++ b/hpx.spec
@@ -1,19 +1,19 @@
 Name:           hpx
-Version:        1.11.0
-Release:        6%{?dist}
+Version:        2.0.0~rc1
+%global         uversion 2.0.0-rc1
+Release:        1%{?dist}
 Summary:        General Purpose C++ Runtime System
 License:        BSL-1.0
-URL:            https://hpx.stellar-group.org/
-Source0:        https://github.com/STEllAR-GROUP/hpx/archive/v%{version}/%{name}-%{version}.tar.gz
-# from upstream https://github.com/STEllAR-GROUP/hpx/issues/6867#issuecomment-3829261348
-Patch0:         gcc-16.patch
-# from upstream https://github.com/TheHPXProject/hpx/issues/7428#issuecomment-5168078573
-Patch1:         https://patch-diff.githubusercontent.com/raw/TheHPXProject/hpx/pull/7463.diff
+URL:            https://hpx.dev/
+Source0:        https://github.com/TheHPXProject/hpx/archive/v%{uversion}/%{name}-%{uversion}.tar.gz
+# https://github.com/TheHPXProject/hpx/pull/7648.diff, dropping all cmake mods
+Patch0:         my7648.diff
 
 BuildRequires:  gcc-c++ >= 4.9
 BuildRequires:  gperftools-devel
 BuildRequires:  boost-devel
 BuildRequires:  hwloc-devel
+BuildRequires:  stdexec-devel
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  git
@@ -121,7 +121,7 @@ Summary: HPX Open MPI examples
 Requires:       openmpi
 Requires:       hpx-openmpi = %{version}-%{release}
 BuildRequires:  openmpi-devel
-BuildRequires: make
+BuildRequires:  make
 
 %description openmpi-examples
 %{hpx_desc}.
@@ -144,75 +144,40 @@ Requires:   asio-devel
 This package contains development headers and libraries
 
 %prep
-%autosetup -p1
+%autosetup -p1 -n %{name}-%{uversion}
+# Fixed upstream
+sed -i 's/Werror/Wall/' ./cmake/HPX_AddConfigTest.cmake
 
 %build
-# This package uses -Wl,-wrap to wrap calls at link time.  This is incompatible
-# with LTO.
-# Disable LTO
-%define _lto_cflags %{nil}
-
 # use generic context for these archs
 %ifarch aarch64 
 %define cmake_opts -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON
 %endif
 
-# ppc64 do not have enough memory
-%ifarch ppc64le aarch64 armv7hl
-%global _smp_mflags -j1
-%endif
-
-# use a different optimization level for arm dueo to memory limitations
-%ifarch armv7hl
-%define cmake_opts -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -O1" -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON
-%endif
-
-# add lib atomic for s390x
-%ifarch s390x
-%define cmake_opts -DCMAKE_SHARED_LINKER_FLAGS="$RPM_OPT_FLAGS -latomic" -DCMAKE_EXE_LINKER_FLAGS="$RPM_OPT_FLAGS -latomic"
-%endif
-
 . /etc/profile.d/modules.sh
+%define _vpath_builddir %{_target_platform}-${mpi:-serial}
 for mpi in '' openmpi mpich ; do
   test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
-  mkdir -p ${mpi:-serial}
-  #pushd ${mpi:-serial}
-  %define _vpath_builddir %{_target_platform}-${mpi:-serial}
-  test -n "${mpi}" && export CC=mpicc && export CXX=mpicxx
-  %{cmake} ${mpi:+-DHPX_WITH_PARCELPORT_MPI=ON} %{?cmake_opts:%{cmake_opts}} -DHPX_WITH_BUILD_BINARY_PACKAGE=ON -DLIB_INSTALL_DIR=%_libdir/${mpi}/${mpi:+lib/} -DLIBDIR=%_libdir/${mpi}/${mpi:+lib/} -DCMAKE_INSTALL_LIBDIR=%_libdir/${mpi}/${mpi:+lib/}
-  #cd %{__cmake_builddir}
-  #%make_build
+  %{cmake} ${mpi:+-DHPX_WITH_PARCELPORT_MPI=ON} %{?cmake_opts:%{cmake_opts}} -DHPX_WITH_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_LIBDIR=${MPI_LIB:-%{_libdir}} -DCMAKE_INSTALL_BINDIR=${MPI_BIN:-%{_bindir}} -DCMAKE_INSTALL_INCLUDEDIR=${MPI_INCLUDE:-%{_includedir}} -DHPX_WITH_COMPILER_WARNINGS=OFF -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=OFF -DHPX_WITH_FETCH_STDEXEC=OFF
   %cmake_build
-  #cd ..
-  test -n "${mpi}" && unset CC CXX
-  #popd
   test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
 done
 
 %install
-# do serial install last due to move of executables to _bindir
 . /etc/profile.d/modules.sh
-for mpi in openmpi mpich '' ; do
-  test -n "${mpi}" && module load mpi/${mpi}-%{_arch} && mkdir -p %{buildroot}/${MPI_BIN}
-  #pushd ${mpi:-serial}
-  #cd %{__cmake_builddir}
-  %define _vpath_builddir %{_target_platform}-${mpi:-serial}
+%define _vpath_builddir %{_target_platform}-${mpi:-serial}
+for mpi in '' openmpi mpich ; do
+  test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
   %cmake_install
-  #%make_install
-  #cd ..
-  #sed -i '1s@env python@python3@' %{buildroot}/%{_bindir}/{hpx*.py,hpxcxx} 
-  #popd
-  pushd %{buildroot}/%{_bindir}
-  # rename executable with too generic names
+  pushd %{buildroot}/${MPI_BIN:-%{_bindir}}
+  # rename executable to hpx_*
   for exe in  *; do
     test -n '${exe##hpx*}' && mv "${exe}" "hpx_${exe}"
   done
   popd
-  test -n "${mpi}" && mv %{buildroot}/%{_bindir}/* %{buildroot}/${MPI_BIN}/            
   test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
 done
 
-
 rm %{buildroot}/%{_datadir}/%{name}/LICENSE_1_0.txt
 %fdupes %{buildroot}%{_prefix}
 
@@ -220,12 +185,10 @@ rm %{buildroot}/%{_datadir}/%{name}/LICENSE_1_0.txt
 . /etc/profile.d/modules.sh
 for mpi in '' openmpi mpich ; do
   test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
-  %ctest --tests-regex tests.examples %{?testargs}
+  %ctest --tests-regex tests.examples
   test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
 done
 
-%ldconfig_scriptlets
-
 %files
 %doc README.rst
 %license LICENSE_1_0.txt
@@ -235,7 +198,7 @@ done
 %files examples
 %doc README.rst
 %license LICENSE_1_0.txt
-%{_bindir}/*
+%{_bindir}/%{name}_*
 
 %files openmpi
 %doc README.rst
@@ -246,10 +209,10 @@ done
 %files openmpi-examples
 %doc README.rst
 %license LICENSE_1_0.txt
-%{_libdir}/openmpi*/bin/*
+%{_libdir}/openmpi*/bin/%{name}_*
 
 %files openmpi-devel
-%{_includedir}/%{name}
+%{_includedir}/openmpi*/%{name}
 %{_libdir}/openmpi*/lib/pkgconfig/*.pc
 %{_libdir}/openmpi*/lib/cmake/HPX
 %{_libdir}/openmpi*/lib/lib*.a
@@ -264,10 +227,10 @@ done
 %files mpich-examples
 %doc README.rst
 %license LICENSE_1_0.txt
-%{_libdir}/mpich*/bin/*
+%{_libdir}/mpich*/bin/%{name}_*
 
 %files mpich-devel
-%{_includedir}/%{name}
+%{_includedir}/mpich*/%{name}
 %{_libdir}/mpich*/lib/pkgconfig/*.pc
 %{_libdir}/mpich*/lib/cmake/HPX
 %{_libdir}/mpich*/lib/lib*.a
@@ -281,6 +244,10 @@ done
 %{_libdir}/lib*.so*
 
 %changelog
+* Fri Oct 30 2026 Christoph Junghans <junghans@votca.org> - 2.0.0~rc1-1
+- Version bump to v2.0.0_rc1
+- Fixes: rhbz#2542708
+
 * Tue Oct 27 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.11.0-6
 - Rebuilt for mpich-5.0.2
 

diff --git a/my7648.diff b/my7648.diff
new file mode 100644
index 0000000..f4d68fd
--- /dev/null
+++ b/my7648.diff
@@ -0,0 +1,71 @@
+diff --git a/libs/core/algorithms/tests/unit/algorithms/test_utils.hpp b/libs/core/algorithms/tests/unit/algorithms/test_utils.hpp
+index 3b5435ee1d0b..3e91a65726ff 100644
+--- a/libs/core/algorithms/tests/unit/algorithms/test_utils.hpp
++++ b/libs/core/algorithms/tests/unit/algorithms/test_utils.hpp
+@@ -102,6 +102,7 @@ namespace test {
+     struct count_instances_v
+     {
+         count_instances_v()
++          : value_()
+         {
+             ++instance_count;
+             ++max_instance_count;
+diff --git a/libs/core/algorithms/tests/unit/container_algorithms/test_utils.hpp b/libs/core/algorithms/tests/unit/container_algorithms/test_utils.hpp
+index cd171ca108b4..c25d8056fca8 100644
+--- a/libs/core/algorithms/tests/unit/container_algorithms/test_utils.hpp
++++ b/libs/core/algorithms/tests/unit/container_algorithms/test_utils.hpp
+@@ -252,6 +252,7 @@ namespace test {
+     struct count_instances_v
+     {
+         count_instances_v()
++          : value_()
+         {
+             ++instance_count;
+             ++max_instance_count;
+diff --git a/libs/core/execution/tests/unit/algorithm_transfer_when_all.cpp b/libs/core/execution/tests/unit/algorithm_transfer_when_all.cpp
+index 7b85efbe0f22..06639c1aed53 100644
+--- a/libs/core/execution/tests/unit/algorithm_transfer_when_all.cpp
++++ b/libs/core/execution/tests/unit/algorithm_transfer_when_all.cpp
+@@ -30,6 +30,9 @@
+ #if defined(HPX_CLANG_VERSION)
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
++#elif defined(HPX_GCC_VERSION)
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ #endif
+ 
+ namespace ex = hpx::execution::experimental;
+@@ -138,6 +141,8 @@ int main()
+ 
+ #if defined(HPX_CLANG_VERSION)
+ #pragma clang diagnostic pop
++#elif defined(HPX_GCC_VERSION)
++#pragma GCC diagnostic pop
+ #endif
+ #else
+ int main()
+diff --git a/libs/core/execution_base/include/hpx/execution_base/stdexec_forward.hpp b/libs/core/execution_base/include/hpx/execution_base/stdexec_forward.hpp
+index bc06217e2913..df4a0e304197 100644
+--- a/libs/core/execution_base/include/hpx/execution_base/stdexec_forward.hpp
++++ b/libs/core/execution_base/include/hpx/execution_base/stdexec_forward.hpp
+@@ -359,19 +359,6 @@ namespace hpx::execution::experimental {
+     inline constexpr bool sender_invokes_algorithm_v =
+         stdexec::__sender_for<Sender, AlgorithmTag>;
+ 
+-    namespace stdexec_non_standard_tag_invoke {
+-
+-        // Presently, the stdexec repository implements tag invoke,
+-        // however it includes a non-standard (in the sense of unexpected) extension.
+-        // tag invoke first checks for the existence of a .query member function or
+-        // a ::query static function.
+-        HPX_CXX_CORE_EXPORT using stdexec::tag_invoke;
+-        HPX_CXX_CORE_EXPORT using stdexec::tag_invoke_result;
+-
+-        HPX_CXX_CORE_EXPORT using stdexec::nothrow_tag_invocable;
+-        HPX_CXX_CORE_EXPORT using stdexec::tag_invocable;
+-    }    // namespace stdexec_non_standard_tag_invoke
+-
+     namespace stdexec_internal {
+ 
+         HPX_CXX_CORE_EXPORT using stdexec::__single_sender_value_t;

diff --git a/sources b/sources
index 80089da..9a25cf2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hpx-1.11.0.tar.gz) = bf22add7a97087f68bd49fe0ae5b2bfbd7ba01d4018872c3934ebd81a632e2559e6144c5aa06779db971c642d5a41b16c8c48108af2c4069be6d9f9b72985182
+SHA512 (hpx-2.0.0-rc1.tar.gz) = 35961db558e270fd074c0e4b01316071c6b84b8993af74325813e174c0a1593320b32f29700a05e2b93f42b4daf9285a7ca9edc972c4f8f4fbcc15a03345553d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-31 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 12:39 [rpms/hpx] rawhide: Version bump to v2.0.0_rc1 Christoph Junghans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox