Skip to content

Commit

Permalink
Merge pull request #7396 from cms-sw/jemalloc-common-src
Browse files Browse the repository at this point in the history
Use same soruces for jemalloc and jemalloc-debug
  • Loading branch information
smuzaffar authored Oct 19, 2021
2 parents b47987f + 17e8689 commit 3f83e21
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 22 deletions.
9 changes: 9 additions & 0 deletions jemalloc-common.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
%define jemalloc_version 5.2.1
%define tag de1caefb587217f0b519eb425d7a9b3570e5ba28
%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
BuildRequires: autotools

%prep
%setup -n %{n}-%{realversion}
13 changes: 2 additions & 11 deletions jemalloc-debug.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
### RPM external jemalloc-debug 4.5.0

%define tag %{realversion}
%define branch master
%define github_user jemalloc
Source: git+https://github.com/%{github_user}/jemalloc.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz

BuildRequires: autotools

%prep
%setup -n %{n}-%{realversion}
## INCLUDE jemalloc-common
### RPM external jemalloc-debug %{jemalloc_version}

%build
# Disable documentation (not needed)
Expand Down
13 changes: 2 additions & 11 deletions jemalloc.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
### RPM external jemalloc 5.2.1

%define tag de1caefb587217f0b519eb425d7a9b3570e5ba28
%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

BuildRequires: autotools

%prep
%setup -n %{n}-%{realversion}
## INCLUDE jemalloc-common
### RPM external jemalloc %{jemalloc_version}

%build

Expand Down

0 comments on commit 3f83e21

Please sign in to comment.