Skip to content

Commit 8d5d1a6

Browse files
authored
EMTF NN v1 (#10129)
* EMTF NN v1 * adding xml definition and cmssw dependency * build version increment * change for build
1 parent da37195 commit 8d5d1a6

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

EMTF_NN.spec

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### RPM external EMTF_NN 1.0.0
2+
Source: https://github.com/cms-hls4ml/%{n}/archive/refs/tags/v%{realversion}.tar.gz
3+
Requires: hls4mlEmulatorExtras hls
4+
BuildRequires: gmake
5+
6+
%prep
7+
%setup -n %{n}-%{realversion}
8+
9+
%build
10+
make %{makeprocesses} EMULATOR_EXTRAS=${HLS4MLEMULATOREXTRAS_ROOT} HLS_ROOT=${HLS_ROOT}
11+
12+
%install
13+
make PREFIX=%{i} install
14+

cmssw-tools.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### RPM cms cmssw-tools 3.0
1+
### RPM cms cmssw-tools 4.0
22
# With cmsBuild, change the above version only when a new tool is added
33

44
## INSTALL_DEPENDENCIES cmsLHEtoEOSManager gcc-fixincludes cms-cat cmssw-osenv cms-git-tools SCRAMV2
@@ -56,6 +56,7 @@ Requires: jemalloc-debug
5656
Requires: jemalloc-prof
5757
Requires: json
5858
Requires: ktjet
59+
Requires: EMTF_NN
5960
Requires: L1METML
6061
Requires: L1TSC4NGJetModel
6162
Requires: lhapdf
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<tool name="@TOOL@" version="@TOOL_VERSION@" revision="1">
2+
<client>
3+
<environment name="@TOOL_BASE@" default="@TOOL_ROOT@"/>
4+
<environment name="LIBDIR" default="@TOOL_BASE@/lib64"/>
5+
</client>
6+
</tool>

0 commit comments

Comments
 (0)