-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildall.sh
executable file
·101 lines (81 loc) · 1.58 KB
/
buildall.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/bash
echo "Installing packages..."
sudo apt-get update
sudo apt-get install -y build-essential gcc-5 g++-5 gcc-4.7 g++-4.7 m4 \
pkg-config python-pip python-setuptools python-dev python3-pip unzip wget time
sudo apt-get install -y gcc-multilib g++-multilib libboost-dev \
libtiff5-dev libbz2-dev libmp3lame-dev libxslt1-dev libxml2-dev \
zlib1g-dev libxml-libxml-perl libgomp1 libgmp-dev libmpfr-dev \
libmpc-dev libxi-dev libxmu-dev freeglut3-dev gettext \
libjasper-runtime libjasper-dev
sudo pip3 install numpy
source env.sh
echo "Compiling QTHREAD library..."
mkdir -p obj
pushd obj
make clean
../configure --prefix=$XTERN_ROOT/install
make && make install
popd
cd $XTERN_ROOT/apps
echo "Compiling ldap, sudo password maybe required..."
pushd ldap
./mk
popd
echo "Compiling openmp library..."
pushd openmp
./mk
popd
echo "Compiling aget..."
pushd aget
./mk
popd
echo "Compiling ImageMagick..."
pushd imagick
./mk
popd
echo "Compiling mongoose..."
pushd mongoose
./mk
popd
echo "Compiling npb..."
pushd npb
./mk
popd
echo "Compiling parsec..."
pushd parsec
./mk
popd
echo "Compiling pfscan..."
pushd pfscan
./mk
popd
echo "Compiling redis..."
pushd redis
./mk
popd
echo "Compiling stl..."
pushd stl
./mk
popd
echo "Compiling bdb_bench3n..."
pushd bdb_rep
./mk
popd
echo "Compiling mplayer mencoder..."
pushd mplayer
./mk
popd
echo "Compiling pbzip2..."
pushd pbzip2
./mk
popd
echo "Compiling phoenix..."
pushd phoenix
./mk
popd
echo "Compiling splash2x..."
pushd splash2x
./mk
popd
echo "All compiled. If there are no errors, you may go to $XTERN_ROOT/eval folder to run evaluation."