Skip to content

Commit 87586c0

Browse files
aerospike: Add version 19.3.0 (#2356)
1 parent 34ee386 commit 87586c0

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

‎docs/packages/aerospike.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ versions:
1414
sha256: 5d52d399bd852c9fc41f664158f59aa8aeddcbca26b3ff4ec9b6fd0b22643e2c
1515
- filename: aerospike-19.2.2-cp314-cp314t-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl
1616
sha256: b86daf3226fe26d830f5868d89b62d26b0ba909acf4fa755f6992da4761b2752
17+
- version: 19.3.0
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Upstream-Status: To upstream [not yet submitted]
2+
3+
as_arch_pause() is only defined for __x86_64__/__aarch64__ (and _MSC_VER), but is
4+
used unconditionally by the spinlock/rwlock inline functions in as_atomic_gcc.h,
5+
which are always compiled. On any other architecture (e.g. riscv64) this is an
6+
implicit-declaration compile error under -Werror. Add a portable no-op fallback,
7+
matching the existing MSVC-vs-gcc/clang structure of the file.
8+
--- a/aerospike-client-c/modules/common/src/include/aerospike/as_arch.h
9+
+++ b/aerospike-client-c/modules/common/src/include/aerospike/as_arch.h
10+
@@ -33,6 +33,10 @@
11+
12+
#define as_arch_pause() asm volatile("isb" : : : "memory")
13+
14+
+#else
15+
+
16+
+#define as_arch_pause()
17+
+
18+
#endif
19+
20+
#endif // gcc & clang

0 commit comments

Comments
 (0)