Skip to content

Commit

Permalink
Merge branch 'main' into export-D46385243
Browse files Browse the repository at this point in the history
  • Loading branch information
algoriddle authored Jun 8, 2023
2 parents d03994c + f82298f commit 5a08dc9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ project(faiss
LANGUAGES ${FAISS_LANGUAGES})
include(GNUInstallDirs)

if(FAISS_ENABLE_RAFT)
set(CMAKE_CXX_STANDARD 17)
else()
set(CMAKE_CXX_STANDARD 11)
endif()

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")

Expand Down
1 change: 0 additions & 1 deletion faiss/AutoTune.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#define FAISS_AUTO_TUNE_H

#include <stdint.h>
#include <unordered_map>
#include <vector>

#include <faiss/Index.h>
Expand Down
2 changes: 1 addition & 1 deletion faiss/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ project(pyfaiss
HOMEPAGE_URL "https://github.com/facebookresearch/faiss"
LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

find_package(SWIG REQUIRED COMPONENTS python)
include(${SWIG_USE_FILE})
Expand Down

0 comments on commit 5a08dc9

Please sign in to comment.