Skip to content

Commit dd0514f

Browse files
committed
Merge branch 'pgvector-arch'
2 parents 6898122 + e7e8b56 commit dd0514f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN apk add --no-cache python3 py3-netifaces \
2424
wget -qO- "https://github.com/pgvector/pgvector/archive/refs/tags/v${PGVECTOR_VERSION}.tar.gz" \
2525
| tar -xz -C /tmp; \
2626
cd "/tmp/pgvector-${PGVECTOR_VERSION}" \
27-
&& make PG_CONFIG=/usr/local/bin/pg_config \
27+
&& make CFLAGS="-march=x86-64-v2" PG_CONFIG=/usr/local/bin/pg_config \
2828
&& make install PG_CONFIG=/usr/local/bin/pg_config; \
2929
cd / && rm -rf "/tmp/pgvector-${PGVECTOR_VERSION}"; \
3030
apk del .pgvector-build; \

0 commit comments

Comments
 (0)