File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Build working directories
2+ tools /OpenROAD /build /
3+ tools /yosys-slang /build /
4+ tools /kepler-formal /build /
25
36# Build files
47build_openroad.log
Original file line number Diff line number Diff line change @@ -45,6 +45,19 @@ if [ -n "${verificPath}" ]; then
4545fi
4646EOF
4747
48+ # Collect LICENSE files from tool source trees into the install directory so
49+ # they are available in the final image. tools/OpenROAD/src/sta is excluded
50+ # because it is covered by a separate commercial license agreement.
51+ RUN find /OpenROAD-flow-scripts/tools \( -name "*LICENSE*" -o -name "*LICENSES*" \) \
52+ | grep -v '/OpenROAD/src/sta/' \
53+ | grep -v '/AutoTuner/' \
54+ | grep -v '^/OpenROAD-flow-scripts/tools/install/' \
55+ | while IFS = read -r f ; do \
56+ rel = "${f#/OpenROAD-flow-scripts/tools/}" ; \
57+ mkdir -p "/OpenROAD-flow-scripts/tools/install/licenses/$(dirname " $rel")" ; \
58+ cp -r "$f" "/OpenROAD-flow-scripts/tools/install/licenses/$rel" ; \
59+ done
60+
4861FROM orfs -base
4962
5063# The order for copying the directories is based on the frequency of changes (ascending order),
You can’t perform that action at this time.
0 commit comments