wterl/c_src/build_deps.sh
Gregory Burd 83dfc9e396 Renaming from wterl to wt (less redundant and more meaningful name)
and working on a shared single cache for all vnodes.
2013-03-10 21:42:31 -04:00

29 lines
536 B
Bash
Executable file

#!/bin/bash
set -e
WT_VSN=1.4.2
[ `basename $PWD` != "c_src" ] && cd c_src
BASEDIR="$PWD"
case "$1" in
clean)
rm -rf system wiredtiger-$WT_VSN
;;
*)
test -f system/lib/libwiredtiger.a && exit 0
tar -xjf wiredtiger-$WT_VSN.tar.bz2
# --enable-snappy --enable-bzip2 --enable-lz4 \
(cd wiredtiger-$WT_VSN/build_posix && \
../configure --with-pic \
--prefix=$BASEDIR/system && \
make && make install)
;;
esac