Skip to content

Commit 99e8d3e

Browse files
authored
Merge pull request #1195 from vvbandeira/clean-abc
Correctly clean unregistered abc repo in tools/yosys/abc
2 parents 29ddedc + 4e63538 commit 99e8d3e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build_openroad.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,13 +357,18 @@ __cleanup()
357357
fi
358358
echo "[INFO FLW-0026] Cleaning up previous binaries and build files."
359359
git clean ${CLEAN_CMD} tools
360+
YOSYS_ABC_PATH="tools/yosys/abc"
361+
if [[ -d "${YOSYS_ABC_PATH}" ]]; then
362+
echo "Entering '${YOSYS_ABC_PATH}'"
363+
git --work-tree=${YOSYS_ABC_PATH} --git-dir=${YOSYS_ABC_PATH}/.git clean ${CLEAN_CMD}
364+
fi
360365
git submodule foreach --recursive git clean ${CLEAN_CMD}
361366
}
362367

368+
__logging
363369
if [ ! -z "${CLEAN_BEFORE+x}" ]; then
364370
__cleanup
365371
fi
366-
__logging
367372
__args_setup
368373
__common_setup
369374

tools/OpenROAD

Submodule OpenROAD updated 513 files

0 commit comments

Comments
 (0)