build_lz4.sh 311 Bytes
Newer Older
longpanda's avatar
longpanda committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

LIBDIR=$PWD/../LIB/LZ4

rm -rf $LIBDIR
rm -rf lz4-1.8.1.2
tar -xf lz4-1.8.1.2.tar.gz


cd lz4-1.8.1.2
make && PREFIX=$LIBDIR make install

cd ..
rm -rf lz4-1.8.1.2

if [ -d $LIBDIR ]; then
    echo -e "\n========== SUCCESS ============\n"
else
    echo -e "\n========== FAILED ============\n"
fi