-
Notifications
You must be signed in to change notification settings - Fork 5
/
clean
executable file
·45 lines (35 loc) · 916 Bytes
/
clean
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
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh
echo "Cleaning all directories..."
echo "*** act ***"
(cd act; make realclean)
echo "*** lefdef ***"
(cd lefdef; make clean)
for i in Galois phyDB BiPart Dali PWRoute SPRoute TritonRoute-WXL dflowmap
do
echo "*** $i ***"
(cd $i && rm -rf build)
done
echo "*** abc ***"
(cd expropt/abc && make clean ABC_MAKE_NO_DEPS=1)
(cd expropt/abc2 && make clean ABC_MAKE_NO_DEPS=1)
for i in annotate interact layout expropt chp2prs prs2fpga xcell dflow2dot actsim
do
echo "*** $i ***"
(cd $i; make realclean)
done
if [ -f timing/actpin.h ]
then
echo "*** timing ***"
(cd timing/cyclone && rm -rf build)
(cd timing/galois_eda && rm -rf build)
fi
if [ -f dflowmap_netlist/build.sh ]
then
echo "*** dflowmap_netlist ***"
(cd dflowmap_netlist && rm -rf build)
fi
if [ -f expropt_commercial/Makefile ]
then
echo "*** expropt_commercial ***"
(cd expropt_commercial; make realclean)
fi