Dropped support for 32-bit systems [skip ci]

This commit is contained in:
Andrew Kane committed 2026-12-04 22:23:14 -08:00
1 parent a9c15caacf
commit a5f70ee634
3 files changed
+6 -24

No files matched your search

-24
View File
@@ -104,30 +104,6 @@ jobs:
shell: cmd
- if: ${{ failure() }}
run: cat regression.diffs
i386:
if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
# https://github.com/actions/runner-images/issues/14790
runs-on: ubuntu-24.04
container:
image: debian:12
options: --platform linux/386
steps:
- run: apt-get update && apt-get install -y build-essential git libipc-run-perl postgresql-15 postgresql-server-dev-15 sudo
- run: service postgresql start
- run: |
git clone https://github.com/${{ github.repository }}.git pgvector
cd pgvector
git fetch origin ${{ github.ref }}
git reset --hard FETCH_HEAD
make
make install
chown -R postgres .
sudo -u postgres make installcheck
sudo -u postgres make prove_installcheck
env:
PG_CFLAGS: -DUSE_ASSERT_CHECKING -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
- if: ${{ failure() }}
run: cat pgvector/regression.diffs
valgrind:
if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
runs-on: ubuntu-latest
+1
View File
@@ -20,6 +20,7 @@
- Fixed buffer usage statistics for parallel index builds
- Fixed worker query ID for parallel index builds
- Dropped support for Postgres 13 and 14
- Dropped support for 32-bit systems
## 0.8.7 (2026-10-01)
+5
View File
@@ -8,6 +8,11 @@
#error "Requires PostgreSQL 15+"
#endif
/* Check for 64-bit system in first header */
#if SIZEOF_VOID_P < 8 || SIZEOF_SIZE_T < 8
#error "Requires 64-bit"
#endif
extern uint64 (*BitHammingDistance) (uint32 bytes, unsigned char *ax, unsigned char *bx, uint64 distance);
extern double (*BitJaccardDistance) (uint32 bytes, unsigned char *ax, unsigned char *bx, uint64 ab, uint64 aa, uint64 bb);