[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 01/01: Make debian/patches/any/local-cudacc-float128.diff apply to POWER too.



This is an automated email from the git hooks/post-receive script.

adconrad pushed a commit to branch glibc-2.26
in repository glibc.

commit 0ab7eef2b89d372ad2c235f5cbf8f383958f68f4
Author: Adam Conrad <adconrad@0c3.net>
Date:   Wed Oct 11 15:19:49 2017 -0600

    Make debian/patches/any/local-cudacc-float128.diff apply to POWER too.
---
 debian/patches/any/local-cudacc-float128.diff | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/any/local-cudacc-float128.diff b/debian/patches/any/local-cudacc-float128.diff
index 254a850..e01a35b 100644
--- a/debian/patches/any/local-cudacc-float128.diff
+++ b/debian/patches/any/local-cudacc-float128.diff
@@ -16,3 +16,14 @@ Last-Update: 2017-10-11
  # define __HAVE_FLOAT128 1
  #else
  # define __HAVE_FLOAT128 0
+--- glibc-2.26.orig/sysdeps/powerpc/bits/floatn.h
++++ glibc-2.26/sysdeps/powerpc/bits/floatn.h
+@@ -25,7 +25,7 @@
+    floating-point type with the IEEE 754 binary128 format, and this glibc
+    includes corresponding *f128 interfaces for it.  */
+ #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \
+-    && defined __FLOAT128__
++    && defined __FLOAT128__ && !defined(__CUDACC__)
+ # define __HAVE_FLOAT128 1
+ #else
+ # define __HAVE_FLOAT128 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: