- Update to version 5.1.0:

* remove patches: 0001-ARM-Don-t-extend-bit-LG_VADDR-to-compute-high-addres.patch
  and 0001-remove-CPU_SPINWAIT.patch.
  New features:
    * Implement transparent huge page support for internal metadata. (@interwq)
    * Add opt.thp to allow enabling / disabling transparent huge pages for all mappings. (@interwq)
    * Add maximum background thread count option. (@djwatson)
    * Allow prof_active to control opt.lg_prof_interval and prof.gdump. (@interwq)
    * Allow arena index lookup based on allocation addresses via mallctl. (@lionkov)
    * Allow disabling initial-exec TLS model. (@davidtgoldblatt, @KenMacD)
    * Add opt.lg_extent_max_active_fit to set the max ratio between the size of the active extent selected (to split off from) and the size of the requested allocation. (@interwq, @davidtgoldblatt)
    * Add retain_grow_limit to set the max size when growing virtual address space. (@interwq)
    * Add mallctl interfaces:
    * arena.<i>.retain_grow_limit (@interwq)
    * arenas.lookup (@lionkov)
    * max_background_threads (@djwatson)
    * opt.lg_extent_max_active_fit (@interwq)
    * opt.max_background_threads (@djwatson)
    * opt.metadata_thp (@interwq)
    * opt.thp (@interwq)
    * stats.metadata_thp (@interwq)
  Portability improvements:
    * Support GNU/kFreeBSD configuration. (@paravoid)
    * Support m68k, nios2 and SH3 architectures. (@paravoid)
    * Fall back to FD_CLOEXEC when O_CLOEXEC is unavailable. (@zonyitoo)
    * Fix symbol listing for cross-compiling. (@tamird)
    * Fix high bits computation on ARM. (@davidtgoldblatt, @paravoid)
    * Disable the CPU_SPINWAIT macro for Power. (@davidtgoldblatt, @marxin)
    * Fix MSVC 2015 & 2017 builds. (@rustyx)
    * Improve RISC-V support. (@EdSchouten)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=58
This commit is contained in:
Martin Liška
2018-05-10 08:54:23 +00:00
committed by Git OBS Bridge
parent ad7eda2cb1
commit f5dccfaafc
6 changed files with 94 additions and 66 deletions

View File

@@ -18,15 +18,13 @@
%define lname libjemalloc2
Name: jemalloc
Version: 5.0.1
Version: 5.1.0
Release: 0
Summary: General-purpose scalable concurrent malloc implementation
License: BSD-2-Clause
Group: Development/Libraries/C and C++
Url: http://canonware.com/jemalloc/
Source: https://github.com/jemalloc/jemalloc/releases/download/%{version}/jemalloc-%{version}.tar.bz2
Patch0: 0001-remove-CPU_SPINWAIT.patch
Patch1: 0001-ARM-Don-t-extend-bit-LG_VADDR-to-compute-high-addres.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt
BuildRequires: pkg-config
@@ -68,8 +66,6 @@ malloc(3) implementation.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
export EXTRA_CFLAGS="%optflags -std=gnu99"