blob: 572e8187b9ce0d6464d2dfbe5702217f7a3b4d28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
set -e
mkdir .tool-root
touch ROOT
cat > TARGETS <<'EOI'
{ "program outputs": {"type": "generated files", "width": ["16"]}
, "ALL":
{ "type": "generic"
, "outs": ["out.txt"]
, "cmds": ["cat $(ls out-*.txt | sort) > out.txt"]
, "deps": ["program outputs"]
}
}
EOI
echo
echo "Analysing"
bin/tool-under-test analyse --dump_graph graph.json 2>&1
echo
echo "Building"
bin/tool-under-test install -o out --local_build_root .tool-root -J 16 2>&1
|