Hello community, here is the log from the commit of package nvml for openSUSE:Factory checked in at 2017-07-21 22:49:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nvml (Old) and /work/SRC/openSUSE:Factory/.nvml.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvml" Fri Jul 21 22:49:37 2017 rev:9 rq:511425 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/nvml/nvml.changes 2017-07-07 10:17:58.681999054 +0200 +++ /work/SRC/openSUSE:Factory/.nvml.new/nvml.changes 2017-07-21 22:49:40.594381121 +0200 @@ -1,0 +2,60 @@ +Tue Jul 18 13:58:55 UTC 2017 - [email protected] + +- Update to upstream version 1.3 (FATE#322653) + This release introduces some useful features and optimizations + in libpmemobj. Most of them are experimental and controlled by + the new pmemobj_ctl APIs. For details, please check the feature + requests identified by the issue numbers listed next to the items below. + + Other important changes are related to performance tuning and + stabilization of librpmem library, which is used by libpmemobj to get + remote access to persistent memory and to provide basic data replication + over RDMA. The librpmem is still considered experimental. + + New features: + - common: add support for concatenated DAX Devices + - common: add Unicode support on Windows + - common: add long path support on Windows + - common: add NVML installer for Windows + - pmem: make pmem_is_pmem() true for Device DAX only + - obj: add pmemobj_wcsdup()/pmemobj_tx_wcsdup() APIs + - obj: export non-inlined pmemobj_direct() + - obj: add PMEMOBJ_NLANES env variable + - cpp: introduce the allocator + - cpp: add wstring version of C++ entry points + - vmem: add vmem_wcsdup() API entry + - pool: add pmempool_rm() function (#307) + - pool: add --force flag for create command (#529) + - benchmark: add a minimal execution time option + - benchmark: add thread affinity option + - benchmark: print 99% and 99.9% percentiles + - doc: separate Linux/Windows version of web-based man pages + + Optimizations: + - obj: cache _pobj_cached_pool in pmemobj_direct() + - obj: optimize thread utilization of buckets + - obj: stop grabbing a lock when querying pool ptr + - rpmem: use multiple endpoints + + Bug fixes: + - common: fix issues reported by static code analyzers + - pmem: fix mmap() implementation on Windows + - pmem: fix mapping addr/length alignment on Windows + - pmem: fix PMEM_MMAP_HINT implementation on Windows + - pmem: fix pmem_is_pmem() on invalid memory ranges + - pmem: fix wrong is_pmem returned by pmem_map_file() + - pmem: fix mprotect() for private mappings on Windows + - pmem: modify pmem_is_pmem() behavior for len==0 + - obj: add failsafe to prevent allocs in constructor + - cpp: fix swap implementation + - cpp: fix sync primitives' constructors + - cpp: fix wrong pointer type in the allocator + - cpp: return persistent_ptr::swap to being public + - pool: treat invalid answer as 'n' + - pool: unify flags value for dry run + - pool: transform for remote replicas + - rpmem: persistency method detection + - benchmark: fix time measurement +- Prevent debug libraries from providing symbols + +------------------------------------------------------------------- Old: ---- nvml-1.2.3.tar.gz New: ---- nvml-1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nvml.spec ++++++ --- /var/tmp/diff_new_pack.gRsQL0/_old 2017-07-21 22:49:41.274285212 +0200 +++ /var/tmp/diff_new_pack.gRsQL0/_new 2017-07-21 22:49:41.278284647 +0200 @@ -16,10 +16,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%if 0%{suse_version} > 1315 +%define with_fabric 1 +%endif + +%define min_libfabric_ver 1.4.2 Name: nvml -Version: 1.2.3 -Release: 1 +Version: 1.3 +Release: 0 Summary: Non-Volatile Memory Library License: BSD-3-Clause Group: Development/Libraries/C and C++ @@ -32,6 +37,9 @@ BuildRequires: fdupes BuildRequires: man BuildRequires: pkg-config +%if 0%{?with_fabric} +BuildRequires: libfabric-devel >= %min_libfabric_ver +%endif Patch0: build-fix.patch BuildRoot: %_tmppath/%name-%version-build @@ -44,6 +52,9 @@ # memory. ExclusiveArch: x86_64 +# Debug variants of the libraries should be filtered out of the provides. +%global __provides_exclude_from ^%{_libdir}/nvml_debug/.*\\.so.*$ + %description The NVM Library is a collection of libraries for using memory-mapped persistence, optimized specifically for persistent memory. @@ -221,6 +232,43 @@ analysis, diagnostics and repair of persistent memory pools created by libpmemlog, libpemblk and libpmemobj libraries. +%if 0%{?with_fabric} +%package -n librpmem1 +Summary: Remote Access to Persistent Memory library +Group: System/Libraries +#Manual dependency to make sure libfabric is at least in this version +Requires: libfabric >= %{min_libfabric_ver} +Requires: openssh + +%description -n librpmem1 +The librpmem library provides low-level support for remote access +to persistent memory utilizing RDMA-capable NICs. It can be used +to replicate peristent memory regions over RDMA protocol. + +%package -n librpmem-devel +Summary: Development files for the Remote Access to Persistent Memory library +Group: Development/Libraries/C and C++ +Requires: librpmem1 = %{version} + +%description -n librpmem-devel +The librpmem library provides low-level support for remote access +to persistent memory utilizing RDMA-capable NICs. It can be used +to replicate peristent memory regions over RDMA protocol. + +This sub-package contains libraries and header files for developing +applications that want to specifically make use of librpmem. + +%package -n rpmemd +Group: System Environment/Base +Summary: Target node process executed by librpmem +#Manual dependency to make sure libfabric is at least in this version +Requires: libfabric >= %{min_libfabric_ver} + +%description -n rpmemd +The rpmemd process is executed on a target node by librpmem library +and facilitates access to persistent memory over RDMA. +%endif #with_fabric + %prep %setup -q %patch0 -p1 @@ -235,7 +283,11 @@ EXTRA_CFLAGS_RELEASE="%optflags" \ EXTRA_CFLAGS_DEBUG="%optflags -Wp,-U_FORTIFY_SOURCE -O0" \ EXTRA_CXXFLAGS="%optflags" \ -make %{?_smp_mflags} BINDIR="%_bindir" +make %{?_smp_mflags} BINDIR="%_bindir" \ +%if 0%{?with_fabric} + BUILD_RPMEM=y \ +%endif + NORPATH=1 # Override LIB_AR with empty string to skip installation of static libraries %install @@ -271,6 +323,11 @@ %post -n libpmempool1 -p /sbin/ldconfig %postun -n libpmempool1 -p /sbin/ldconfig +%if 0%{?with_fabric} +%post -n librpmem1 -p /sbin/ldconfig +%postun -n librpmem1 -p /sbin/ldconfig +%endif + %files %defattr(-,root,root) %_datadir/nvml/ @@ -381,4 +438,26 @@ %_includedir/libpmemobj++/ %_docdir/libpmemobj++-devel/ +%if 0%{?with_fabric} +%files -n librpmem1 +%defattr(-,root,root,-) +%_libdir/librpmem.so.* +%license LICENSE +%doc ChangeLog CONTRIBUTING.md README.md + +%files -n librpmem-devel +%defattr(-,root,root,-) +%_libdir/librpmem.so +%_libdir/pkgconfig/librpmem.pc +%dir %_libdir/nvml_debug +%_libdir/nvml_debug/librpmem.so* +%_includedir/librpmem.h +%_mandir/man3/librpmem.3.gz +%license LICENSE +%doc ChangeLog CONTRIBUTING.md README.md + +%files -n rpmemd +%_bindir/rpmemd +%_mandir/man1/rpmemd.1.gz +%endif #with_fabric %changelog ++++++ nvml-1.2.3.tar.gz -> nvml-1.3.tar.gz ++++++ ++++ 197437 lines of diff (skipped)
