commit openmpi4 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openmpi4 for openSUSE:Factory checked in at 2024-08-07 06:09:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openmpi4 (Old) and /work/SRC/openSUSE:Factory/.openmpi4.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openmpi4" Wed Aug 7 06:09:25 2024 rev:15 rq:1191730 version:4.1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/openmpi4/openmpi4.changes 2024-06-28 15:47:19.590616618 +0200 +++ /work/SRC/openSUSE:Factory/.openmpi4.new.7232/openmpi4.changes 2024-08-07 06:09:27.831971480 +0200 @@ -1,0 +2,7 @@ +Mon Jul 29 16:40:16 UTC 2024 - Martin Jambor <mjambor@suse.com> + +- Add openmpi4-C99.diff to fix the most egregious type violations that + not only prevent building the standard flavor with GCC 14 opn i586 + but that are just bugs too. + +------------------------------------------------------------------- New: ---- openmpi4-C99.diff BETA DEBUG BEGIN: New: - Add openmpi4-C99.diff to fix the most egregious type violations that not only prevent building the standard flavor with GCC 14 opn i586 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmpi4.spec ++++++ --- /var/tmp/diff_new_pack.jOqwsd/_old 2024-08-07 06:09:29.300032615 +0200 +++ /var/tmp/diff_new_pack.jOqwsd/_new 2024-08-07 06:09:29.300032615 +0200 @@ -1,5 +1,5 @@ # -# spec file +# spec file for package openmpi4 # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana @@ -146,6 +146,7 @@ Source5: mpivars.csh Patch1: orted-mpir-add-version-to-shared-library.patch Patch2: btl-openib-Add-VF-support-for-ConnectX-4-5-and-6.patch +Patch3: openmpi4-C99.diff Provides: mpi BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -182,7 +183,7 @@ BuildRequires: gcc-fortran BuildRequires: mpi-selector Requires: mpi-selector -Requires(preun):mpi-selector +Requires(preun): mpi-selector Requires: %{package_name}-libs = %{version} %else BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel ++++++ openmpi4-C99.diff ++++++ --- ./opal/mca/pmix/pmix3x/pmix/src/hwloc/hwloc.c~ 2023-09-25 20:20:09.000000000 +0000 +++ ./opal/mca/pmix/pmix3x/pmix/src/hwloc/hwloc.c 2024-07-29 16:12:38.161908410 +0000 @@ -48,7 +48,7 @@ #if HWLOC_API_VERSION >= 0x20000 static size_t shmemsize = 0; -static size_t shmemaddr; +static uintptr_t shmemaddr; static char *shmemfile = NULL; static int shmemfd = -1; @@ -58,10 +58,10 @@ pmix_hwloc_vm_map_kind_t *kindp); static int use_hole(unsigned long holebegin, unsigned long holesize, - unsigned long *addrp, + uintptr_t *addrp, unsigned long size); static int find_hole(pmix_hwloc_vm_hole_kind_t hkind, - size_t *addrp, + uintptr_t *addrp, size_t size); static int enough_space(const char *filename, size_t space_req, @@ -584,7 +584,7 @@ static int use_hole(unsigned long holebegin, unsigned long holesize, - unsigned long *addrp, + uintptr_t *addrp, unsigned long size) { unsigned long aligned; @@ -615,7 +615,7 @@ } static int find_hole(pmix_hwloc_vm_hole_kind_t hkind, - size_t *addrp, size_t size) + uintptr_t *addrp, size_t size) { unsigned long biggestbegin = 0; unsigned long biggestsize = 0; --- ./orte/mca/rtc/hwloc/rtc_hwloc.c~ 2023-09-25 20:20:09.000000000 +0000 +++ ./orte/mca/rtc/hwloc/rtc_hwloc.c 2024-07-26 16:29:16.763923042 +0000 @@ -67,7 +67,7 @@ #if HWLOC_API_VERSION >= 0x20000 static size_t shmemsize = 0; -static size_t shmemaddr; +static uintptr_t shmemaddr; static char *shmemfile = NULL; static int shmemfd = -1; @@ -77,10 +77,10 @@ orte_rtc_hwloc_vm_map_kind_t *kindp); static int use_hole(unsigned long holebegin, unsigned long holesize, - unsigned long *addrp, + uintptr_t *addrp, unsigned long size); static int find_hole(orte_rtc_hwloc_vm_hole_kind_t hkind, - size_t *addrp, + uintptr_t *addrp, size_t size); static int enough_space(const char *filename, size_t space_req, @@ -524,7 +524,7 @@ static int use_hole(unsigned long holebegin, unsigned long holesize, - unsigned long *addrp, + uintptr_t *addrp, unsigned long size) { unsigned long aligned; @@ -576,7 +576,7 @@ } static int find_hole(orte_rtc_hwloc_vm_hole_kind_t hkind, - size_t *addrp, size_t size) + uintptr_t *addrp, size_t size) { unsigned long biggestbegin = 0; unsigned long biggestsize = 0; --- ./ompi/mca/io/romio321/romio/adio/include/adio.h~ 2023-09-25 20:20:09.000000000 +0000 +++ ./ompi/mca/io/romio321/romio/adio/include/adio.h 2024-07-29 15:40:10.597565427 +0000 @@ -97,6 +97,9 @@ #ifdef MPI_OFFSET_IS_INT typedef int ADIO_Offset; # define ADIO_OFFSET MPI_INT +#elif __SIZEOF_SIZE_T__ == 4 + typedef long ADIO_Offset; +# define ADIO_OFFSET MPI_LONG #elif defined(HAVE_LONG_LONG_64) typedef long long ADIO_Offset; # ifdef HAVE_MPI_LONG_LONG_INT
participants (1)
-
Source-Sync