Skip to content

build: Improve macOS build and dependency installation#10113

Merged
maliberty merged 4 commits into
The-OpenROAD-Project:masterfrom
Sahil7741:fix/macos-local-build
Apr 12, 2026
Merged

build: Improve macOS build and dependency installation#10113
maliberty merged 4 commits into
The-OpenROAD-Project:masterfrom
Sahil7741:fix/macos-local-build

Conversation

@Sahil7741

Copy link
Copy Markdown
Contributor

ref #9895

  • Add macOS venv setup documentation
  • Improve Build.sh with better package validation and env config
  • Update DependencyInstaller.sh for macOS (threads, icu4c, tcl-tk@8)
  • Use pip instead of pipx
Screenshot 2026-04-12 at 3 38 14 AM

@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 enhances macOS support by adding documentation for Python virtual environments and improving dependency management in the build scripts. Key changes include switching to tcl-tk@8, adding icu4c support, and implementing more robust checks for Homebrew-installed tools. Review feedback identifies a variable naming inconsistency in DependencyInstaller.sh that could hinder parallel builds and suggests using brew --prefix in Build.sh to ensure portability across Intel and Apple Silicon architectures.

Comment thread etc/DependencyInstaller.sh Outdated
Comment thread etc/Build.sh Outdated

@github-actions github-actions 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.

Welcome to OpenROAD! Thanks for opening your first PR.
Before we review:

Please ensure:

  • CI passes
  • Code is properly formatted
  • Tests are included where applicable
    A maintainer will review shortly!

Sahil7741 and others added 4 commits April 12, 2026 15:51
ref The-OpenROAD-Project#9895

- Add macOS venv setup documentation
- Improve Build.sh with better package validation and env config
- Update DependencyInstaller.sh for macOS (threads, icu4c, tcl-tk@8)
- Use pip instead of pipx

Signed-off-by: Sahil Jaiswal <jaiswalsahil7741@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Sahil Jaiswal <112881021+Sahil7741@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Sahil Jaiswal <112881021+Sahil7741@users.noreply.github.com>
Signed-off-by: Sahil Jaiswal <jaiswalsahil7741@gmail.com>
@Sahil7741 Sahil7741 force-pushed the fix/macos-local-build branch from 69dccb9 to 73deb5f Compare April 12, 2026 10:25
@Sahil7741

Copy link
Copy Markdown
Contributor Author

@maliberty @luarss please review

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty maliberty left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks fine but you should be aware we are moving towards bazel where this is much simpler.

@maliberty maliberty merged commit 39a6611 into The-OpenROAD-Project:master Apr 12, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants