From 1234fffcb0994c2a1b1d3be762dc8718a481d5bd Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 13 Apr 2024 20:17:33 -0700 Subject: [PATCH] Fixed CI --- src/vector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vector.c b/src/vector.c index 2f7c5bb..65bd189 100644 --- a/src/vector.c +++ b/src/vector.c @@ -33,8 +33,9 @@ #define STATE_DIMS(x) (ARR_DIMS(x)[0] - 1) #define CreateStateDatums(dim) palloc(sizeof(Datum) * (dim + 1)) +/* target_clones requires glibc */ #if defined(__x86_64__) && defined(__gnu_linux__) && defined(__has_attribute) && __has_attribute(target_clones) -#define VECTOR_DISPATCH __attribute__((target_clones("default", "arch=x86-64-v3"))) +#define VECTOR_DISPATCH __attribute__((target_clones("default", "fma"))) #else #define VECTOR_DISPATCH #endif