Skip to content

Commit

Permalink
fix pgvector installation on CI with submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Oct 7, 2024
1 parent aa05f66 commit ef58c73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ci/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ function install_external_dependencies() {
if [[ $PG_VERSION -gt 12 ]]; then
# Install pgvector
pushd /tmp
wget --quiet -O pgvector.tar.gz https://github.com/lanterndata/pgvector/archive/refs/tags/v${PGVECTOR_VERSION}.tar.gz
tar xzf pgvector.tar.gz
rm -rf pgvector || true
mv pgvector-${PGVECTOR_VERSION} pgvector
git clone --recursive https://github.com/lanterndata/pgvector.git -b "v${PGVECTOR_VERSION}"
pushd pgvector
# Set max ef_search to 50000
# .bak trick is needed to make this work on both mac and linux
Expand Down

0 comments on commit ef58c73

Please sign in to comment.