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
29 changes: 29 additions & 0 deletions coremark_pro/coremark_pro-packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"dependencies": {
"amzn": [
"bc",
"gcc",
"git",
"perl-Data-Dumper",
"make"
],
"rhel": [
"bc",
"gcc",
"git",
"make"
],
"sles": [
"bc",
"gcc",
"git",
"make"
],
"ubuntu": [
"bc",
"gcc",
"git",
"make"
]
}
}
7 changes: 7 additions & 0 deletions coremark_pro/coremark_pro_run
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,13 @@ install_tools_git "$@"

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


# Install needed packages based on the wrapper's JSON file
${TOOLS_BIN}/package_tool --no_packages $to_no_pkg_install --wrapper_config ${run_dir}/coremark_pro-packages.json
if [[ $? -ne 0 ]]; then
exit_out "package_tool reported failure installing dependencies." 1
fi

ARGUMENT_LIST=(
"commit"
"test_iterations"
Expand Down
Loading