Skip to content

Commit

Permalink
fix: installation sym links
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed May 22, 2024
1 parent 0c01010 commit f13c7b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install_tensorflowlite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ cp ./ext/libtensorflowlite_gpu_delegate.so ~/.cache/crystal/
if [ "$1" = "$SHARDS_INSTALL" ]; then
echo "copying into parent directory.."
mkdir -p ../../bin
ln -s ./ext/libedgetpu.so ../../bin/libedgetpu.so
ln -s ./ext/libedgetpu.so ../../libedgetpu.so
ln -s $(pwd)/ext/libedgetpu.so ../../bin/libedgetpu.so
ln -s $(pwd)/ext/libedgetpu.so ../../libedgetpu.so

ln -s ./ext/libtensorflowlite_c.so ../../bin/libtensorflowlite_c.so
ln -s ./ext/libtensorflowlite_c.so ../../libtensorflowlite_c.so
ln -s $(pwd)/ext/libtensorflowlite_c.so ../../bin/libtensorflowlite_c.so
ln -s $(pwd)/ext/libtensorflowlite_c.so ../../libtensorflowlite_c.so

ln -s ./ext/libtensorflowlite_gpu_delegate.so ../../bin/libtensorflowlite_gpu_delegate.so
ln -s ./ext/libtensorflowlite_gpu_delegate.so ../../libtensorflowlite_gpu_delegate.so
ln -s $(pwd)/ext/libtensorflowlite_gpu_delegate.so ../../bin/libtensorflowlite_gpu_delegate.so
ln -s $(pwd)/ext/libtensorflowlite_gpu_delegate.so ../../libtensorflowlite_gpu_delegate.so
else
echo "run manually, assuming library development"
fi
Expand Down

0 comments on commit f13c7b1

Please sign in to comment.