From: Pranav Kant Date: Fri, 16 May 2025 20:06:21 +0000 (-0700) Subject: sysdeps: Enable glibc f128 support for non-cuda and if compiler supports it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fgoogle%2Fgrte%2Fv5-2.27%2Fmaster;p=thirdparty%2Fglibc.git sysdeps: Enable glibc f128 support for non-cuda and if compiler supports it --- diff --git a/sysdeps/x86/bits/floatn.h b/sysdeps/x86/bits/floatn.h index 7387bbae38f..8f0108744b1 100644 --- a/sysdeps/x86/bits/floatn.h +++ b/sysdeps/x86/bits/floatn.h @@ -33,7 +33,7 @@ #if (defined __x86_64__ \ ? __GNUC_PREREQ (4, 3) \ : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \ - || defined __clang__ + || (defined __clang__ && defined __FLOAT128__ && !defined(__CUDA__)) # define __HAVE_FLOAT128 1 #else # define __HAVE_FLOAT128 0