-
Notifications
You must be signed in to change notification settings - Fork 5
/
build_all.sh
executable file
·53 lines (42 loc) · 1.07 KB
/
build_all.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
#!/bin/bash
set -e
set -x
git submodule update --init -f --recursive
. build_client.sh
echo building SNAPPY
pushd caladan/apps/storage_service
./snappy.sh
popd
echo building CALADAN
for dir in caladan caladan/shim caladan/bindings/cc caladan/apps/storage_service caladan/apps/netbench; do
make -C $dir
done
export SHENANGODIR=$SCRIPTPATH/caladan
echo building SILO
pushd silo
./silo.sh
make
popd
echo building MEMCACHED
pushd memcached
./autogen.sh
./configure --with-shenango=$SCRIPTPATH/caladan
make
popd
pushd memcached-linux
./autogen.sh
./configure
make
popd
echo building BOEHMGC
pushd gc
./autogen.sh
./configure --prefix=$SCRIPTPATH/gc/build --enable-static --enable-large-config --enable-handle-fork=no --enable-dlopen=no --disable-java-finalization --enable-threads=shenango --enable-shared=no --with-shenango=$SCRIPTPATH/caladan
make install
popd
echo building PARSEC
for p in x264 swaptions streamcluster; do
parsec/bin/parsecmgmt -a build -p $p -c gcc-shenango
done
export GCDIR=$SCRIPTPATH/gc/build/
parsec/bin/parsecmgmt -a build -p swaptions -c gcc-shenango-gc