Skip to content

Commit

Permalink
Merge pull request #7830 from cms-sw/backport-IB_CMSSW_12_3_X_master-…
Browse files Browse the repository at this point in the history
…7827

[12.3.X] Add xrdcl-record package
  • Loading branch information
smuzaffar committed Apr 28, 2022
2 parents b69cbc2 + 51a6d68 commit 14625cb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
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

0 comments on commit 14625cb

Please sign in to comment.