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

Add xrdcl-record package #7827

Merged
merged 6 commits into from
Apr 28, 2022
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
1 change: 1 addition & 0 deletions cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Requires: xerces-c
Requires: dcap
Requires: frontier_client
Requires: xrootd
Requires: xrdcl-record
Requires: dd4hep
Requires: valgrind
Requires: cmsswdata
Expand Down
6 changes: 6 additions & 0 deletions scram-tools.file/tools/xrdcl-record/xrdcl-record.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<tool name="xrdcl-record" version="@TOOL_VERSION@">
<client>
<environment name="XRDCL_RECORD_BASE" default="@TOOL_ROOT@"/>
</client>
iarspider marked this conversation as resolved.
Show resolved Hide resolved
<runtime name="XRDCL_RECORDER_PLUGIN" value="${XRDCL_RECORD_BASE}/lib64/libXrdClRecorder-5.so"/>
</tool>
23 changes: 23 additions & 0 deletions xrdcl-record.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### RPM external xrdcl-record 5.4.2
Source: https://github.com/xrootd/xrdcl-record/archive/refs/tags/v%{realversion}.tar.gz

BuildRequires: gmake cmake
Requires: xrootd

%prep
%setup -n %setup -q -n %{n}-%{realversion}

%build
rm -rf ../build; mkdir ../build ; cd ../build
cmake ../%{n}-%{realversion} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_PREFIX_PATH="${XROOTD_ROOT}" \
-DCMAKE_VERBOSE=1 \
-DCMAKE_CXX_FLAGS="-L${XROOTD_ROOT}/lib64"

gmake %{makeprocesses} VERBOSE=1

%install
cd ../build
gmake %{makeprocesses} install