Skip to content

Commit

Permalink
Merge pull request #2013 from antmicro/fix-local-docker-build
Browse files Browse the repository at this point in the history
Fix `ABC contains local modifications` error when building Docker image
  • Loading branch information
maliberty committed May 17, 2024
2 parents d85eab6 + 5d99a0e commit f66c288
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_openroad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@ __local_build()
set -u
fi

YOSYS_ABC_PATH=tools/yosys/abc
if [[ -d "${YOSYS_ABC_PATH}/.git" ]]; then
# update indexes to make sure git diff-index uses correct data
git --work-tree=${YOSYS_ABC_PATH} --git-dir=${YOSYS_ABC_PATH}/.git update-index --refresh
fi

echo "[INFO FLW-0017] Compiling Yosys."
${NICE} make install -C tools/yosys -j "${PROC}" ${YOSYS_ARGS}

Expand Down

0 comments on commit f66c288

Please sign in to comment.