File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,12 +28,13 @@ RUN mkdir -p /usr/local/bin/wrapped-cc && \
2828
2929ENV PATH="/usr/local/bin/wrapped-cc:$PATH"
3030
31- RUN ./DependencyInstaller.sh -base $options $constantBuildDir \
32- && ./DependencyInstaller.sh -common $options $constantBuildDir \
31+ RUN ./DependencyInstaller.sh -all $options $constantBuildDir \
3332 && rm -rf /tmp/installer /tmp/* /var/tmp/* /var/lib/apt/lists/*
3433
3534ARG fromImage
3635
3736RUN echo "$fromImage" | grep -q "ubuntu" && \
3837 strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so || \
3938 echo "Skipping strip command as fromImage does not contain 'ubuntu'"
39+
40+ WORKDIR /OpenROAD-flow-scripts
Original file line number Diff line number Diff line change @@ -13,8 +13,11 @@ if [ $# -ge 4 ]; then
1313fi
1414TARGET=${5:- ' finish metadata' }
1515DESIGN_CONFIG=./designs/$PLATFORM /$DESIGN_NAME /$CONFIG_MK
16- LOG_FILE=./logs/$PLATFORM /$DESIGN_NAME .log
17- mkdir -p " ./logs/$PLATFORM "
16+ if [ -z " ${WORK_HOME+x} " ]; then
17+ WORK_HOME=.
18+ fi
19+ LOG_FILE=${WORK_HOME} /logs/$PLATFORM /$DESIGN_NAME .log
20+ mkdir -p " ${WORK_HOME} /logs/$PLATFORM "
1821
1922__make=" make DESIGN_CONFIG=$DESIGN_CONFIG "
2023if [ -n " ${FLOW_VARIANT+x} " ]; then
@@ -83,38 +86,4 @@ if [ $ret -eq 0 ] && grep -q 'power:' <(echo $TARGETS); then
8386fi
8487set -x
8588
86- # Run Autotuner CI specifically for gcd on selected platforms.
87- if [ -z " ${RUN_AUTOTUNER+x} " ]; then
88- echo " RUN_AUTOTUNER not set, disable AT test."
89- RUN_AUTOTUNER=" false"
90- fi
91-
92- if [ " ${RUN_AUTOTUNER} " == " true" ]; then
93- case $DESIGN_NAME in
94- " gcd" )
95- # Keep RUN_AUTOTUNER enabled only for these designs
96- ;;
97- * )
98- echo " Disable AT test for design ${DESIGN_NAME} ."
99- RUN_AUTOTUNER=" false"
100- ;;
101- esac
102- case $PLATFORM in
103- " asap7" | " sky130hd" | " ihp-sg13g2" )
104- # Keep RUN_AUTOTUNER enabled only for these platforms
105- ;;
106- * )
107- echo " Disable AT test for platform ${PLATFORM} ."
108- RUN_AUTOTUNER=" false"
109- ;;
110- esac
111- fi
112-
113- if [ " ${RUN_AUTOTUNER} " == " true" ]; then
114- set +x
115- echo " Start AutoTuner test."
116- ./test/test_autotuner.sh $DESIGN_NAME $PLATFORM
117- set -x
118- fi
119-
12089exit $ret
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ if [[ ! -v EXCLUDE_PLATFORM ]]; then
5656 fi
5757fi
5858
59- VARS_BASENAME=vars-$DESIGN_NICKNAME -$PLATFORM -$FLOW_VARIANT
60- RUN_ME_SCRIPT=run-me-$DESIGN_NICKNAME -$PLATFORM -$FLOW_VARIANT .sh
59+ VARS_BASENAME=${WORK_HOME} / vars-$DESIGN_NICKNAME -$PLATFORM -$FLOW_VARIANT
60+ RUN_ME_SCRIPT=${WORK_HOME} / run-me-$DESIGN_NICKNAME -$PLATFORM -$FLOW_VARIANT .sh
6161
6262for i in $ISSUE_CP_FILE_VARS ; do
6363 if [ -v ${i} ]; then
You can’t perform that action at this time.
0 commit comments