Skip to content

docker: the image carries tools/FakeRAM2.0 - #4786

Merged
vvbandeira merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:image-fakeram
Nov 4, 2026
Merged

vvbandeira merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:image-fakeram

Conversation

@oharboe

@oharboe oharboe commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

flow/scripts/memories/gen_memories.py runs tools/FakeRAM2.0/run.py, found relative to itself. The image's last stage copies flow/ and tools/AutoTuner, but not tools/FakeRAM2.0, so every AUTO_MEMORIES flow run from the image stops at the memories step:

/usr/bin/python3: can't open file '/OpenROAD-flow-scripts/tools/FakeRAM2.0/run.py': [Errno 2] No such file or directory
make[1]: *** [Makefile:276: do-auto-memories] Error 1

No design in CI sets AUTO_MEMORIES today, so master's CI does not show it. A PR that adds one fails there: asap7/cva6 in #4777.

The fix is one COPY line next to tools/AutoTuner.

Test

A build with this repository as context and its .dockerignore, of the same line on a small base image, puts run.py where gen_memories.py looks for it:

FROM busybox:1.36
WORKDIR /OpenROAD-flow-scripts
COPY --link tools/FakeRAM2.0 tools/FakeRAM2.0
RUN test -f tools/FakeRAM2.0/run.py

CI on this PR builds the image, but it runs no AUTO_MEMORIES design, so the end-to-end check is #4777's pr-merge once this is in.

🤖 Generated with Claude Code

flow/scripts/memories/gen_memories.py runs tools/FakeRAM2.0/run.py,
found relative to itself. The image copies flow/ and tools/AutoTuner but
not tools/FakeRAM2.0, so every AUTO_MEMORIES flow run from the image
stops at the memories step:

    /usr/bin/python3: can't open file
    '/OpenROAD-flow-scripts/tools/FakeRAM2.0/run.py': [Errno 2] No such
    file or directory

No design in CI sets AUTO_MEMORIES today, so CI on master does not show
it; a PR that adds one fails there (asap7/cva6 in The-OpenROAD-Project#4777).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe
oharboe requested a review from a team as a code owner November 4, 2026 09:56
@oharboe
oharboe requested review from vvbandeira and removed request for a team November 4, 2026 09:56

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the docker/Dockerfile.builder to copy the tools/FakeRAM2.0 directory into the builder image. There are no review comments, and I have no feedback to provide.

@openroad-ci

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch.

Commit 2088a80 · Jenkins build #1 · Baseline: build · View build on dashboard

62 design(s) checked — 0 with regression(s), 0 without a comparable baseline.

@vvbandeira
vvbandeira merged commit 58ea7b5 into The-OpenROAD-Project:master Nov 4, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants