Skip to content

fix: make path conversion scalable and fix issue paths - #3870

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:test-fix-issue-platform-paths
Feb 6, 2026
Merged

maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:test-fix-issue-platform-paths

Conversation

@openroad-ci

Copy link
Copy Markdown
Member

Signed-off-by: Jorge Ferreira <jorge.ferreira@precisioninno.com>
@maliberty
maliberty merged commit 90f49c1 into The-OpenROAD-Project:master Feb 6, 2026
5 checks passed
@maliberty
maliberty deleted the test-fix-issue-platform-paths branch February 6, 2026 15:49
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Nov 18, 2026
The run-me script has been fixed for each of these: it finds the step's
script through the unpacked archive's SCRIPTS_DIR, not the path of the
flow that made it (The-OpenROAD-Project#1410); the script is named after the step, not the
WORK_HOME path makeIssue is given (The-OpenROAD-Project#3466); openroad gets the flow's
thread count (The-OpenROAD-Project#3870); a synthesis step runs yosys, not openroad (The-OpenROAD-Project#4129).

The tests check each in run-me's text, check that the flow's own
synthesis scripts are recognised as yosys steps and the others as
openroad steps, and run an archive's run-me to see that it starts the
step's script under ./scripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Nov 18, 2026
generate-vars.sh writes the archive's vars files, and they have been
fixed for running somewhere else: python3 is the default PYTHON_EXE in
both the shell and the Tcl vars (The-OpenROAD-Project#4792), paths under an absolute
WORK_HOME are relative to the archive's root while a directory that
only starts with WORK_HOME's name keeps its path (The-OpenROAD-Project#4274), and paths
under a docker image's /workspace and /platforms are relative (The-OpenROAD-Project#3870).
PRESERVE_PATHS keeps every path as it is.

The tests make an archive and read its vars files. The stub flow moves
one level down, so that the stub's WORK_HOME, like a CI workspace, is
outside the ORFS root the vars files spell ${FLOW_HOME}/...

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Nov 18, 2026
The platform's Tcl, SDC and .cfg files are archived, and only those it
has (The-OpenROAD-Project#2222). Of the design and platform directories only the config
files are archived, every platform config*.mk among them (The-OpenROAD-Project#3870), unless
FULL_ISSUE asks for the whole directories (The-OpenROAD-Project#1771).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Nov 18, 2026
The run-me script has been fixed for each of these: it finds the step's
script through the unpacked archive's SCRIPTS_DIR, not the path of the
flow that made it (The-OpenROAD-Project#1410); the script is named after the step, not the
WORK_HOME path makeIssue is given (The-OpenROAD-Project#3466); openroad gets the flow's
thread count (The-OpenROAD-Project#3870); a synthesis step runs yosys, not openroad (The-OpenROAD-Project#4129).

The tests check each in run-me's text, check that the flow's own
synthesis scripts are recognised as yosys steps and the others as
openroad steps, and run an archive's run-me to see that it starts the
step's script under ./scripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Nov 18, 2026
generate_vars.py writes the archive's vars files, and they have been
fixed for running somewhere else: python3 is the default PYTHON_EXE in
both the shell and the Tcl vars (The-OpenROAD-Project#4792), paths under an absolute
WORK_HOME are relative to the archive's root while a directory that
only starts with WORK_HOME's name keeps its path (The-OpenROAD-Project#4274), and paths
under a docker image's /workspace and /platforms are relative (The-OpenROAD-Project#3870).
PRESERVE_PATHS keeps every path as it is.

The tests make an archive and read its vars files. The stub flow moves
one level down, so that the stub's WORK_HOME, like a CI workspace, is
outside the ORFS root the vars files spell ${FLOW_HOME}/...

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Nov 18, 2026
The platform's Tcl, SDC and .cfg files are archived, and only those it
has (The-OpenROAD-Project#2222). Of the design and platform directories only the config
files are archived, every platform config*.mk among them (The-OpenROAD-Project#3870), unless
FULL_ISSUE asks for the whole directories (The-OpenROAD-Project#1771).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
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