Skip to content

Commit

Permalink
update openlane build process
Browse files Browse the repository at this point in the history
  • Loading branch information
kareefardi committed Feb 8, 2022
1 parent c31e412 commit deab791
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions images/openlane/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# REPO_COMMIT refers to an openlane tag
ARG REPO_COMMIT
ARG BASE_IMAGE
FROM efabless/openlane:${REPO_COMMIT} as openlane

ARG BASE_IMAGE
FROM ${BASE_IMAGE} as builder

ARG REPO_URL
ARG REPO_COMMIT
ARG REPO_URL
ARG NAME

ADD scripts/dependencies.sh dependencies.sh
RUN bash dependencies.sh

ADD scripts/install.sh install.sh
RUN bash install.sh
#
RUN mkdir -p /foss/tools/${NAME}_tools/${REPO_COMMIT}
RUN mkdir -p /foss/tools/${NAME}/${REPO_COMMIT}
COPY --from=openlane /build /foss/tools/${NAME}_tools/${REPO_COMMIT}
RUN git clone ${REPO_URL} --branch=${REPO_COMMIT} /foss/tools/${NAME}/${REPO_COMMIT}
2 changes: 1 addition & 1 deletion images/openlane/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"BASE_IMAGE": "base",
"NAME": "openlane",
"REPO_URL": "https://github.com/The-OpenROAD-Project/OpenLane",
"REPO_COMMIT": "7a65b61b17d0b28f3473b63418f1c8d7a8f5bebb"
"REPO_COMMIT": "2022.02.01_02.19.58"
}
}

0 comments on commit deab791

Please sign in to comment.