Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Kitt-AI/snowboy
Browse files Browse the repository at this point in the history
  • Loading branch information
chenguoguo committed May 3, 2018
2 parents ed4cb38 + ce5d7e9 commit 65ffde7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
Binary file added resources/models/jarvis.perpetual.umdl
Binary file not shown.
30 changes: 30 additions & 0 deletions scripts/install_swig.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/bash

# SWIG is a tool to compile c++ code into Python.

echo "Installing SWIG"

if [ ! -e swig-3.0.10.tar.gz ]; then
cp exteral_tools/swig-3.0.10.tar.gz ./ || \
wget -T 10 -t 3 \
http://prdownloads.sourceforge.net/swig/swig-3.0.10.tar.gz || exit 1;
fi

tar -xovzf swig-3.0.10.tar.gz || exit 1
ln -s swig-3.0.10 swig

cd swig

# We first have to install PCRE.
if [ ! -e pcre-8.37.tar.gz ]; then
cp ../exteral_tools/pcre-8.37.tar.gz ./ || \
wget -T 10 -t 3 \
https://sourceforge.net/projects/pcre/files/pcre/8.37/pcre-8.37.tar.gz || exit 1;
fi
Tools/pcre-build.sh

./configure --prefix=`pwd` --with-pic
make
make install

cd ..

0 comments on commit 65ffde7

Please sign in to comment.