File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,10 @@ ENV PATH="/usr/local/bin/wrapped-cc:$PATH"
3030
3131COPY --link tools tools
3232ARG numThreads = $( nproc )
33+ ARG openroadVersion = NotSet
3334
3435RUN echo "" > tools /yosys /abc /. gitcommit && \
35- . /build_openroad . sh --no_init --local --threads ${ numThreads }
36+ . /build_openroad . sh --no_init --local --threads ${ numThreads } -- openroad - args - DOPENROAD_VERSION = $ { openroadVersion }
3637
3738FROM orfs -base
3839
Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ _setup() {
6565 fromImage=" ${FROM_IMAGE_OVERRIDE:- " ${org} /flow-${os} -dev" } :${imageTag} "
6666 context=" ."
6767 buildArgs=" --build-arg numThreads=${numThreads} "
68+ orVersion=$( git -C tools/OpenROAD describe --tags)
69+ echo " OpenROAD version: ${orVersion} "
70+ buildArgs+=" --build-arg openroadVersion=${orVersion} "
6871 ;;
6972 " dev" )
7073 fromImage=" ${FROM_IMAGE_OVERRIDE:- $osBaseImage } "
You can’t perform that action at this time.
0 commit comments