Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix order and add patchelf deps for slc7
- Loading branch information
Showing
5 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%define autogen_opts --enable-debug --enable-fill | ||
## INCLUDE jemalloc-common | ||
### RPM external jemalloc-debug %{jemalloc_version} | ||
%define autogen_opts --enable-debug --enable-fill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
# 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} | ||
%define autogen_opts --enable-prof --enable-prof-libunwind | ||
%define PreBuild \ | ||
export CXXFLAGS=-I$LIBUNWIND_ROOT/include \ | ||
export CFLAGS=-I$LIBUNWIND_ROOT/include \ | ||
export LDFLAGS=-L$LIBUNWIND_ROOT/lib | ||
Requires: libunwind | ||
## INCLUDE jemalloc-common | ||
### RPM external jemalloc-prof %{jemalloc_version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%define autogen_opts %{nil} | ||
## INCLUDE jemalloc-common | ||
### RPM external jemalloc %{jemalloc_version} | ||
%define autogen_opts %{nil} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
### RPM external patchelf 0.13 | ||
## NO_AUTO_RUNPATH | ||
|
||
%define git_branch master | ||
%define git_commit %{realversion} | ||
Source0: git://github.com/NixOS/patchelf.git?obj=%{git_branch}/%{git_commit}&export=patchelf-%{realversion}&output=/patchelf-%{realversion}.tgz | ||
BuildRequires: autotools gmake | ||
|
||
%define drop_files %{i}/share | ||
|
||
%prep | ||
%setup -n patchelf-%{realversion} | ||
|
||
%build | ||
|
||
./bootstrap.sh | ||
./configure --prefix=%{i} | ||
make %{makeprocesses} | ||
|
||
%install | ||
make install |