We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e79329a + 89cd20c commit 0e87cafCopy full SHA for 0e87caf
1 file changed
Dockerfile
@@ -27,7 +27,7 @@ RUN apk add --no-cache python3 py3-netifaces \
27
wget -qO- "https://github.com/pgvector/pgvector/archive/refs/tags/v${PGVECTOR_VERSION}.tar.gz" \
28
| tar -xz -C /tmp; \
29
cd "/tmp/pgvector-${PGVECTOR_VERSION}" \
30
- && make PG_CONFIG=/usr/local/bin/pg_config \
+ && make $(if [ "$(uname -m)" = "x86_64" ]; then echo 'CFLAGS=-march=x86-64-v2'; fi) PG_CONFIG=/usr/local/bin/pg_config \
31
&& make install PG_CONFIG=/usr/local/bin/pg_config; \
32
cd / && rm -rf "/tmp/pgvector-${PGVECTOR_VERSION}"; \
33
apk del .pgvector-build; \
0 commit comments