|
@@ -1,5 +1,5 @@
|
|
|
Name: jemalloc
|
|
|
-Version: 4.2.1
|
|
|
+Version: 4.4.0
|
|
|
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: General-purpose scalable concurrent malloc implementation
|
|
@@ -15,12 +15,6 @@ Distribution: Vine Linux
|
|
|
Source0: https://github.com/jemalloc/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
-# ARMv5tel has no atomic operations
|
|
|
-Patch2: jemalloc-armv5-force-atomic.patch
|
|
|
-# RHEL5/POWER has no atomic operations
|
|
|
-Patch3: jemalloc-3.0.0.atomic_h_ppc_32bit_operations.patch
|
|
|
-Patch4: jemalloc-3.6.0.no_explicit_altivec.patch
|
|
|
-
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
%ifnarch s390
|
|
|
BuildRequires: valgrind-devel
|
|
@@ -42,14 +36,6 @@ developing applications that use %{name}.
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
-#% patch2 -p1 -b .armv5tel
|
|
|
-%ifarch ppc ppc64
|
|
|
-%if 0%{?rhel} == 5
|
|
|
-%patch3 -b .ppc
|
|
|
-%patch4 -b .ppc
|
|
|
-%endif
|
|
|
-%endif
|
|
|
-
|
|
|
%build
|
|
|
%ifarch i686
|
|
|
%if 0%{?fedora} >= 21
|
|
@@ -61,6 +47,9 @@ CFLAGS="%{optflags} -msse2"
|
|
|
export LDFLAGS="%{?__global_ldflags} -lrt"
|
|
|
%endif
|
|
|
|
|
|
+# disable Transparent HugePages on Vine Linux.
|
|
|
+perl -pi -e 's/je_cv_thp=yes/je_cv_thp=no/' configure
|
|
|
+
|
|
|
%configure
|
|
|
make %{?_smp_mflags}
|
|
|
%check
|
|
@@ -105,6 +94,9 @@ rm -rf %{buildroot}
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Dec 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Fri Jul 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.2.1-1
|
|
|
- new upstream release.
|
|
|
|