Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
setup fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexholdenmiller committed Apr 4, 2017
1 parent 85ee517 commit aaa4e49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions KVmemnn/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ if [ $? -ne 0 ]; then
fi
fi

luarocks show tds 1>/dev/null 2>/dev/null
if [ $? -ne 0 ]; then
luarocks install tds
if [ $? -ne 0 ]; then
echo "Error: resolve then run luarocks install tds"
exit 1
fi
fi

# compile libmemnn.so
gcc -O3 -std=c99 -shared -o ./library/c/libmemnn.so -fPIC ./library/c/*.c
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit aaa4e49

Please sign in to comment.