Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#2659 from vvbandeira/at-ci-op…
Browse files Browse the repository at this point in the history
…tional

ci: enable AutoTuner CI
  • Loading branch information
vvbandeira authored Jan 9, 2025
2 parents 227d694 + cb6e121 commit e1e016f
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('[email protected].2') _
@Library('[email protected].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('[email protected].2') _
@Library('[email protected].3') _

node {

Expand Down

0 comments on commit e1e016f

Please sign in to comment.