Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Build working directories
tools/OpenROAD/build/
tools/yosys-slang/build/
tools/kepler-formal/build/

# Build files
build_openroad.log
Expand Down
12 changes: 12 additions & 0 deletions docker/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ if [ -n "${verificPath}" ]; then
fi
EOF

# Collect LICENSE files from tool source trees into the install directory so
# they are available in the final image. tools/OpenROAD/src/sta is excluded
# because it is covered by a separate commercial license agreement.
RUN find /OpenROAD-flow-scripts/tools \( -name "*LICENSE*" -o -name "*LICENSES*" \) \
| grep -v '/OpenROAD/src/sta/' \
| grep -v '/AutoTuner/' \
| while read -r f; do \
rel="${f#/OpenROAD-flow-scripts/tools/}"; \
mkdir -p "/OpenROAD-flow-scripts/tools/install/licenses/$(dirname "$rel")"; \
cp -r "$f" "/OpenROAD-flow-scripts/tools/install/licenses/$rel"; \
done
Comment thread
luarss marked this conversation as resolved.

FROM orfs-base

# The order for copying the directories is based on the frequency of changes (ascending order),
Expand Down