|
From: | Artem Loenko |
Subject: | bug#45455: [nextstep]: Emacs master does not compile on Apple Silicon (arm64) |
Date: | Sun, 27 Dec 2020 21:37:23 +0000 |
DO_CODESIGN=$(patsubst arm-apple-darwin%,yes,arm-apple-darwin20.2.0) diff --git a/build-aux/config.guess b/build-aux/config.guess index 92bfc33e29..e94095c5fb 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2020 Free Software Foundation, Inc. -timestamp='2020-04-26' +timestamp='2020-07-12' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1342,6 +1342,9 @@ EOF *:Rhapsody:*:*) echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" exit ;; + arm64:Darwin:*:*) + echo aarch64-apple-darwin"$UNAME_RELEASE" + exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in But in the `emacs-27` branch it calculates with a simple `uname -r` β to the `arm-apple-darwin` (I was able to reproduce it locally on the `emacs-27` branch). IIUC the only thing that this line does is to check whether to I see two options: - Backport `arm64:Darwin:*:*)` support within `config.guess` to emacs-27 branch and switch to `aarch64-apple-darwin` everywhere - Do not backport, but switch to `aarch64-apple-darwin` everywhere anyway :) What do you think? Regards, Artem Loenko |
[Prev in Thread] | Current Thread | [Next in Thread] |