Skip to content

docs: add Windows + Docker installation guide for OpenROAD#4031

Open
Divinesoumyadip wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
Divinesoumyadip:docs/windows-docker-installation-guide
Open

docs: add Windows + Docker installation guide for OpenROAD#4031
Divinesoumyadip wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
Divinesoumyadip:docs/windows-docker-installation-guide

Conversation

@Divinesoumyadip
Copy link

@Divinesoumyadip Divinesoumyadip commented Mar 22, 2026

Closes #4025

Adds docs/user/WindowsDocker.md covering OpenROAD installation on Windows
using Docker Desktop. Addresses all issues reported in #4025.

Issues covered:

  • DEBIAN_FRONTEND timezone prompt hanging apt-get
  • Yosys version mismatch and apt version too old, OSS CAD Suite required for >= 0.58
  • CRLF line endings causing shell script failures inside Docker
  • Copying .deb files from Windows into Docker container
  • Environment variables resetting on every container session
  • C: drive space constraints , WSL2 migration to D: drive
  • GUI setup on Windows using VcXsrv

Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
@Divinesoumyadip
Copy link
Author

@maliberty @luarss could you approve the workflows to run CI? Happy to address any review feedback.

Copy link
Contributor

@luarss luarss left a comment

Choose a reason for hiding this comment

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

Do add some clarification how these installation instructions are supposed to work. Even better if there are some screenshots


Run before any apt-get:

```
Copy link
Contributor

Choose a reason for hiding this comment

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

Where are you running these commands? Powershell? WSL?


## Step 1 — Install and Configure Docker Desktop

1. Install Docker Desktop with WSL 2 backend enabled
Copy link
Contributor

Choose a reason for hiding this comment

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

May be a good idea to offload these to a site that shows how to configure these settings, or add some gifs

Verify installation:

```
docker run hello-world
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
docker run hello-world
docker run --rm hello-world


## Step 2 — Avoid Timezone Prompt

Run before any apt-get:
Copy link
Contributor

Choose a reason for hiding this comment

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

where would one be running these commands? powershell? wsl? might be helpful to pretend that you are following the tutorial when writing these instructions

## Step 3 — Install Correct Yosys Version

```
wget https://github.com/YosysHQ/oss-cad-suite-build/releases/latest/download/oss-cad-suite-linux-x64.tgz
Copy link
Contributor

Choose a reason for hiding this comment

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

Be careful - ORFS does not natively support latest. we usually peg it to a version


## Optional: WSL2 Native Build

See: BuildWithWSL.md in repository
Copy link
Contributor

Choose a reason for hiding this comment

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

add doc hyperlinks please


Slow performance:
Use WSL path:
\\wsl$\Ubuntu\
Copy link
Contributor

Choose a reason for hiding this comment

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

commands/path to be enclosed in ``` please

CRLF issue:

```
git config --global core.autocrlf false
Copy link
Contributor

Choose a reason for hiding this comment

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

repeated?

@agarwaldisha7616
Copy link

@luarss I opened the original issue #4025 after going through this installation myself on Windows. A few things from my experience that might be worth adding: the yosys version should be pinned (e.g. 2025-03-01) not latest, and it's important to mention git checkout 26Q1 to match the ORFS version with the OpenROAD binary. Happy to contribute these additions!

@luarss
Copy link
Contributor

luarss commented Mar 23, 2026

@agarwaldisha7616 You are welcome to collaborate with @Divinesoumyadip on this branch. No point starting a new PR since there's this one already in-progress.

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.

[Docs] Add Windows + Docker installation guide for OpenROAD flow

3 participants