lowRISC / lowRISC/opentitan

[bazel] verilator rebuilds too often

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

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

2022年9月28日 から。

Component:Tooling Priority:P2 Type:Enhancement
主要言語
SystemVerilog
スター
3.6k
フォーク
1.1k
平均マージ
2日 22時間
マージ済み PR(30日)
141

説明

Something is causing the verilated model to rebuild while I'm working on the verilator tests. It's slow and inconvenient. I think the system is just trying not to use all the memory on a workstation and clearing it from the cache.
Until we set up a remote cache it might be worthwhile to use a disk cache by running bazel with a --disk_cache=~/some_cache arg, which is a nice thing to put in a .bazelrc for now.

Sometimes we also appear to build the verilated model for tests that shouldn't depend on it. Because this affects the cw310 tests it's going to impact our CI if we build those tests on the system that runs them.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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