2007-01-16 00:22:07 +01:00
|
|
|
#
|
2008-01-15 10:01:42 +01:00
|
|
|
# spec file for package libhugetlbfs (Version 1.2)
|
2007-01-16 00:22:07 +01:00
|
|
|
#
|
2008-01-15 10:01:42 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:07 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: libhugetlbfs
|
|
|
|
BuildRequires: doxygen
|
2008-01-15 10:01:42 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:22:07 +01:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Summary: hugetlbfs helper library
|
2008-01-15 10:01:42 +01:00
|
|
|
Version: 1.2
|
|
|
|
Release: 1
|
|
|
|
Url: http://libhugetlbfs.sourceforge.net/
|
2007-01-16 00:22:07 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-01-15 10:01:42 +01:00
|
|
|
%define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
Source0: libhugetlbfs-1.2.tar.gz
|
2007-01-16 00:22:07 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
|
|
|
|
available to applications in a transparent manner.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Gibson <dwg@au1.ibm.com>
|
|
|
|
Adam Litke <agl@us.ibm.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2008-01-15 10:01:42 +01:00
|
|
|
make %{my_make_flags} libs $tests
|
2007-01-16 00:22:07 +01:00
|
|
|
|
|
|
|
%install
|
2008-01-15 10:01:42 +01:00
|
|
|
tests=
|
2007-01-16 00:22:07 +01:00
|
|
|
%ifarch ppc ppc64 %ix86 x86_64
|
|
|
|
tests=install-tests
|
|
|
|
%endif
|
2008-01-15 10:01:42 +01:00
|
|
|
make %{my_make_flags} install $tests
|
2007-01-16 00:22:07 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/include
|
|
|
|
cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include
|
2007-07-10 18:54:10 +02:00
|
|
|
chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a
|
2007-01-16 00:22:07 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc LGPL-2.1 HOWTO README NEWS
|
|
|
|
/usr/share/libhugetlbfs
|
|
|
|
/usr/include/*
|
|
|
|
%{_libdir}/lib*
|
|
|
|
|
2007-04-15 20:16:24 +02:00
|
|
|
%changelog
|
2008-01-15 10:01:42 +01:00
|
|
|
* Mon Jan 14 2008 - olh@suse.de
|
|
|
|
- update to version 1.2
|
|
|
|
New features
|
|
|
|
* Partial segment remapping. This allows non-relinked binaries to try
|
|
|
|
to take advantage of libhugetlbfs' segment remapping code. Large
|
|
|
|
segments are required, especially on Power. This feature is useful
|
|
|
|
for estimating huge page performance, however full relinking will
|
|
|
|
still perform better.
|
|
|
|
* Add extra debugging for binaries that may run out of address space.
|
|
|
|
* Log library version when HUGETLB_VERBOSE is enabled.
|
|
|
|
* New test to check handling of misaligned mmap() parameters.
|
|
|
|
Bug fixes
|
|
|
|
* Fix EH_FRAME segment. Fixes some C++ applications.
|
|
|
|
* Rework PLT detection to work better on Power.
|
|
|
|
* Add per-target-arch syscall stubs to the library. These provide
|
|
|
|
reliable error messages from elflink.c if they occur while the
|
|
|
|
program segments are unmapped.
|
|
|
|
* Add proper SONAME to shared libs.
|
|
|
|
* Makefile respects CFLAGS/LDFLAGS/CPPFLAGS environment variables.
|
|
|
|
* Make mlock() failure non-fatal.
|
2007-07-10 18:54:10 +02:00
|
|
|
* Sun Jul 08 2007 - olh@suse.de
|
|
|
|
- disable zero_filesize_segment test
|
2007-04-15 20:16:24 +02:00
|
|
|
* Sun Apr 15 2007 - olh@suse.de
|
|
|
|
- update to version 1.1 (262564 - LTC33711)
|
|
|
|
* Mon Feb 05 2007 - olh@suse.de
|
|
|
|
- update to 20070129 devel snapshot
|
|
|
|
drop hugetlbd
|
|
|
|
* Mon Feb 05 2007 - olh@suse.de
|
|
|
|
- build -m64/-m32 if required
|
2007-01-16 00:22:07 +01:00
|
|
|
* Sat Dec 09 2006 - olh@suse.de
|
|
|
|
- build with -g
|
|
|
|
make install should not depend on all
|
|
|
|
* Fri Dec 08 2006 - olh@suse.de
|
|
|
|
- package testsuite, fix make check
|
|
|
|
* Tue Dec 05 2006 - olh@suse.de
|
|
|
|
- add the hugetlbd (214426)
|
|
|
|
* Sun Oct 29 2006 - olh@suse.de
|
|
|
|
- update to bugfix release 1.0.1 (214426)
|
|
|
|
* Always install linker scripts for all targets
|
|
|
|
* Error message updates
|
|
|
|
* Add documentation on HUGETLB_DEBUG
|
|
|
|
* Testcase updates
|
|
|
|
* Thu Oct 05 2006 - olh@suse.de
|
|
|
|
- update to final 1.0
|
|
|
|
* Tue Sep 19 2006 - olh@suse.de
|
|
|
|
- update to 20060913 git state
|
|
|
|
docu updates
|
|
|
|
use library versioning
|
|
|
|
* Wed Jul 19 2006 - olh@suse.de
|
|
|
|
- update to 1.0-pre3
|
|
|
|
* Tue Apr 18 2006 - olh@suse.de
|
|
|
|
- drop unneeded -packages from Buildrequires
|
|
|
|
* Sat Apr 08 2006 - olh@suse.de
|
|
|
|
- update to 1.0-pre2 (#142046 - LTC20562)
|
|
|
|
* Tue Feb 21 2006 - olh@suse.de
|
|
|
|
- remove backup files
|
|
|
|
* Tue Feb 21 2006 - olh@suse.de
|
|
|
|
- add linker scripts on ppc, ppc64, i386 and x86_64
|
|
|
|
* Thu Feb 09 2006 - olh@suse.de
|
|
|
|
- create package, version 1.0-pre1 (#142046 - LTC20562)
|