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

[10.6] Include libunwind-toolfile #6135

Merged
merged 1 commit into from Aug 4, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions cmssw-tool-conf.spec
Expand Up @@ -166,6 +166,7 @@ Requires: openldap-toolfile
Requires: gperftools-toolfile

%if %isnotppc64le_be
Requires: libunwind-toolfile
Requires: igprof-toolfile
Requires: cuda-toolfile
Requires: cub-toolfile
Expand Down
23 changes: 23 additions & 0 deletions libunwind-toolfile.spec
@@ -0,0 +1,23 @@
### RPM external libunwind-toolfile 1.0
Requires: libunwind
%prep

%build

%install

mkdir -p %i/etc/scram.d
cat << \EOF_TOOLFILE >%i/etc/scram.d/libunwind.xml
<tool name="libunwind" version="@TOOL_VERSION@">
<lib name="unwind"/>
<client>
<environment name="LIBUNWIND_BASE" default="@TOOL_ROOT@"/>
<environment name="INCLUDE" default="$LIBUNWIND_BASE/include"/>
<environment name="LIBDIR" default="$LIBUNWIND_BASE/lib"/>
</client>
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/>
<use name="root_cxxdefaults"/>
</tool>
EOF_TOOLFILE

## IMPORT scram-tools-post