Skip to content

Commit 9f82dce

Browse files
authored
Merge pull request #10 from redhat-performance/packaging_update
Adds a call to the package_tool utility, so the wrapper installs the required packages.
2 parents 96b21eb + 4ecd461 commit 9f82dce

File tree

3 files changed

+64
-1
lines changed

3 files changed

+64
-1
lines changed

numa_streams/numa_streams.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"dependencies": {
3+
"amzn": [
4+
"git",
5+
"gcc",
6+
"bc",
7+
"zip",
8+
"unzip",
9+
"numactl",
10+
"wget",
11+
"gcc-c++",
12+
"autoconf",
13+
"hwloc",
14+
"hwloc-gui",
15+
"libomp"
16+
],
17+
"rhel": [
18+
"git",
19+
"gcc",
20+
"bc",
21+
"perf",
22+
"zip",
23+
"unzip",
24+
"numactl",
25+
"wget",
26+
"gcc-c++",
27+
"autoconf",
28+
"hwloc",
29+
"hwloc-gui",
30+
"libomp"
31+
],
32+
"sles": [
33+
"git",
34+
"gcc",
35+
"make",
36+
"bc",
37+
"perf",
38+
"unzip",
39+
"zip",
40+
"libnuma1",
41+
"numactl"
42+
],
43+
"ubuntu": [
44+
"git",
45+
"bc",
46+
"zip",
47+
"unzip",
48+
"numactl",
49+
"libnuma-dev",
50+
"g++",
51+
"autoconf",
52+
"hwloc",
53+
"libomp5-20"
54+
],
55+
"pip": [
56+
]
57+
}
58+
}

numa_streams/numa_streams_extra/run_numa_stream

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ setup_sizing()
206206

207207
install_numa_streams()
208208
{
209-
dnf install wget gcc gcc-c++ autoconf hwloc hwloc-gui libomp -y
210209
git clone https://github.com/jemalloc/jemalloc.git
211210
pushd jemalloc > /dev/null
212211
./autogen.sh

numa_streams/numa_streams_run

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,12 @@ if [ ! -f "/tmp/${test_name}.out" ]; then
367367
exit $?
368368
fi
369369

370+
${TOOLS_BIN}/package_tool --wrapper_config ${run_dir}/numa_streams.json --no_packages $to_no_pkg_install
371+
if [[ $? -ne 0 ]]; then
372+
echo Error: Package installation using ${TOOLS_BIN}/package_tool was unsuccessful.
373+
exit 1
374+
fi
375+
370376
#
371377
# Define user options
372378
#

0 commit comments

Comments
 (0)