chipsalliance / chipsalliance/rocket-chip

Error 1 build-setup.sh: Build script failed with exit code 2 at step 5: Pre-compiling Chipyard Scala sources

Open
#3,701 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
3.9k
Forks
1.3k
Avg merge
5d 13m
Merged PRs (30d)
1

Description

i am facing this issue from last week

[info] compiling 2 Scala sources to /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/target/scala-2.13/classes ...
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:3:13: object common is not a member of package boom
[error] import boom.common._
[error] ^
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:8:25: not found: type WithNBigCores
[error] type RocketBigCores = WithNBigCores
[error] ^
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:9:25: not found: type WithNMedCores
[error] type RocketMedCores = WithNMedCores
[error] ^
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:10:27: not found: type WithNSmallCores
[error] type RocketSmallCores = WithNSmallCores
[error] ^
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:12:25: not found: type WithNLargeBooms
[error] type BoomLargeCores = WithNLargeBooms
[error] ^
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:13:23: not found: type WithNMediumBooms
[error] type BoomMedCores = WithNMediumBooms
[error] ^
[error] /home/umair/Documents/STUDY/paperwerk/ge/chipyard/generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala:14:25: not found: type WithNMediumBooms
[error] type BoomSmallCores = WithNMediumBooms
[error] ^
[error] 7 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 14 s, completed Dec 10, 2024, 12:49:11 PM
make: *** [/home/umair/Documents/STUDY/paperwerk/ge/chipyard/common.mk:409: launch-sbt] Error 1
build-setup.sh: Build script failed with exit code 2 at step 5: Pre-compiling Chipyard Scala sources

Contributor guide

Open the contributing guide

Research direction

Start by reproducing step 5 of build-setup.sh and inspect common.mk at the launch-sbt rule. Then read generators/chipyard/src/main/scala/config/GemminiCPUConfigs.scala alongside the reported boom.common and missing core-type errors. Done means the Chipyard Scala sources pre-compile without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.