Skip to content

Commit c6f0034

Browse files
artlbvsmuzaffar
andauthored
Add TOPO package for L1 HLS4ML NN Emulator (#10146)
* add TOPO spec * add TOP spec * Remove summary and license from TOPO.spec Removed summary and license information from TOPO.spec * Use generic keywords in xml Co-authored-by: Malik Shahzad Muzaffar <[email protected]> * Remove Source line from TOPO.spec Removed unnecessary Source line from TOPO.spec * Use main branch for the source * use latest commit from the main branch Updated source URL format and added tag definition. * Update topo.xml --------- Co-authored-by: Malik Shahzad Muzaffar <[email protected]>
1 parent 8fbf680 commit c6f0034

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

TOPO.spec

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### RPM external TOPO 0.1.0
2+
# to be used in future Source: https://github.com/cms-hls4ml/%{n}/archive/refs/tags/v%{realversion}.tar.gz
3+
%define tag 1e9a692ccfa92cee5a87bbc94eb902b9f560870b
4+
Source: git+https://github.com/cms-hls4ml/%{n}.git?obj=main/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz
5+
Requires: hls4mlEmulatorExtras hls
6+
BuildRequires: gmake
7+
8+
%prep
9+
%setup -n %{n}-%{realversion}
10+
11+
%build
12+
make %{?_smp_mflags} EMULATOR_EXTRAS=${HLS4MLEMULATOREXTRAS_ROOT} HLS_ROOT=${HLS_ROOT}
13+
14+
%install
15+
make PREFIX=%{i} install

cmssw-tools.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## UPLOAD_DEPENDENCIES dqmgui
66

77
Requires: AXOL1TL
8+
Requires: TOPO
89
Requires: CICADA
910
Requires: OpenBLAS
1011
Requires: celeritas
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)