6 Commits

Author SHA256 Message Date
Nicolas Morey
57359f2de3 Merge branch 'factory' of https://src.opensuse.org/pool/libpsm2 into slfo-main
* 'factory' of https://src.opensuse.org/pool/libpsm2:
  Add patch to fix compilation with GCC 16 (bsc#1256971):
2026-01-26 14:39:30 +01:00
Nicolas Morey
f023b8a12d Add patch to fix compilation with GCC 16 (bsc#1256971):
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2026-01-20 13:54:38 +01:00
Nicolas Morey
39856a4ab8 Merge remote-tracking branch 'devel/main' into slfo-main (jsc#PED13888)
* devel/main:
  Add Gitea build results
  - Add libpsm2-disable-AVX.patch to completely disable AVX support   and use only up to SSE4.2. (bsc#1245739)

Signed-off-by: Nicolas Morey <nmorey@suse.com>
2026-01-15 08:51:00 +01:00
06582d78bf Add Gitea build results 2025-10-27 17:35:24 +01:00
97fbaaf262 Accepting request 1290621 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1290621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpsm2?expand=0&rev=25
2025-07-06 15:03:41 +00:00
07c51ebfb6 - Add libpsm2-disable-AVX.patch to completely disable AVX support
and use only up to SSE4.2. (bsc#1245739)

OBS-URL: https://build.opensuse.org/package/show/science:HPC/libpsm2?expand=0&rev=73
2025-07-04 07:23:46 +00:00
4 changed files with 51 additions and 0 deletions

12
README.md Normal file
View File

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

31
libpsm2-gcc16-fixes.patch Normal file
View File

@@ -0,0 +1,31 @@
commit ae8ed797f23b904a80d054ef10e286abe854a3ba
Author: Nicolas Morey <nmorey@suse.com>
Date: Tue Jan 20 13:50:57 2026 +0100
libpsm2: gcc16 fixes
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git psm_mpool.c psm_mpool.c
index e36e91724333..2a42e6e12287 100644
--- psm_mpool.c
+++ psm_mpool.c
@@ -435,8 +435,6 @@ void psmi_mpool_chunk_dealloc(mpool_t mp, int idx)
void psmi_mpool_destroy(mpool_t mp)
{
int i = 0;
- size_t nbytes = mp->mp_num_obj * mp->mp_elm_size;
-
for (i = 0; i < mp->mp_elm_vector_size; i++) {
if (mp->mp_elm_vector[i]) {
#ifdef PSM_CUDA
@@ -447,9 +445,7 @@ void psmi_mpool_destroy(mpool_t mp)
}
}
psmi_free(mp->mp_elm_vector);
- nbytes += mp->mp_elm_vector_size * sizeof(struct mpool_element *);
psmi_free(mp);
- nbytes += sizeof(struct mpool);
}
/**

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 20 12:53:12 UTC 2026 - Nicolas Morey <nicolas.morey@suse.com>
- Add patch to fix compilation with GCC 16 (bsc#1256971):
- libpsm2-gcc16-fixes.patch
-------------------------------------------------------------------
Fri Jul 4 06:43:53 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>

View File

@@ -34,9 +34,11 @@ URL: https://github.com/cornelisnetworks/opa-psm2/
Source0: %{name}-%{version}%{git_ver}.tar.bz2
Source1: libpsm2.changelog
Source2: libpsm2-rpmlintrc
Source100: README.md
Patch2: libpsm2-use_RPM_OPT_FLAGS.patch
Patch3: libpsm2-use-exported-variable-for-version-and-release.patch
Patch4: libpsm2-disable-AVX.patch
Patch5: libpsm2-gcc16-fixes.patch
BuildRequires: libnuma-devel
BuildRequires: libuuid-devel
BuildRequires: pkgconfig