pgvector.git / summary / log / commit / refs

commit    fa401b78839cebbb3a1b977f68878ff4f215d215
Author:   Andrew Kane <andrew@ankane.org>
Date:     Wed May 17 23:59:22 2023 +0000

    Fixed compilation error on PowerPC - closes #117
    
    Co-authored-by: Ilya <badt@appar.at>


CHANGELOG.md | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c9eb332..5df63325 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.4.3 (unreleased) - Fixed compilation error when `float8` is pass by reference +- Fixed compilation error on PowerPC - Fixed segmentation fault with index creation on i386 ## 0.4.2 (2023-05-13) diff --git a/Makefile b/Makefile index 7292da6d..6f75c564 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,11 @@ ifeq ($(shell uname -s), Darwin) endif endif +# PowerPC doesn't support -march=native +ifneq ($(filter ppc64%, $(shell uname -m)), ) + OPTFLAGS = +endif + # For auto-vectorization: # - GCC (needs -ftree-vectorize OR -O3) - https://gcc.gnu.org/projects/tree-ssa/vectorization.html # - Clang (could use pragma instead) - https://llvm.org/docs/Vectorizers.html [parent: e97ef5fbac43]