Hello community,

here is the log from the commit of package dapl for openSUSE:Factory checked in 
at 2018-05-29 10:43:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dapl (Old)
 and      /work/SRC/openSUSE:Factory/.dapl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dapl"

Tue May 29 10:43:14 2018 rev:8 rq:611885 version:2.1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/dapl/dapl-debug.changes  2017-07-21 
22:50:20.124804865 +0200
+++ /work/SRC/openSUSE:Factory/.dapl.new/dapl-debug.changes     2018-05-29 
10:43:19.672017765 +0200
@@ -1,0 +2,6 @@
+Thu May 24 12:50:25 UTC 2018 - kasim...@outlook.de
+
+- Add patch for arm platform support
+  * dapl-add-arm-platform-support.patch
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/dapl/dapl.changes        2017-07-21 
22:50:20.620734907 +0200
+++ /work/SRC/openSUSE:Factory/.dapl.new/dapl.changes   2018-05-29 
10:43:20.599983517 +0200
@@ -1,0 +2,6 @@
+Thu May 24 12:47:16 UTC 2018 - kasim...@outlook.de
+
+- Add patch for arm platform support
+  * dapl-add-arm-platform-support.patch
+
+-------------------------------------------------------------------

New:
----
  dapl-add-arm-platform-support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dapl-debug.spec ++++++
--- /var/tmp/diff_new_pack.stTnxP/_old  2018-05-29 10:43:21.315957092 +0200
+++ /var/tmp/diff_new_pack.stTnxP/_new  2018-05-29 10:43:21.319956945 +0200
@@ -31,6 +31,7 @@
 Patch6:         dapl-man_page_fixes.patch
 Patch7:         dapl-fsf_address.patch
 Patch12:        dapl-s390.patch
+Patch13:        dapl-add-arm-platform-support.patch
 Url:            http://www.openfabrics.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
@@ -38,7 +39,6 @@
 BuildRequires:  libibverbs-devel
 BuildRequires:  librdmacm-devel
 BuildRequires:  libtool
-ExcludeArch:    armv7hl
 
 %if "%name" == "dapl"
 Conflicts:      dapl-debug
@@ -129,6 +129,7 @@
 %patch6
 %patch7
 %patch12
+%patch13
 
 %build
 %if %suse_version == 1110

++++++ dapl.spec ++++++
--- /var/tmp/diff_new_pack.stTnxP/_old  2018-05-29 10:43:21.343956059 +0200
+++ /var/tmp/diff_new_pack.stTnxP/_new  2018-05-29 10:43:21.347955911 +0200
@@ -31,6 +31,7 @@
 Patch6:         dapl-man_page_fixes.patch
 Patch7:         dapl-fsf_address.patch
 Patch12:        dapl-s390.patch
+Patch13:        dapl-add-arm-platform-support.patch
 Url:            http://www.openfabrics.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
@@ -38,7 +39,6 @@
 BuildRequires:  libibverbs-devel
 BuildRequires:  librdmacm-devel
 BuildRequires:  libtool
-ExcludeArch:    armv7hl
 
 %if "%name" == "dapl"
 Conflicts:      dapl-debug
@@ -129,6 +129,7 @@
 %patch6
 %patch7
 %patch12
+%patch13
 
 %build
 %if %suse_version == 1110

++++++ dapl-add-arm-platform-support.patch ++++++
diff -upr dapl-2.1.10.orig/dapl/udapl/linux/dapl_osd.h 
dapl-2.1.10/dapl/udapl/linux/dapl_osd.h
--- dapl/udapl/linux/dapl_osd.h 2018-05-24 13:31:37.000000000 +0200
+++ dapl/udapl/linux/dapl_osd.h 2018-05-24 14:03:08.040508060 +0200
@@ -51,7 +51,7 @@
 
 #if !defined (__i386__) && !defined (__ia64__) && !defined(__x86_64__) && \
     !defined(__PPC__) && !defined(__PPC64__) && !defined(__s390x__) && \
-    !defined(__aarch64__) && !defined(__s390__)
+    !defined(__aarch64__) && !defined(__arm__) && !defined(__s390__)
 #error UNDEFINED ARCH
 #endif
 
@@ -215,7 +215,7 @@ dapl_os_atomic_inc (
        : "=&r" (tmp), "+m" (v)
        : "b" (v)
        : "cc");
-#elif defined(__aarch64__)
+#elif defined(__aarch64__) || defined(__arm__)
     __atomic_fetch_add(v, 1, __ATOMIC_ACQ_REL);
 #else  /* !__ia64__ */
     __asm__ __volatile__ (
@@ -261,7 +261,7 @@ dapl_os_atomic_dec (
        : "=&r" (tmp), "+m" (v)
        : "b" (v)
        : "cc");
-#elif defined(__aarch64__)
+#elif defined(__aarch64__) || defined(__arm__)
     __atomic_fetch_add(v, -1, __ATOMIC_ACQ_REL);
 #else  /* !__ia64__ */
     __asm__ __volatile__ (
@@ -327,7 +327,7 @@ dapl_os_atomic_assign (
         : "=&r" (current_value), "=m" (*v)
         : "r" (v), "r" (match_value), "r" (new_value), "m" (*v)
         : "cc", "memory");
-#elif defined(__aarch64__)
+#elif defined(__aarch64__) || defined(__arm__)
     current_value = match_value;
     __atomic_compare_exchange_n(v, &current_value, new_value, 1,
                                __ATOMIC_ACQ_REL, __ATOMIC_RELAXED);

Reply via email to