File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ LOCAL_CHECKOUT_DIR=$GITHUB_WORKSPACE
1414LOCAL_CHIPYARD_DIR=$REMOTE_WORK_DIR
1515LOCAL_SIM_DIR=$LOCAL_CHIPYARD_DIR /sims/vcs
1616
17+ export CARGO_HOME=$HOME /.cargo
18+ export RUSTUP_HOME=$HOME /.rustup
19+ export PATH=$HOME /.cargo/bin:$PATH
20+
1721CICONFIG=chipyard.config.WithNoDebug_GemminiRocketConfig
1822
1923# Branches used by install-gemmini.sh. The chipyard branch needs the
Original file line number Diff line number Diff line change @@ -21,11 +21,17 @@ git submodule update --init generators/gemmini
2121git -C generators/gemmini fetch origin
2222git -C generators/gemmini checkout $GEMMINI_SUBMODULE_BRANCH
2323
24- # Radiance generator is needed by RadianceGemminiOnlyConfig; pin it to main
25- # so the verilator elaborate picks up the matching radiance side of MX work.
26- git submodule update --init generators/radiance
24+ git submodule update --init --recursive generators/radiance
2725git -C generators/radiance fetch origin
2826git -C generators/radiance checkout $RADIANCE_SUBMODULE_BRANCH
27+ git -C generators/radiance submodule update --init --recursive
28+
29+ export RUSTUP_USE_CURL=1
30+ export CURL_IPRESOLVE=4
31+ export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
32+ export CARGO_NET_RETRY=10
33+ export CARGO_HTTP_TIMEOUT=60
34+ (cd generators/radiance/cyclotron && cargo fetch)
2935
3036export MAKEFLAGS=" -j32"
3137./build-setup.sh riscv-tools -s 6 -s 7 -s 8 -s 9 -v
You can’t perform that action at this time.
0 commit comments