-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinstallLibs.sh
82 lines (66 loc) · 1.55 KB
/
installLibs.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
#!/bin/bash
if [ ! -d "tmp" ]; then
mkdir tmp
fi
cd tmp
sudo apt-get -y --force-yes install cmake
# memcached
sudo apt-get -y --force-yes install memcached libmemcached-dev
# numa
sudo apt-get -y --force-yes install libnuma-dev
# cityhash
git clone https://github.com/google/cityhash.git
cd cityhash
./configure
make all check CXXFLAGS="-g -O3"
sudo make install
cd ..
# boost
wget https://jaist.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.zip
unzip boost_1_53_0.zip
cd boost_1_53_0
./bootstrap.sh
# ./b2 install --with-system --with-coroutine --build-type=complete --layout=versioned threading=multi
./b2 install --with-system --with-coroutine --layout=versioned threading=multi
sudo apt-get -y --force-yes install libboost-all-dev
cd ..
# paramiko
sudo apt-get -y --force-yes install python3-pip
pip3 install --upgrade pip
pip3 install paramiko
# gdown
pip3 install gdown
pip3 install --upgrade --no-cache-dir gdown
# func_timeout
pip3 install func_timeout
# matplotlib
pip3 install matplotlib
# tbb
git clone https://github.com/wjakob/tbb.git
cd tbb/build
cmake ..
make -j
sudo make install
cd ../..
# gflag
git clone https://github.com/gflags/gflags.git
mkdir gflags/build
cd gflags/build
cmake ..
make -j
sudo make install
cd ../..
# gtest
wget https://github.com/google/googletest/archive/refs/tags/release-1.12.1.zip
unzip release-1.12.1.zip
mkdir googletest-release-1.12.1/build
cd googletest-release-1.12.1/build
cmake ..
make -j
sudo make install
cd ../..
ldconfig
# openjdk-8
sudo apt-get -y --force-yes install openjdk-8-jdk
cd ..
rm -rf tmp