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

Add TOoLLiP extra #8906

Merged
merged 2 commits into from
Dec 23, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions TOoLLiP.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### RPM external TOoLLiP 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 58.0
### RPM cms cmssw-tool-conf 59.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 @@ -96,6 +96,7 @@ Requires: hls
Requires: opencv
Requires: grpc
Requires: onnxruntime
Requires: TOoLLiP
Requires: triton-inference-client
Requires: hdf5
Requires: yaml-cpp
Expand Down
6 changes: 6 additions & 0 deletions scram-tools.file/tools/TOoLLiP/toollip.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<tool name="toollip" version="@TOOL_VERSION@">
<client>
<environment name="TOOLLIP_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$TOOLLIP_BASE/lib64"/>
</client>
</tool>