Commit e91027a
committed
fix: don't pass -march=native into the vendored pgvector build (riscv64)
All four riscv64 build legs failed identically after 30+ minutes,
partway through compiling pgvector (fetched and built by pgserver's
own pgbuild/Makefile): GCC on manylinux_2_39_riscv64 rejects
`-march=native` outright ("ISA string must begin with rv32 or rv64"),
which pgvector's Makefile passes unconditionally except for Mac ARM
and ppc64.
Add patches/pgserver/0.1.4/0002-*.patch, overriding OPTFLAGS to empty
on the pgbuild/Makefile invocations that build pgvector, the same way
pgvector's own Makefile already blanks it for architectures that
reject -march=native. Verified the patch applies cleanly (alone and
together with the existing 0001 licensing patch) against a fresh
v0.1.4 checkout.
check_commit_messages was failing on an older run (35966092162) but
passes on the current HEAD's latest run; no commit-message change
needed.1 parent a1c86b5 commit e91027a
1 file changed
Lines changed: 48 additions & 0 deletions
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments