[Gmp-commit] /var/hg/gmp: Accept pro/max variants of Apple chips

mercurial at gmplib.org mercurial at gmplib.org
Wed Jan 29 23:21:20 CET 2025


details:   /var/hg/gmp/rev/921ac57f053d
changeset: 18478:921ac57f053d
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Wed Jan 29 23:21:17 2025 +0100
description:
Accept pro/max variants of Apple chips

diffstat:

 ChangeLog    |  5 +++++
 config.guess |  8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 8e7bb4ae7a18 -r 921ac57f053d ChangeLog
--- a/ChangeLog	Wed Jan 29 22:38:02 2025 +0100
+++ b/ChangeLog	Wed Jan 29 23:21:17 2025 +0100
@@ -1,3 +1,8 @@
+2025-01-29  Albin Ahlbäck <albin.ahlback at gmail.com>
+	    Marc Glisse <marc.glisse at inria.fr>
+
+	* config.guess: Accept pro/max variants of Apple chips.
+
 2025-01-29  Rudi Heitbaum <rudi at heitbaum.com>
 	    Marc Glisse <marc.glisse at inria.fr>
 
diff -r 8e7bb4ae7a18 -r 921ac57f053d config.guess
--- a/config.guess	Wed Jan 29 22:38:02 2025 +0100
+++ b/config.guess	Wed Jan 29 23:21:17 2025 +0100
@@ -175,13 +175,13 @@
 arm*-*-* | aarch64-*-*)
   if [ $( (uname -s) 2>/dev/null) = Darwin ]; then
       case $(system_profiler SPHardwareDataType | grep Chip) in
-	  *Apple\ M1)
+	  *Apple\ M1 | *Apple\ M1\ *)
 	    exact_cpu="applem1";;
-	  *Apple\ M2)
+	  *Apple\ M2 | *Apple\ M2\ *)
 	    exact_cpu="applem2";;
-	  *Apple\ M3)
+	  *Apple\ M3 | *Apple\ M3\ *)
 	    exact_cpu="applem3";;
-	  *Apple\ M4)
+	  *Apple\ M4 | *Apple\ M4\ *)
 	    exact_cpu="applem4";;
       esac
   fi


More information about the gmp-commit mailing list