From ace67a08a257b3ca81c36e3410d49f0407b9d32c Mon Sep 17 00:00:00 2001 From: pmp-p Date: Tue, 26 Nov 2024 13:30:07 +0100 Subject: [PATCH] fix sym --- cibuild/linkimports.sh | 1 - cibuild/pg-git.sh | 3 +-- extra/vector.sh | 6 +++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cibuild/linkimports.sh b/cibuild/linkimports.sh index 98b31a09..dd4192db 100755 --- a/cibuild/linkimports.sh +++ b/cibuild/linkimports.sh @@ -65,7 +65,6 @@ _lowerstr _main _pg_getport _pg_initdb -_pg_initdb_main _pg_shutdown _readstoplist _searchstoplist diff --git a/cibuild/pg-git.sh b/cibuild/pg-git.sh index a6defeb8..879f76b7 100755 --- a/cibuild/pg-git.sh +++ b/cibuild/pg-git.sh @@ -42,7 +42,6 @@ else if $WASI then - echo "TODO $(which clang)" CNF="${PGSRC}/configure --prefix=${PGROOT} \ --disable-spinlocks --disable-atomics \ --without-zlib --disable-largefile --without-llvm \ @@ -55,7 +54,7 @@ else ZIC=/usr/sbin/zic \ CC=wasi-c \ CXX=wasi-c++ \ - CONFIG_SITE==${PGDATA}/config.site CONFIGURE=true \ + CONFIG_SITE=${PGDATA}/config.site \ $CNF \ --host=$(arch) --target=wasm32-unknown-wasi --with-template=wasi then diff --git a/extra/vector.sh b/extra/vector.sh index d4e9034b..92fdcb36 100755 --- a/extra/vector.sh +++ b/extra/vector.sh @@ -1,6 +1,6 @@ #!/bin/bash -mkdir -p build +mkdir -p build src pushd build # [ -d pgvector ] || git clone --no-tags --depth 1 --single-branch --branch master https://github.com/pgvector/pgvector @@ -9,8 +9,8 @@ pushd build then echo using local pgvector else - wget -c -q https://github.com/pgvector/pgvector/archive/refs/tags/v0.7.3.tar.gz -Opgvector.tar.gz - tar xvfz pgvector.tar.gz && rm pgvector.tar.gz + [ -f ../src/pgvector.tar.gz ] || wget -c -q https://github.com/pgvector/pgvector/archive/refs/tags/v0.8.0.tar.gz -O../src/pgvector.tar.gz + tar xvfz ../src/pgvector.tar.gz mv pgvector-?.?.? vector fi popd