Skip to content

Commit

Permalink
Removed the copy of the C protocol implementation from the install/ f…
Browse files Browse the repository at this point in the history
…older

All(?) of the relevant installation scripts now look for it in the
protocol/c/ folder instead
  • Loading branch information
ale-f committed Jul 31, 2017
1 parent bd845fc commit d1e6a54
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 282 deletions.
278 changes: 0 additions & 278 deletions install/frontend.c

This file was deleted.

2 changes: 1 addition & 1 deletion install/lib-annoy-hamming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ cd "$(dirname "$0")"
ins_deb_require python-dev python-setuptools &&
ins_git_get https://github.com/maumueller/annoy

gcc -O3 -march=native -ffast-math -c -o frontend.o ../frontend.c
gcc -O3 -march=native -ffast-math -c -o frontend.o ../../protocol/c/frontend.c
g++ -O3 -march=native -ffast-math -std=c++14 -o fr-annoy-hamming frontend.o ../lib-annoy-hamming.cpp -pthread
2 changes: 1 addition & 1 deletion install/lib-annoy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ ins_deb_require python-dev python-setuptools &&
ins_git_get https://github.com/spotify/annoy &&
python setup.py install

gcc -O3 -march=native -ffast-math -c -o frontend.o ../frontend.c
gcc -O3 -march=native -ffast-math -c -o frontend.o ../../protocol/c/frontend.c
g++ -O3 -march=native -ffast-math -std=c++14 -o fr-annoy frontend.o ../lib-annoy.cpp -pthread
2 changes: 1 addition & 1 deletion install/lib-dolphinn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ cd "$(dirname "$0")"
. ./_ins_utilities.sh

ins_git_get https://github.com/ipsarros/Dolphinn &&
gcc -O3 -march=native -ffast-math -c -o frontend.o ../frontend.c &&
gcc -O3 -march=native -ffast-math -c -o frontend.o ../../protocol/c/frontend.c &&
g++ -O3 -march=native -ffast-math -std=c++14 -o fr-dolphinn frontend.o ../lib-dolphinn.cpp -pthread
2 changes: 1 addition & 1 deletion install/lib-mih.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ins_deb_require cmake libhdf5-dev &&
ins_git_get https://github.com/norouzi/mih &&
mkdir build &&
mkdir wrapper &&
cp ../frontend.c wrapper/ &&
cp ../../protocol/c/frontend.c wrapper/ &&
cp ../lib-mih-wrapper.cpp wrapper/ &&
cd build &&
cmake ../ &&
Expand Down

0 comments on commit d1e6a54

Please sign in to comment.