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

[12.3.X] Add xrdcl-record package #7830

Merged
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 @@ -84,6 +84,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
@@ -0,0 +1,6 @@
<tool name="xrdcl-record" version="@TOOL_VERSION@">
<client>
<environment name="XRDCL_RECORD_BASE" default="@TOOL_ROOT@"/>
</client>
<runtime name="XRDCL_RECORDER_PLUGIN" value="${XRDCL_RECORD_BASE}/lib64/libXrdClRecorder-5.so"/>
</tool>
23 changes: 23 additions & 0 deletions xrdcl-record.spec
@@ -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