Skip to content

Correct the WITH_VERIFIC_CHECK in the build_openroad.sh docker build.#4221

Open
maliberty wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:build-openroad-fix-check
Open

Correct the WITH_VERIFIC_CHECK in the build_openroad.sh docker build.#4221
maliberty wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:build-openroad-fix-check

Conversation

@maliberty
Copy link
Copy Markdown
Member

Fixes #4207

Fixes The-OpenROAD-Project#4207

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
@maliberty maliberty self-assigned this May 10, 2026
Copy link
Copy Markdown

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

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 conditional logic for Verific support in the build_openroad.sh script. While the change refines the logic, it introduces a potential regression in the Docker build process where an empty string argument is passed to DockerHelper.sh when Verific is disabled. It is recommended to use a Bash array for options or adjust the quoting, and to utilize the more idiomatic [[ ... ]] syntax for the condition.

Comment thread build_openroad.sh Outdated
@maliberty
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown

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

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 build_openroad.sh to use a bash array for the options variable and modifies the conditional check for WITH_VERIFIC. The feedback suggests declaring the options variable as local to restrict its scope and quoting the variable in the conditional check to improve script robustness.

Comment thread build_openroad.sh Outdated
After the WITH_VERIFIC guard fix, `options` is empty when --with-verific
is not passed, and the quoted "${options}" expansion sends one empty
positional argument to DockerHelper.sh, whose catch-all aborts with
`unknown option: `. Switch to a Bash array so the empty case expands
to zero args.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
@openroad-ci openroad-ci force-pushed the build-openroad-fix-check branch from 6212823 to 04fd4f7 Compare May 10, 2026 19:13
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.

Docker based installation fails

1 participant