- update to 2.22:

* Library now verifies if slices are supported on PPC
  * ld.hugetlbfs now supports multiple page sizes on PPC64
  * Various GCC warning cleanups
  * setup script converted to Python 3
  * Tests are only run on online CPUs and only if a sufficient number are
  available
  * task-size-overrun now searches empty address space more efficiently
  * Tests that do not link the library are run for default page sizes only
  * Test runner now uses Python 3
- remove libhugetlbfs_fix_tests.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=56
This commit is contained in:
Dirk Mueller 2020-08-17 13:52:25 +00:00 committed by Git OBS Bridge
parent 888b8fc311
commit 02511ba8eb
5 changed files with 23 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2aa61ed78c8debdcff17918d171f1cba9b738f8c1b1125539b68fea1b4e0a05a
size 134376

3
libhugetlbfs-2.22.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94dca9ea2c527cd77bf28904094fe4708865a85122d416bfccc8f4b73b9a6785
size 174012

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Aug 17 13:48:04 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 2.22:
* Library now verifies if slices are supported on PPC
* ld.hugetlbfs now supports multiple page sizes on PPC64
* Various GCC warning cleanups
* setup script converted to Python 3
* Tests are only run on online CPUs and only if a sufficient number are
available
* task-size-overrun now searches empty address space more efficiently
* Tests that do not link the library are run for default page sizes only
* Test runner now uses Python 3
- remove libhugetlbfs_fix_tests.patch (upstream)
-------------------------------------------------------------------
Mon Oct 1 13:52:36 UTC 2018 - egotthold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libhugetlbfs
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,24 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot}
Name: libhugetlbfs
Version: 2.21
Version: 2.22
Release: 0
Summary: Helper library for the Huge Translation Lookaside Buffer Filesystem
License: LGPL-2.1-or-later
Group: System/Libraries
Url: https://github.com/libhugetlbfs/libhugetlbfs
Source0: %{name}-%{version}.tar.xz
URL: https://github.com/libhugetlbfs/libhugetlbfs
Source0: https://github.com/libhugetlbfs/libhugetlbfs/releases/download/%{version}/libhugetlbfs-%{version}.tar.gz
Source1: baselibs.conf
Patch2: libhugetlbfs.s390.patch
Patch4: libhugetlbfs.tests-malloc.patch
Patch7: libhugetlbfs_ia64_fix_missing_test.patch
Patch8: libhugetlbfs_fix_tests.patch
Patch14: disable-rw-on-non-ldscripts.diff
Patch15: zero_filesize_segment.patch
BuildRequires: doxygen
@ -65,7 +64,6 @@ The testsuite for libhugetlbfs. Binaries can be found in
%patch2 -p1
%patch4 -p1
%patch7 -p1
%patch8 -p1
%patch14
%patch15 -p1

View File

@ -1,17 +0,0 @@
References: bnc#706891
Signed-off-by: Thomas Renninger <trenn@suse.de>
Index: libhugetlbfs-2.21/tests/run_tests.py
===================================================================
--- libhugetlbfs-2.21.orig/tests/run_tests.py
+++ libhugetlbfs-2.21/tests/run_tests.py
@@ -236,7 +236,7 @@ def get_pagesizes():
"""
sizes = set()
out = ""
- (rc, out) = bash("../obj/hugeadm --page-sizes")
+ (rc, out) = bash("hugeadm --page-sizes")
if rc != 0 or out == "": return sizes
for size in out.split("\n"): sizes.add(int(size))