The package rpms/nvml.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/nvml.git/commit/?id=77fa7fc0e3ceae7c....
Change: +ExclusiveArch: x86_64 ppc64le
Thanks.
Full change: ============
commit 7ac6dfcf3bdf53b3ee063894e15a73cce36b3afe Author: Marcin lusarz marcin.slusarz@intel.com Date: Wed Feb 26 17:52:25 2020 +0100
Add ChangeLog for 1.8-2
diff --git a/nvml.spec b/nvml.spec index 1c72a81..d47eaad 100644 --- a/nvml.spec +++ b/nvml.spec @@ -32,7 +32,7 @@
Name: nvml Version: 1.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Persistent Memory Development Kit (formerly NVML) License: BSD URL: http://pmem.io/pmdk @@ -70,8 +70,12 @@ BuildRequires: libunwind-devel %global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\.so.*$
# By design, PMDK does not support any 32-bit architecture. -# Due to dependency on xmmintrin.h and some inline assembly, it can be -# compiled only for x86_64 at the moment. +# Due to dependency on some inline assembly, PMDK can be compiled only +# on these architectures: +# - x86_64 +# - ppc64le (experimental) +# - aarch64 (unmaintained, supporting hardware doesn't exist?) +# # Other 64-bit architectures could also be supported, if only there is # a request for that, and if somebody provides the arch-specific # implementation of the low-level routines for flushing to persistent @@ -79,7 +83,6 @@ BuildRequires: libunwind-devel
# https://bugzilla.redhat.com/show_bug.cgi?id=1340634 # https://bugzilla.redhat.com/show_bug.cgi?id=1340635 -# https://bugzilla.redhat.com/show_bug.cgi?id=1340636 # https://bugzilla.redhat.com/show_bug.cgi?id=1340637
ExclusiveArch: x86_64 ppc64le @@ -602,6 +605,9 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
%changelog +* Wed Feb 26 2020 Marcin lusarz marcin.slusarz@intel.com - 1.8-2 +- Enable PPC64LE packages + * Wed Feb 12 2020 Marcin lusarz marcin.slusarz@intel.com - 1.8-1 - Update to PMDK version 1.8. This release stops shipping libvmem & libvmmalloc. These libraries are now provided by vmem
commit 77fa7fc0e3ceae7cac61ad7fc153e1be1590ecd5 Author: Lucas A. M. Magalhaes lamm@linux.ibm.com Date: Mon Feb 17 17:48:05 2020 -0300
Add ppc64le package
diff --git a/nvml.spec b/nvml.spec index e6df7db..1c72a81 100644 --- a/nvml.spec +++ b/nvml.spec @@ -82,7 +82,7 @@ BuildRequires: libunwind-devel # https://bugzilla.redhat.com/show_bug.cgi?id=1340636 # https://bugzilla.redhat.com/show_bug.cgi?id=1340637
-ExclusiveArch: x86_64 +ExclusiveArch: x86_64 ppc64le
%description The Persistent Memory Development Kit is a collection of libraries for
commit f5e3e301bba3bf05ee872678217e48fc12781513 Author: Marcin lusarz marcin.slusarz@intel.com Date: Wed Feb 26 17:09:15 2020 +0100
Add another patch for timeouts on PPC64.
diff --git a/0003-test-build-obj_defrag_advanced-with-some-optimizatio.patch b/0003-test-build-obj_defrag_advanced-with-some-optimizatio.patch new file mode 100644 index 0000000..58ff8a3 --- /dev/null +++ b/0003-test-build-obj_defrag_advanced-with-some-optimizatio.patch @@ -0,0 +1,24 @@ +From ad2064dbb457482f9af9816f61ba721cc5aae126 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcin=20=C5=9Alusarz?= marcin.slusarz@intel.com +Date: Wed, 26 Feb 2020 15:54:19 +0100 +Subject: [PATCH] test: build obj_defrag_advanced with some optimizations + +On my machine it decreases TEST3 time from 52s to 20s +and TEST5 from 30s to 11s. +--- + src/test/obj_defrag_advanced/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/test/obj_defrag_advanced/Makefile b/src/test/obj_defrag_advanced/Makefile +index f2e8eda94..45fa851aa 100644 +--- a/src/test/obj_defrag_advanced/Makefile ++++ b/src/test/obj_defrag_advanced/Makefile +@@ -40,4 +40,4 @@ LIBPMEMOBJ=y + + include ../Makefile.inc + +-CFLAGS += -DDEBUG ++CFLAGS += -DDEBUG -Og +-- +2.20.1 + diff --git a/nvml.spec b/nvml.spec index 79cba1b..e6df7db 100644 --- a/nvml.spec +++ b/nvml.spec @@ -40,6 +40,7 @@ URL: http://pmem.io/pmdk Source0: https://github.com/pmem/pmdk/releases/download/%%7Bupstreamversion%7D/pmdk-%... Patch0: 0001-test-py-add-require_free_space.patch Patch1: 0002-test-Fix-obj_zones-for-ppc64le.patch +Patch2: 0003-test-build-obj_defrag_advanced-with-some-optimizatio.patch
BuildRequires: gcc BuildRequires: make @@ -530,6 +531,7 @@ provided in the command line options to check whether files are in a consistent %setup -q -n pmdk-%{upstreamversion} %patch0 -p1 %patch1 -p1 +%patch2 -p1
%build
commit 0116788efd1a5e2e815514690a732290bb9b52fc Author: Marcin lusarz marcin.slusarz@intel.com Date: Tue Feb 25 19:04:33 2020 +0100
Add patch for timeouts on PPC64
diff --git a/0002-test-Fix-obj_zones-for-ppc64le.patch b/0002-test-Fix-obj_zones-for-ppc64le.patch new file mode 100644 index 0000000..19f4d54 --- /dev/null +++ b/0002-test-Fix-obj_zones-for-ppc64le.patch @@ -0,0 +1,38 @@ +From 0d72150d0f1e6d52c3b8888500fbcce64c751362 Mon Sep 17 00:00:00 2001 +From: "Lucas A. M. Magalhaes" lamm@linux.ibm.com +Date: Fri, 21 Feb 2020 09:40:28 -0300 +Subject: [PATCH] test: Fix obj_zones for ppc64le + +This test was timing out because of intensive page_fault +handling. By allocating more by each loop we minimize this +issue. + +Signed-off-by: Lucas A. M. Magalhaes lamm@linux.ibm.com +--- + src/test/obj_zones/obj_zones.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/test/obj_zones/obj_zones.c b/src/test/obj_zones/obj_zones.c +index c1d84268a..3cc796beb 100644 +--- a/src/test/obj_zones/obj_zones.c ++++ b/src/test/obj_zones/obj_zones.c +@@ -36,6 +36,7 @@ + */ + + #include <stddef.h> ++#include <page_size.h> + + #include "unittest.h" + +@@ -104,7 +105,7 @@ test_malloc_free(const char *path) + 0, S_IWUSR | S_IRUSR)) == NULL) + UT_FATAL("!pmemobj_create: %s", path); + +- size_t alloc_size = 128 * 1024; ++ size_t alloc_size = PMEM_PAGESIZE * 32; + size_t max_allocs = 1000000; + PMEMoid *oid = MALLOC(sizeof(PMEMoid) * max_allocs); + size_t n = 0; +-- +2.20.1 + diff --git a/nvml.spec b/nvml.spec index 6d988dc..79cba1b 100644 --- a/nvml.spec +++ b/nvml.spec @@ -39,6 +39,7 @@ URL: http://pmem.io/pmdk
Source0: https://github.com/pmem/pmdk/releases/download/%%7Bupstreamversion%7D/pmdk-%... Patch0: 0001-test-py-add-require_free_space.patch +Patch1: 0002-test-Fix-obj_zones-for-ppc64le.patch
BuildRequires: gcc BuildRequires: make @@ -528,6 +529,7 @@ provided in the command line options to check whether files are in a consistent %prep %setup -q -n pmdk-%{upstreamversion} %patch0 -p1 +%patch1 -p1
%build
arch-excludes@lists.fedoraproject.org