mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Fixed error with cross-compiling / universal binaries on Mac - #544 [skip ci]
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
## 0.7.1 (unreleased)
|
||||
|
||||
- Fixed `undefined symbol` error with GCC 8
|
||||
- Fixed error with cross-compiling / universal binaries on Mac
|
||||
|
||||
## 0.7.0 (2024-04-29)
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
#define USE_TARGET_CLONES
|
||||
#endif
|
||||
|
||||
/* Needed for cross-compiling / universal binaries on Mac */
|
||||
#if defined(USE_DISPATCH) && !defined(HAVE__GET_CPUID) && defined(__APPLE_CC__)
|
||||
#define HAVE__GET_CPUID
|
||||
#endif
|
||||
|
||||
#if defined(USE_DISPATCH)
|
||||
#define HALFVEC_DISPATCH
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user