SHA256
1
0
forked from pool/mvapich3
mvapich3/mpi-coll-missing-return.patch
Nicolas Morey b3c4954942 Accepting request 1148143 from home:NMorey:branches:science:HPC
- Update to v3.0 GA
- Cleanup spec file
  - standard flavour has been removed and has been replaced by the ucx flavour
  - Drop 32b arch support
  - Disable static libraries for non-HPC build
  - No need to pull ucx nor libfabric-devel for mvapich3-devel
- Replace 0001-fix-control-reaches-end-of-non-void-function.patch with upstream:
  - mpi-coll-missing-return.patch
  - mpl-warnings-missing-return.patch
- Add:
  - mvapich3-s390_get_cycles.patch for s390 support
  - pass-correct-size-to-snprintf.patch to fix potential overflows
  - autoconf-pull-dynamic-and-not-static-libs-from-pkg-config.patch to fix
    libfabric sub dependencies being unnecessary pulled
  - config-replace-AC_TRY_-COMPILE-LINK-RUN.patch to replace osolete
    autoconf macros

OBS-URL: https://build.opensuse.org/request/show/1148143
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich3?expand=0&rev=4
2024-02-20 16:46:06 +00:00

25 lines
792 B
Diff

commit 1e07f003ee3733b81f2de405a525214b12b597fc
Author: Nicolas Morey <nmorey@suse.com>
Date: Tue Nov 21 13:20:55 2023 +0100
mpi: coll: missing return
Change to void to avoid:
src/mpi/coll/shmem/mvp_shmem_coll.c:1802:1: error: no return statement in function returning non-void [-Werror=return-type]
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git src/mpi/coll/shmem/mvp_shmem_coll.c src/mpi/coll/shmem/mvp_shmem_coll.c
index 48ab6d3b1e52..5c5d071081eb 100644
--- src/mpi/coll/shmem/mvp_shmem_coll.c
+++ src/mpi/coll/shmem/mvp_shmem_coll.c
@@ -1765,7 +1765,7 @@ fn_fail:
}
/* Change the values set inside the array by the one define by the user */
-static inline int tuning_runtime_init()
+static inline void tuning_runtime_init()
{
int i;