initial commit

This commit is contained in:
longpanda 2020-04-05 00:07:50 +08:00
parent 2090c6fa97
commit 05a1b863a6
487 changed files with 114253 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#!/bin/bash
LIBDIR=$PWD/../LIB/ZSTD
ZSTDDIR=zstd-1.4.4
rm -rf $LIBDIR
rm -rf $ZSTDDIR
tar -xf ${ZSTDDIR}.tar.gz
cd $ZSTDDIR
PREFIX=$LIBDIR ZSTD_LIB_COMPRESSION=0 make
PREFIX=$LIBDIR ZSTD_LIB_COMPRESSION=0 make install
cd ..
rm -rf $ZSTDDIR
if [ -d $LIBDIR ]; then
echo -e "\n========== SUCCESS ============\n"
else
echo -e "\n========== FAILED ============\n"
fi