Skip to content

Commit

Permalink
ci: enable AutoTuner CI
Browse files Browse the repository at this point in the history
This will only affect PRs that have the label "AutoTunerCI" or the
branch name has the prefix "at-"

This reverts commit 1ce1760.

Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Jan 7, 2025
1 parent b9e0081 commit 26942dd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion flow/test/test_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,25 @@ if [ $ret -eq 0 ] && grep -q 'power:' <(echo $TARGETS); then
ret=$(( ret + $? ))
fi

if [[ -n "${RUN_AUTOTUNER+x}" ]] && [[ ${RUN_AUTOTUNER} -eq 1 ]]; then
# Run Autotuner CI specifically for gcd on selected platforms.
if [ -z "${RUN_AUTOTUNER+x}" ]; then
RUN_AUTOTUNER=0
fi
case $DESIGN_NAME in
"gcd")
RUN_AUTOTUNER=1
;;
esac
case $PLATFORM in
"asap7" | "sky130hd" | "ihp-sg13g2" )
# Keep RUN_AUTOTUNER enabled only for these platforms
;;
*)
RUN_AUTOTUNER=0
;;
esac

if [ $RUN_AUTOTUNER -eq 1 ]; then
# run the commands in ORFS root dir
echo "[INFO FLW-0029] Installing dependencies in virtual environment."
cd ../
Expand Down

0 comments on commit 26942dd

Please sign in to comment.