mirror of
https://abf.rosa.ru/djam/userspace-rcu.git
synced 2025-02-24 10:42:59 +00:00
0.11.1
This commit is contained in:
parent
528611405d
commit
d5ae3b25f2
3 changed files with 51 additions and 13 deletions
6
.abf.yml
6
.abf.yml
|
@ -1,6 +1,2 @@
|
|||
removed_sources:
|
||||
userspace-rcu-0.6.7.tar.bz2: ff77001c7063c40e28a65840584740803b34730b
|
||||
userspace-rcu-0.8.1.tar.bz2: d927520727a103f86aa2f87c76b1ca0df90fbfed
|
||||
userspace-rcu-0.8.6.tar.bz2: f10e9bf812557cd0c2a35a277e04010ec278d25d
|
||||
sources:
|
||||
userspace-rcu-0.9.1.tar.bz2: ca1b603655c3c5bf5d5b6254117999e3ae5f6751
|
||||
userspace-rcu-0.11.1.tar.bz2: 3678dc1eb736f61e22cdd8ab1140ac28b4d724af
|
||||
|
|
40
urcu-generic-buildfix-arm-clang.patch
Normal file
40
urcu-generic-buildfix-arm-clang.patch
Normal file
|
@ -0,0 +1,40 @@
|
|||
diff -up userspace-rcu-0.10.2/include/urcu/uatomic/aarch64.h.omv~ userspace-rcu-0.10.2/include/urcu/uatomic/aarch64.h
|
||||
diff -up userspace-rcu-0.10.2/include/urcu/uatomic/generic.h.omv~ userspace-rcu-0.10.2/include/urcu/uatomic/generic.h
|
||||
--- userspace-rcu-0.10.2/include/urcu/uatomic/generic.h.omv~ 2019-02-16 04:35:13.206673243 +0100
|
||||
+++ userspace-rcu-0.10.2/include/urcu/uatomic/generic.h 2019-02-16 04:36:13.006554473 +0100
|
||||
@@ -60,7 +60,7 @@ extern void _uatomic_link_error(void);
|
||||
|
||||
#ifndef uatomic_cmpxchg
|
||||
static inline __attribute__((always_inline))
|
||||
-unsigned long _uatomic_cmpxchg(void *addr, unsigned long old,
|
||||
+unsigned long _uatomic_cmpxchg(int *addr, unsigned long old,
|
||||
unsigned long _new, int len)
|
||||
{
|
||||
switch (len) {
|
||||
@@ -99,7 +99,7 @@ unsigned long _uatomic_cmpxchg(void *add
|
||||
|
||||
#ifndef uatomic_and
|
||||
static inline __attribute__((always_inline))
|
||||
-void _uatomic_and(void *addr, unsigned long val,
|
||||
+void _uatomic_and(int *addr, unsigned long val,
|
||||
int len)
|
||||
{
|
||||
switch (len) {
|
||||
@@ -138,7 +138,7 @@ void _uatomic_and(void *addr, unsigned l
|
||||
|
||||
#ifndef uatomic_or
|
||||
static inline __attribute__((always_inline))
|
||||
-void _uatomic_or(void *addr, unsigned long val,
|
||||
+void _uatomic_or(int *addr, unsigned long val,
|
||||
int len)
|
||||
{
|
||||
switch (len) {
|
||||
@@ -179,7 +179,7 @@ void _uatomic_or(void *addr, unsigned lo
|
||||
|
||||
#ifndef uatomic_add_return
|
||||
static inline __attribute__((always_inline))
|
||||
-unsigned long _uatomic_add_return(void *addr, unsigned long val,
|
||||
+unsigned long _uatomic_add_return(int *addr, unsigned long val,
|
||||
int len)
|
||||
{
|
||||
switch (len) {
|
|
@ -1,15 +1,16 @@
|
|||
%define major 4
|
||||
%define libname %mklibname urcu %{major}
|
||||
%define major 6
|
||||
%define libname %mklibname urcu %major
|
||||
%define develname %mklibname urcu -d
|
||||
|
||||
Name: userspace-rcu
|
||||
Summary: Userspace RCU (read-copy-update) library
|
||||
Version: 0.9.1
|
||||
Release: 4
|
||||
Version: 0.11.1
|
||||
Release: 1
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
URL: http://lttng.org/urcu
|
||||
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
|
||||
Patch0: urcu-generic-buildfix-arm-clang.patch
|
||||
|
||||
%description
|
||||
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data
|
||||
|
@ -20,6 +21,7 @@ accesses to detect grace periods after which memory reclamation is possible.
|
|||
|
||||
%package -n %{libname}
|
||||
Summary: Userspace RCU (read-copy-update) library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libname}
|
||||
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data
|
||||
|
@ -37,14 +39,14 @@ Requires: %{libname} = %{version}
|
|||
Development file for the userspace RCU library (liburcu).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%makeinstall_std
|
||||
%make_install
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/liburcu*.so.%{major}*
|
||||
|
|
Loading…
Add table
Reference in a new issue