Skip to content

Commit

Permalink
add l1metml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte committed Dec 20, 2023
1 parent 7f70b6e commit 3110e9a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
14 changes: 14 additions & 0 deletions L1METML.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### RPM external L1METML 1.0.0
Source: https://github.com/cms-hls4ml/%{n}/archive/refs/tags/v%{realversion}.tar.gz
Requires: hls4mlEmulatorExtras hls
BuildRequires: gmake

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

%build
make %{makeprocesses} EMULATOR_EXTRAS=${HLS4MLEMULATOREXTRAS_ROOT} HLS_ROOT=${HLS_ROOT}

%install
make PREFIX=%{i} install

3 changes: 2 additions & 1 deletion cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM cms cmssw-tool-conf 57.0
### RPM cms cmssw-tool-conf 58.0
# With cmsBuild, change the above version only when a new tool is added

## INSTALL_DEPENDENCIES cmsLHEtoEOSManager gcc-fixincludes cmssw-osenv cms-git-tools SCRAMV2
Expand Down Expand Up @@ -54,6 +54,7 @@ Requires: jemalloc-debug
Requires: jemalloc-prof
Requires: json
Requires: ktjet
Required: L1METML
Requires: lhapdf
Requires: libjpeg-turbo
Requires: libpng
Expand Down
6 changes: 6 additions & 0 deletions scram-tools.file/tools/L1METML/l1metml.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<tool name="l1metml" version="@TOOL_VERSION@">
<client>
<environment name="L1METML_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$L1METML_BASE/lib64"/>
</client>
</tool>

0 comments on commit 3110e9a

Please sign in to comment.