Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shiwendai committed Sep 25, 2018
0 parents commit d858233
Show file tree
Hide file tree
Showing 1,851 changed files with 491,868 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sift1M
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Summary

<!-- Facebook has a bounty program for the safe disclosure of security bugs. In
those cases, please go through the process outlined on that page and do not
file a public issue. -->

# Platform

<!-- if the question/problem is not platform-specific, please ignore this -->

OS: <!-- e.g. macOS 10.13.3 -->

Faiss version: <!-- git commit, e.g. 56383610bcb982d6591e2e2bea3516cb7723e04a -->

Faiss compilation options: <!-- e.g. using MKL with compile flags ... -->

Running on:
- [ ] CPU
- [ ] GPU

Interface:
- [ ] C++
- [ ] Python

# Reproduction instructions

<!-- Please provide specific and comprehensive instructions to reproduce the
described behavior. -->

<!-- Please *do not* post screenshots of logs. They are not searchable. Copy/paste
the text or make a gist if the text is too bulky. -->
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*.swp
*.swo
*.o
*.a
*.dSYM
*.so
*.dylib
*.pyc
*~
/config.*
/aclocal.m4
/autom4te.cache/
/makefile.inc
/bin/
/c_api/bin/
/c_api/gpu/bin/
/tests/test
/tests/gtest/
75 changes: 75 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
language: cpp

env:
global:
- OMP_NUM_THREADS=4

matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- python-numpy
- python-dev
- swig
- os: linux
compiler: gcc
addons:
apt:
packages:
- libatlas-base-dev
- liblapack-dev
- python-numpy
- python-dev
- swig
- os: linux
compiler: gcc
addons:
apt:
packages:
- libopenblas-dev
- liblapack-dev
- python-numpy
- python-dev
- swig
- os: linux
compiler: clang
addons:
apt:
packages:
- libopenblas-dev
- liblapack-dev
- python-numpy
- python-dev
- swig
env:
# NOTE: Hack, c.f. https://github.com/travis-ci/travis-ci/issues/8613
- LD_LIBRARY_PATH="/usr/local/clang/lib"
- os: osx
osx_image: xcode9.3
env:
- HOMEBREW_NO_AUTO_UPDATE=1
- MATRIX_EVAL="brew install gcc@6 numpy swig; brew link --overwrite gcc@6; export CC=gcc-6 CXX=g++-6"
- os: osx
osx_image: xcode9.3
env:
- HOMEBREW_NO_AUTO_UPDATE=1
- MATRIX_EVAL="brew install llvm numpy swig; brew link --overwrite llvm; export CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++"
- LDFLAGS="-L/usr/local/opt/llvm/lib"
- CPPFLAGS="-I/usr/local/opt/llvm/include"

before_install:
- eval "$MATRIX_EVAL"

install:
- aclocal
- autoconf
- ./configure
- make

script:
- make test
Loading

0 comments on commit d858233

Please sign in to comment.