Renaming toplevel `src/` to `openroad/`

オープン
#12,161 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@maliberty がすでに取り組んでいます。

2026年11月8日 から。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cmake, cpp, git, shell

調査の方向性

Start by reviewing the linked rename-src-to-openroad.sh script and its step 0, which describes the OpenSTA repository change; update that submodule before running the remaining steps in OpenROAD. Check the resulting project references and build, and confirm that the test/... directory still works. The issue describes a broad repository rename and notes that copybara imports and external scripts may also need updates.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Now that we are freed of cmake, we can start organizing the project more nicely.

One of the steps (unfortunately also pretty invasive) is to rename the toplevel src/ to openroad/. This will then make the switch to relative-to-project-root includes ( #10449 ) more readable (so instead of including "src/foo/bar/baz.h" we include "openroad/foo/bar/baz.h" - thus giving the toplevel name a meaning).

Since this is a lot of change, I'd like to not do this as a pull request, but have crafted as shell-script to be run over the project to do all necessary changes. I'll leave it to @maliberty to run and push.

rename-src-to-openroad.sh

There is a small change that also needs to be in the OpenRoad fork of OpenSTA; in the script, they are marked as 'step 0' and work directly in the repository, but in reality this should of course be done first in the OpenSTA repo,then the submodule updated, and then running all the rest of the script.

This is the first step of better project organization, but since it touches a lot, it is good to do early on, because follow-up changes are then smaller and can be done more locally.

FYI: @QuantamHD @mikesinouye : after this is applied, your copybara import script probably needs adaption
@oharboe The test/... directory still works afterwards, but there might be other scripts outside the repo that then might need changes.

AI disclaimer: most of the renaming and building a script from the necessary steps was created with Gemini.

主要言語
Verilog
スター
3.3k
フォーク
1.1k
平均マージ
2日 14時間
マージ済み PR(30日)
275

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

The-OpenROAD-Project/OpenROAD のほかの issue

The-OpenROAD-Project/OpenROAD の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。