forked from Xiaowoniumeiyouke/BESSPIN-GFE-2019
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init_submodules.sh
executable file
·32 lines (27 loc) · 943 Bytes
/
init_submodules.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env bash
home=$(pwd)
# Initialize the minimum number of submodules necessary to build the project
# This reduces the runtime of git status and other git commands
git submodule sync
git submodule update --init riscv-tests
cd riscv-tests
git submodule sync
cd ..
git submodule update --init tool-suite FreeRTOS-mirror busybox
git submodule update --init --recursive \
bluespec-processors/P1/Piccolo bluespec-processors/P2/Flute \
riscv-linux bluespec-processors/P3/Tuba riscv-tests riscv-pk
git submodule update --init chisel_processors
cd chisel_processors
git submodule sync
git submodule update --init rocket-chip
git submodule update --init P3/boom-template
cd P3/boom-template
git submodule sync
git submodule update --init boom rocket-chip
cd rocket-chip
git submodule sync
git submodule update --init firrtl chisel3 hardfloat
cd ../../../rocket-chip
git submodule sync
git submodule update --init firrtl chisel3 hardfloat