diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index a2a822b486..2abeb09cdb 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -28,8 +28,7 @@ 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 @@ -37,3 +36,5 @@ 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 diff --git a/flow/test/test_helper.sh b/flow/test/test_helper.sh index 0b6af7e2d7..dcd5081631 100755 --- a/flow/test/test_helper.sh +++ b/flow/test/test_helper.sh @@ -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 @@ -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 diff --git a/flow/util/makeIssue.sh b/flow/util/makeIssue.sh index 0d3e34bae8..f8307558f3 100755 --- a/flow/util/makeIssue.sh +++ b/flow/util/makeIssue.sh @@ -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