Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ RUN mkdir -p /usr/local/bin/wrapped-cc && \

ENV PATH="/usr/local/bin/wrapped-cc:$PATH"

RUN ./DependencyInstaller.sh -base $options $constantBuildDir \
&& ./DependencyInstaller.sh -common $options $constantBuildDir \
RUN ./DependencyInstaller.sh -all $options $constantBuildDir \
&& rm -rf /tmp/installer /tmp/* /var/tmp/* /var/lib/apt/lists/*

ARG fromImage

RUN echo "$fromImage" | grep -q "ubuntu" && \
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so || \
echo "Skipping strip command as fromImage does not contain 'ubuntu'"

WORKDIR /OpenROAD-flow-scripts
41 changes: 5 additions & 36 deletions flow/test/test_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ if [ $# -ge 4 ]; then
fi
TARGET=${5:-'finish metadata'}
DESIGN_CONFIG=./designs/$PLATFORM/$DESIGN_NAME/$CONFIG_MK
LOG_FILE=./logs/$PLATFORM/$DESIGN_NAME.log
mkdir -p "./logs/$PLATFORM"
if [ -z "${WORK_HOME+x}" ]; then
WORK_HOME=.
fi
LOG_FILE=${WORK_HOME}/logs/$PLATFORM/$DESIGN_NAME.log
mkdir -p "${WORK_HOME}/logs/$PLATFORM"

__make="make DESIGN_CONFIG=$DESIGN_CONFIG"
if [ -n "${FLOW_VARIANT+x}" ]; then
Expand Down Expand Up @@ -83,38 +86,4 @@ if [ $ret -eq 0 ] && grep -q 'power:' <(echo $TARGETS); then
fi
set -x

# Run Autotuner CI specifically for gcd on selected platforms.
if [ -z "${RUN_AUTOTUNER+x}" ]; then
echo "RUN_AUTOTUNER not set, disable AT test."
RUN_AUTOTUNER="false"
fi

if [ "${RUN_AUTOTUNER}" == "true" ]; then
case $DESIGN_NAME in
"gcd")
# Keep RUN_AUTOTUNER enabled only for these designs
;;
*)
echo "Disable AT test for design ${DESIGN_NAME}."
RUN_AUTOTUNER="false"
;;
esac
case $PLATFORM in
"asap7" | "sky130hd" | "ihp-sg13g2" )
# Keep RUN_AUTOTUNER enabled only for these platforms
;;
*)
echo "Disable AT test for platform ${PLATFORM}."
RUN_AUTOTUNER="false"
;;
esac
fi

if [ "${RUN_AUTOTUNER}" == "true" ]; then
set +x
echo "Start AutoTuner test."
./test/test_autotuner.sh $DESIGN_NAME $PLATFORM
set -x
fi

exit $ret
4 changes: 2 additions & 2 deletions flow/util/makeIssue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ if [[ ! -v EXCLUDE_PLATFORM ]]; then
fi
fi

VARS_BASENAME=vars-$DESIGN_NICKNAME-$PLATFORM-$FLOW_VARIANT
RUN_ME_SCRIPT=run-me-$DESIGN_NICKNAME-$PLATFORM-$FLOW_VARIANT.sh
VARS_BASENAME=${WORK_HOME}/vars-$DESIGN_NICKNAME-$PLATFORM-$FLOW_VARIANT
RUN_ME_SCRIPT=${WORK_HOME}/run-me-$DESIGN_NICKNAME-$PLATFORM-$FLOW_VARIANT.sh

for i in $ISSUE_CP_FILE_VARS ; do
if [ -v ${i} ]; then
Expand Down