Added AArch64 support

This commit is contained in:
Peter Robinson 2014-05-22 10:40:18 +01:00
parent aa6e5b9f83
commit 0ff0a00fd2
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
Index: userspace-rcu-0.8.1/configure
===================================================================
--- userspace-rcu-0.8.1.orig/configure
+++ userspace-rcu-0.8.1/configure
@@ -12685,6 +12685,8 @@ case $host_cpu in #(
ARCHTYPE="mips" ;; #(
tile*) :
ARCHTYPE="gcc" ;; #(
+ aarch64) :
+ ARCHTYPE="gcc" ;; #(
*) :
ARCHTYPE="unknown"
;;
Index: userspace-rcu-0.8.1/configure.ac
===================================================================
--- userspace-rcu-0.8.1.orig/configure.ac
+++ userspace-rcu-0.8.1/configure.ac
@@ -79,6 +79,7 @@ AS_CASE([$host_cpu],
[arm*], [ARCHTYPE="arm"],
[mips*], [ARCHTYPE="mips"],
[tile*], [ARCHTYPE="gcc"],
+ [aarch64], [ARCHTYPE="gcc"],
[ARCHTYPE="unknown"]
)

View File

@ -1,12 +1,13 @@
Name: userspace-rcu
Version: 0.8.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: RCU (read-copy-update) implementation in user space
Group: System Environment/Libraries
License: LGPLv2+
URL: http://lttng.org/urcu/
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
Patch0: userspace-rcu-aarch64.patch
BuildRequires: pkgconfig
# Upstream do not yet support mips
ExcludeArch: mips
@ -30,6 +31,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
%build
@ -70,6 +72,9 @@ rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la
%changelog
* Thu May 22 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.8.1-2
- Added AArch64 support
* Mon Feb 10 2014 Yannick Brosseau <yannick.brosseau@gmail.com> 0.8.1-1
- New upstream release