-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8307 from cms-sw/hls4mlemulatorextras
Added CICADA and hls4mlEmulatorExtras specs
- Loading branch information
Showing
5 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### RPM external CICADA 1.1.1 | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### RPM external hls4mlEmulatorExtras 1.1.1 | ||
Source: https://github.com/cms-hls4ml/%{n}/archive/refs/tags/v%{realversion}.tar.gz | ||
BuildRequires: gmake | ||
|
||
%prep | ||
%setup -n %{n}-%{realversion} | ||
|
||
%build | ||
make %{makeprocesses} | ||
|
||
%install | ||
make PREFIX=%{i} install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<tool name="cicada" version="@TOOL_VERSION@"> | ||
<client> | ||
<environment name="CICADA_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="LIBDIR" default="$CICADA_BASE/lib64"/> | ||
</client> | ||
</tool> |
9 changes: 9 additions & 0 deletions
9
scram-tools.file/tools/hls4mlEmulatorExtras/hls4mlemulatorextras.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<tool name="hls4mlemulatorextras" version="@TOOL_VERSION@"> | ||
<lib name="emulator_interface"/> | ||
<use name="sockets"/> | ||
<client> | ||
<environment name="HLS4MLEMULATOREXTRAS_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="INCLUDE" default="$HLS4MLEMULATOREXTRAS_BASE/include"/> | ||
<environment name="LIBDIR" default="$HLS4MLEMULATOREXTRAS_BASE/lib64"/> | ||
</client> | ||
</tool> |