diff --git a/.github/workflows/linux_x64_docker_ci.yml b/.github/workflows/linux_x64_docker_ci.yml index 325e2191..984b158d 100644 --- a/.github/workflows/linux_x64_docker_ci.yml +++ b/.github/workflows/linux_x64_docker_ci.yml @@ -115,7 +115,8 @@ jobs: CMAKE_GENERATOR="Unix Makefiles" \ CMAKE_BUILD_PARALLEL_LEVEL="$NPROC" \ - pip install -v . + pip install -v . \ + --config-settings='cmake.define.BUILD_TOOLS="ON"' shell: bash - name: Run Python Tests with Coverage diff --git a/.github/workflows/mac_arm64_ci.yml b/.github/workflows/mac_arm64_ci.yml index b113f62d..8145ca0a 100644 --- a/.github/workflows/mac_arm64_ci.yml +++ b/.github/workflows/mac_arm64_ci.yml @@ -83,7 +83,8 @@ jobs: CMAKE_GENERATOR="Unix Makefiles" \ CMAKE_BUILD_PARALLEL_LEVEL="$NPROC" \ - pip install -v . + pip install -v . \ + --config-settings='cmake.define.BUILD_TOOLS="ON"' shell: bash - name: Run Python Tests with Coverage @@ -96,4 +97,4 @@ jobs: run: | cd "$CLEAN_WORKSPACE/build" make unittest -j 16 - shell: bash \ No newline at end of file + shell: bash diff --git a/tools/core/local_builder.cc b/tools/core/local_builder.cc index 46f6c6da..9efc6b4a 100644 --- a/tools/core/local_builder.cc +++ b/tools/core/local_builder.cc @@ -18,6 +18,8 @@ #include #include #include +#include "algorithm/flat/flat_utility.h" +#include "algorithm/hnsw/hnsw_params.h" #include "zvec/core/framework/index_dumper.h" #include "zvec/core/framework/index_factory.h" #include "zvec/core/framework/index_logger.h"