-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclean.sh
executable file
·70 lines (58 loc) · 1.2 KB
/
clean.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash
# Get repo dir
REPO_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" ;
# Clean tests
pushd . ;
cd ${REPO_PATH}/tests/regression ;
make clean;
popd ;
# Clean runtime
pushd . ;
cd ${REPO_PATH}/include ;
make clean ;
popd ;
# Clean PIN tool
pushd . ;
cd ${REPO_PATH}/utils/MemTrace ;
make clean ;
popd ;
# Clean prettyPrint
pushd . ;
cd ${REPO_PATH}/utils/prettyPrint ;
make clean ;
popd ;
# Clean tag_functions_with_opt_none
pushd . ;
cd ${REPO_PATH}/utils/tag_functions_with_opt_none ;
./clean.sh ;
popd ;
# Clean remove_optnone
pushd . ;
cd ${REPO_PATH}/utils/remove_optnone ;
./clean.sh ;
popd ;
# Clean noelle_profiler
pushd . ;
cd ${REPO_PATH}/utils/noelle_profiler ;
./clean.sh ;
popd ;
# Clean clone_function_roi
pushd . ;
cd ${REPO_PATH}/utils/clone_function_roi ;
./clean.sh ;
popd ;
# Clean promote_cloned_function_allocas
pushd . ;
cd ${REPO_PATH}/utils/promote_cloned_function_allocas ;
./clean.sh ;
popd ;
# Clean check_for_induction_variables
pushd . ;
cd ${REPO_PATH}/utils/check_for_induction_variables ;
./clean.sh ;
popd ;
# Remove unnecessary dirs
rm -rf ${REPO_PATH}/virtualEnv ;
rm -rf ${REPO_PATH}/tools ;
rm -rf ${REPO_PATH}/build ;
rm -rf ${REPO_PATH}/inst ;