Skip to content

Improve macOS build support with dependencies validation - #4138

Merged
maliberty merged 2 commits into
The-OpenROAD-Project:masterfrom
Sahil7741:fix/macos-setup-installer
Apr 14, 2026
Merged

maliberty merged 2 commits into
The-OpenROAD-Project:masterfrom
Sahil7741:fix/macos-setup-installer

Conversation

@Sahil7741

Copy link
Copy Markdown
Contributor

This PR improves macOS support to the OpenROAD-flow-scripts build process.

ref #4022

  • build_openroad.sh:

    • bison, flex, or-tools, qt@5, tcl-tk@8, icu4c
    • Added CMake options for macOS builds
    • Proper error handling if dependencies are missing
  • setup.sh:

    • Support for Python virtual environments (.venv)
    • Pip configuration for macOS environments
  • etc/DependencyInstaller.sh:

    • Enhanced Homebrew package validation
    • Better error messaging and dependency checks
  • dev_env.sh: Added QT_QPA_PLATFORM=cocoa for Qt on macOS

  • flow/scripts/synth.sh: Fixed log file creation issue

  • env.sh: Updated tcl-tk formula reference to tcl-tk@8

Screenshot 2026-04-12 at 4 03 52 PM

@Sahil7741 Sahil7741 changed the title Add macOS build support with dependencies validation Improve macOS build support with dependencies validation Apr 12, 2026
@Sahil7741

Copy link
Copy Markdown
Contributor Author

@maliberty @luarss please review

Comment thread flow/scripts/synth.sh Resolved
@maliberty

Copy link
Copy Markdown
Member

Missing DCO. Please click the link for info on fixing it.

- Validate Homebrew packages (bison, flex, or-tools, qt@5, tcl-tk@8, icu4c)
- Fix tcl-tk formula reference to tcl-tk@8
- Add required CMake options and environment variables for macOS
- Support Python virtual environments in dependency installer
- Create .venv and configure pip in setup.sh
- Add QT_QPA_PLATFORM=cocoa to dev_env.sh
- Fix synth.sh log file creation

Signed-off-by: Sahil Jaiswal <jaiswalsahil7741@gmail.com>
Signed-off-by: Sahil Jaiswal <jaiswalsahil7741@gmail.com>
@Sahil7741
Sahil7741 force-pushed the fix/macos-setup-installer branch from 37d9142 to ccc7e17 Compare April 12, 2026 15:58
@Sahil7741

Copy link
Copy Markdown
Contributor Author

Missing DCO. Please click the link for info on fixing it.

Sorry for missing sign-off, I added it, Thanks

@Sahil7741

Copy link
Copy Markdown
Contributor Author

@maliberty would it be possible to update the OpenROAD submodule in the ORFS repository to the latest commit ? I did patch some issues for local build which I need in submodule here in ORFS

@maliberty

Copy link
Copy Markdown
Member

You can update the OR submodule to the head of master.

@Sahil7741

Copy link
Copy Markdown
Contributor Author

You can update the OR submodule to the head of master.

Ohh Thanks, You can Merge this PR now

@maliberty
maliberty merged commit 804aed3 into The-OpenROAD-Project:master Apr 14, 2026
5 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.

2 participants