File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77include (FetchContent )
88
9- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
9+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1010FetchContent_MakeAvailable (libpqxx)
1111
1212add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77include (FetchContent )
88
9- FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
10- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
11- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
9+ FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2 )
10+ FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0 )
11+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1212FetchContent_MakeAvailable (cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 20)
77include (FetchContent )
88
99FetchContent_Declare (disco GIT_REPOSITORY https://github.com/ankane/disco-cpp.git GIT_TAG v0.1.3)
10- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
10+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1111FetchContent_MakeAvailable (disco libpqxx)
1212
1313add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77include (FetchContent )
88
9- FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
10- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
11- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
9+ FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2 )
10+ FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0 )
11+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1212FetchContent_MakeAvailable (cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77include (FetchContent )
88
9- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
9+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1010FetchContent_MakeAvailable (libpqxx)
1111
1212add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ int main() {
4141 std::cout << ' .' << std::flush;
4242 }
4343
44- stream << pgvector::Vector (embeddings[i]);
44+ stream. write_values ( pgvector::Vector (embeddings[i]) );
4545 }
4646 stream.complete ();
4747 std::cout << std::endl << " Success!" << std::endl;
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77include (FetchContent )
88
9- FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
10- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
11- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
9+ FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2 )
10+ FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0 )
11+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1212FetchContent_MakeAvailable (cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77find_package (RDKit REQUIRED )
8- find_package (Boost COMPONENTS iostreams serialization system REQUIRED )
8+ find_package (Boost COMPONENTS iostreams serialization REQUIRED )
99
1010include (FetchContent )
1111
12- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
12+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1313FetchContent_MakeAvailable (libpqxx)
1414
1515add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 3.18)
22
33project (example)
44
5- set (CMAKE_CXX_STANDARD 17 )
5+ set (CMAKE_CXX_STANDARD 20 )
66
77include (FetchContent )
88
9- FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
10- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
11- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.5 )
9+ FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2 )
10+ FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0 )
11+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0 )
1212FetchContent_MakeAvailable (cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
You can’t perform that action at this time.
0 commit comments