Skip to content

Commit cb2c8dc

Browse files
authored
Merge pull request #39 from redhat-performance/package_update
Add packaging support
2 parents d203324 + 83ca5b8 commit cb2c8dc

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

speccpu2017/run_speccpu

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@ fi
266266

267267
source ${curdir}/test_tools/general_setup "$@"
268268

269+
${TOOLS_BIN}/package_tool --wrapper_config ${run_dir}/speccpu2017.json --no_packages $to_no_pkg_install
270+
if [[ $? -ne 0 ]]; then
271+
echo Package installation using ${TOOLS_BIN}/package_tool was unsuccessful.
272+
exit 1
273+
fi
274+
269275
# Define options
270276
#
271277
ARGUMENT_LIST=(

speccpu2017/speccpu2017.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"dependencies": {
3+
"amzn": [
4+
"bc",
5+
"libnsl",
6+
"gcc-gfortran",
7+
"nvme-cli",
8+
"perf",
9+
"git",
10+
"unzip",
11+
"zip",
12+
"libxcrypt-compat"
13+
],
14+
"rhel": [
15+
"bc",
16+
"libnsl",
17+
"gcc-gfortran",
18+
"nvme-cli",
19+
"perf",
20+
"git",
21+
"unzip",
22+
"zip",
23+
"libxcrypt-compat"
24+
],
25+
"sles": [
26+
"gcc",
27+
"make",
28+
"gcc-fortran",
29+
"gcc-c++",
30+
"bc",
31+
"git",
32+
"unzip",
33+
"zip"
34+
],
35+
"ubuntu": [
36+
"bc",
37+
"zip",
38+
"unzip",
39+
"git",
40+
"gfortran",
41+
"g++",
42+
"gcc"
43+
],
44+
"pip": [
45+
]
46+
}
47+
}

0 commit comments

Comments
 (0)