mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-06 04:30:56 +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)
|
## 0.7.1 (unreleased)
|
||||||
|
|
||||||
- Fixed `undefined symbol` error with GCC 8
|
- Fixed `undefined symbol` error with GCC 8
|
||||||
|
- Fixed error with cross-compiling / universal binaries on Mac
|
||||||
|
|
||||||
## 0.7.0 (2024-04-29)
|
## 0.7.0 (2024-04-29)
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,11 @@
|
|||||||
#define USE_TARGET_CLONES
|
#define USE_TARGET_CLONES
|
||||||
#endif
|
#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)
|
#if defined(USE_DISPATCH)
|
||||||
#define HALFVEC_DISPATCH
|
#define HALFVEC_DISPATCH
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user