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 8, 2025
1 parent 3d1d6f4 commit cb6e121
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion jenkins/public_nightly.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library('utils@orfs-v2.2.2') _
@Library('utils@orfs-v2.2.3') _

node {

Expand Down
2 changes: 1 addition & 1 deletion jenkins/public_tests_all.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library('utils@orfs-v2.2.2') _
@Library('utils@orfs-v2.2.3') _

node {

Expand Down

0 comments on commit cb6e121

Please sign in to comment.