Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jemalloc-common.file
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%define jemalloc_version 5.2.1
%define tag de1caefb587217f0b519eb425d7a9b3570e5ba28
%define jemalloc_version 5.3.0
%define tag 54eaed1d8b56b1aa528be3bdd1877e59c56fa90c
%define branch cms/%{realversion}
%define github_user cms-externals
Source: git+https://github.com/%{github_user}/jemalloc.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz
Expand Down
13 changes: 6 additions & 7 deletions jemalloc-debug.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
### RPM external jemalloc-debug %{jemalloc_version}

%build
# Disable documentation (not needed)
sed -ibak 's/install: install_bin install_include install_lib install_doc/install: install_bin install_include install_lib/' Makefile.in
./autogen.sh

./configure \
./autogen.sh \
--enable-shared \
--disable-static \
--disable-doc \
--enable-stats \
--prefix %{i} \
--enable-debug \
--enable-fill
--enable-fill \
--prefix %{i}

%post
%{relocateConfig}bin/jemalloc.sh
Expand Down
5 changes: 4 additions & 1 deletion jemalloc-prof.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# any "Requires" must come before "## INCLUDE jemalloc-common"
# to make sure they are declared before the "%prep" section defined there
Requires: libunwind
## INCLUDE jemalloc-common
### RPM external jemalloc-prof %{jemalloc_version}
Expand All @@ -7,7 +9,8 @@ export CXXFLAGS=-I$LIBUNWIND_ROOT/include
export CFLAGS=-I$LIBUNWIND_ROOT/include
export LDFLAGS=-L$LIBUNWIND_ROOT/lib

./autogen.sh --enable-shared \
./autogen.sh \
--enable-shared \
--disable-static \
--disable-doc \
--enable-stats \
Expand Down
4 changes: 2 additions & 2 deletions jemalloc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
### RPM external jemalloc %{jemalloc_version}

%build

./autogen.sh --enable-shared \
./autogen.sh \
--enable-shared \
--disable-static \
--disable-doc \
--enable-stats \
Expand Down