Skip to content

Commit

Permalink
Merge pull request #297 from shakthimaan/dev/allow-package-override-r…
Browse files Browse the repository at this point in the history
…emoval-for-custom-variant

Added dynamic package override and removal for Custom Support Variant
  • Loading branch information
shakthimaan authored Mar 2, 2022
2 parents fccf3ee + 6a08078 commit 79da00b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions run_all_custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ while [ $i -lt ${COUNT} ]; do
CONFIG_RUN_PARAMS=`jq -r '.['$i'].runparams // empty' "${CUSTOM_FILE}"`
CONFIG_ENVIRONMENT=`jq -r '.['$i'].environment // empty' "${CUSTOM_FILE}"`
CONFIG_EXPIRY=`jq -r '.['$i'].expiry // empty' "${CUSTOM_FILE}"`
CONFIG_OVERRIDE_PACKAGES=`jq -r '.['$i'].override_packages // empty' "${CUSTOM_FILE}"`
CONFIG_REMOVE_PACKAGES=`jq -r '.['$i'].remove_packages // empty' "${CUSTOM_FILE}"`
TAG_STRING=`echo \"${CONFIG_TAG}\"`

TIMESTAMP=$(date +%Y%m%d_%H%M%S)
Expand All @@ -94,6 +96,8 @@ while [ $i -lt ${COUNT} ]; do
OCAML_CONFIG_OPTION="`echo ${CONFIG_OPTIONS}`" \
OCAML_RUN_PARAM="`echo ${CONFIG_RUN_PARAMS}`" \
SANDMARK_CUSTOM_NAME="`echo ${CONFIG_NAME}`" \
SANDMARK_OVERRIDE_PACKAGES="`echo ${CONFIG_OVERRIDE_PACKAGES}`" \
SANDMARK_REMOVE_PACKAGES="`echo ${CONFIG_REMOVE_PACKAGES}`" \
make ocaml-versions/5.00.0+stable.bench > "${RESULTS_DIR}/${CONFIG_NAME}.${TIMESTAMP}.${COMMIT}.log" 2>&1
else
USE_SYS_DUNE_HACK=1 SANDMARK_URL="`echo ${CONFIG_URL}`" \
Expand All @@ -102,6 +106,8 @@ while [ $i -lt ${COUNT} ]; do
OCAML_CONFIG_OPTION="`echo ${CONFIG_OPTIONS}`" \
OCAML_RUN_PARAM="`echo ${CONFIG_RUN_PARAMS}`" \
SANDMARK_CUSTOM_NAME="`echo ${CONFIG_NAME}`" \
SANDMARK_OVERRIDE_PACKAGES="`echo ${CONFIG_OVERRIDE_PACKAGES}`" \
SANDMARK_REMOVE_PACKAGES="`echo ${CONFIG_REMOVE_PACKAGES}`" \
RUN_BENCH_TARGET=run_orunchrt \
BUILD_BENCH_TARGET=multibench_parallel \
make ocaml-versions/5.00.0+stable.bench > "${RESULTS_DIR}/${CONFIG_NAME}.${TIMESTAMP}.${COMMIT}.log" 2>&1
Expand Down

0 comments on commit 79da00b

Please sign in to comment.