LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File remove-assembler-for-armv5.diff of Package openmpi (Project home:jdomurath)

--- opal/asm/asm-data.txt
+++ opal/asm/asm-data.txt
@@ -48,15 +48,6 @@
 
 ######################################################################
 #
-# ARM (ARMv7 and later)
-#
-######################################################################
-
-ARM    default-.text-.globl-:--.L-#-1-1-1-1-1  arm-linux
-
-
-######################################################################
-#
 # Intel Pentium Class
 #
 ######################################################################
--- configure
+++ configure
@@ -27858,6 +27858,8 @@
     ompi_cv_asm_file=""
 fi
 
+    ompi_cv_asm_file=""
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic assembly filename" >&5
 $as_echo_n "checking for atomic assembly filename... " >&6; }
     if test "$ompi_cv_asm_file" = "" ; then
--- opal/include/opal/sys/atomic.h
+++ opal/include/opal/sys/atomic.h
@@ -310,7 +310,7 @@
 #endif
 void opal_atomic_unlock(opal_atomic_lock_t *lock);
 
-
+#if OPAL_WANT_SMP_LOCKS
 #if OPAL_HAVE_ATOMIC_SPINLOCKS == 0
 #undef OPAL_HAVE_ATOMIC_SPINLOCKS
 #define OPAL_HAVE_ATOMIC_SPINLOCKS (OPAL_HAVE_ATOMIC_CMPSET_32 || OPAL_HAVE_ATOMIC_CMPSET_64)
@@ -318,6 +318,7 @@
 #endif
 
 #endif /* OPAL_HAVE_ATOMIC_SPINLOCKS */
+#endif /* OPAL_WANT_SMP_LOCKS */
 
 
 /**********************************************************************