Skip to content

Commit 16c494a

Browse files
committed
fix(docker): fail build when OpenROAD binary is missing
Verific integration can succeed while the OpenROAD build silently fails to produce the binary. Check for it explicitly and exit before the image is layered further. Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
1 parent 9a75e58 commit 16c494a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎docker/Dockerfile.builder‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ fi
3838
--local \
3939
--threads ${numThreads} \
4040
${verificArgs}
41+
if [ ! -x tools/install/OpenROAD/bin/openroad ]; then
42+
echo "Error: tools/install/OpenROAD/bin/openroad is missing or not executable." >&2
43+
exit 1
44+
fi
4145
if [ -n "${verificPath}" ]; then
4246
rm -rf "${verificPath}"
4347
fi

0 commit comments

Comments
 (0)