Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling tools update. #6854

Merged
merged 1 commit into from
Apr 29, 2021
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
13 changes: 12 additions & 1 deletion gperftools-toolfile.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external gperftools-toolfile 1.0
### RPM external gperftools-toolfile 2.0

Requires: gperftools

Expand Down Expand Up @@ -29,4 +29,15 @@ cat << \EOF_TOOLFILE >%{i}/etc/scram.d/tcmalloc.xml
</tool>
EOF_TOOLFILE

cat << \EOF_TOOLFILE >%{i}/etc/scram.d/gperf.xml
<tool name="gperf" version="@TOOL_VERSION@">
<lib name="profiler"/>
<client>
<environment name="GPERF_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$GPERF_BASE/lib"/>
</client>
<runtime name="PATH" value="$GPERF_BASE/bin" type="path"/>
</tool>
EOF_TOOLFILE

## IMPORT scram-tools-post
2 changes: 1 addition & 1 deletion gperftools.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external gperftools 2.7
### RPM external gperftools 2.9.1
Source: https://github.com/gperftools/gperftools/archive/gperftools-%{realversion}.tar.gz

BuildRequires: autotools
Expand Down
2 changes: 1 addition & 1 deletion igprof.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cmake ../igprof-%{git_commit} \
-DCMAKE_INSTALL_PREFIX=%i -DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-g -O3" \
-DCMAKE_PREFIX_PATH="$LIBUNWIND_ROOT;$PCRE_ROOT"
make %makeprocesses
make DEBUG=1 VERBOSE=1 %makeprocesses

%install
cd ../build
Expand Down
6 changes: 3 additions & 3 deletions libunwind.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### RPM external libunwind 1.4.0
%define tag 9a055a43bfc955658f88d21cf66386bfdd982c94
%define branch v1.4-stable
### RPM external libunwind 1.5
%define tag 4c980e2b29cdb9d21cfc341abdec3a6ee46e0483
%define branch v1.5-stable
Source0: git://github.com/%{n}/%{n}.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz
BuildRequires: autotools gmake

Expand Down