Skip to content
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
49 changes: 49 additions & 0 deletions coremark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"dependencies": {
"rhel": [
"bc",
"numactl",
"perf",
"unzip",
"make",
"sed",
"gawk",
"gcc",
"git",
"zip"
],
"ubuntu": [
"bc",
"numactl",
"unzip",
"make",
"sed",
"gawk",
"gcc",
"git",
"zip"
],
"amzn": [
"bc",
"numactl",
"perf",
"unzip",
"make",
"sed",
"gawk",
"gcc",
"git",
"zip"
],
"sles": [
"bc",
"libnuma1",
"perf",
"git",
"unzip",
"make",
"gcc",
"zip"
]
}
}
4 changes: 3 additions & 1 deletion coremark/coremark_run
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ ! -f "/tmp/${test_name}.out" ]; then
exit $rtc
fi

curdir=`pwd`
curdir=$(dirname $(realpath $0))
if [[ $0 == "./"* ]]; then
chars=`echo $0 | awk -v RS='/' 'END{print NR-1}'`
if [[ $chars == 1 ]]; then
Expand Down Expand Up @@ -406,6 +406,8 @@ fi
numb_cpus=`nproc`
pushd coremark > /dev/null

$curdir/test_tools/package_tool --no_packages $to_no_pkg_install --wrapper_config $curdir/../coremark.json

# Get PCP setup if we're using it
if [[ $to_use_pcp -eq 1 ]]; then
source $TOOLS_BIN/pcp/pcp_commands.inc
Expand Down
Loading