forked from chipsalliance/rocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (24 loc) · 722 Bytes
/
Makefile
File metadata and controls
33 lines (24 loc) · 722 Bytes
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
33
init:
git submodule update --init
patch:
find patches -type f | awk -F/ '{print("(echo "$$0" && cd dependencies/" $$2 " && git apply ../../" $$0 ")")}' | sh
depatch:
git submodule foreach 'git reset --hard && git clean -fdx'
bump:
git submodule foreach git stash
git submodule update --remote
git add dependencies
update-patches:
rm -rf patches
sed '/BEGIN-PATCH/,/END-PATCH/!d;//d' readme.md | awk '{print("mkdir -p patches/" $$1 " && wget " $$2 ".patch -P patches/" $$1 )}' | parallel
git add patches
bsp:
mill -i mill.bsp.BSP/install
compile:
mill -i -j 0 __.compile
riscv64tests:
mill -i -j 0 tests.riscvtests.run[rv64]
riscv32tests:
mill -i -j 0 tests.riscvtests.run[rv32]
clean:
git clean -fd