[dvsim] Honor BUILD_ROOT for placing scratch directory
Open
@sriyerg is already working on this.
Since Mar 25, 2022.
Component:DV
Component:Tooling
Earlgrey-PROD Triaged
Priority:P3
Type:Enhancement
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
BUILD_ROOT is the designated environment variable for build outputs, see `util/build_consts.sh`. In CI environments, we set this variable to a directory outside of the source tree. dvsim currently uses SCRATCH_ROOT instead.
We should
- Improve dvsim to honor BUILD_ROOT
- Source util/build_consts.sh before running dvsim (e.g. in lint jobs)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.