From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: native-comp branch on Raspberry Pi 4 Date: Thu, 16 Apr 2020 19:35:17 +0000 Message-ID: References: <87pnc7e6zt.fsf@u12000.fhaun.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="89127"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Frank Haun , emacs-devel@gnu.org To: Gong-Yi Liao =?utf-8?B?5buW5a6u5q+F?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 16 21:36:48 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPAJc-000N74-IX for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 21:36:48 +0200 Original-Received: from localhost ([::1]:38500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPAJb-0007SD-KT for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 15:36:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53008) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPAIM-0005my-Pi for emacs-devel@gnu.org; Thu, 16 Apr 2020 15:35:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPAIG-0005wu-VJ for emacs-devel@gnu.org; Thu, 16 Apr 2020 15:35:30 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:49592) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jPAIG-0005wI-M2 for emacs-devel@gnu.org; Thu, 16 Apr 2020 15:35:24 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 03GJZInK006970 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 16 Apr 2020 19:35:19 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 03GJZIqj020055; Thu, 16 Apr 2020 19:35:18 GMT In-Reply-To: ("Gong-Yi Liao =?utf-8?B?5buW5a6u5q+FIidz?= message of "Thu, 16 Apr 2020 13:50:50 -0500") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247124 Archived-At: Gong-Yi Liao =E5=BB=96=E5=AE=AE=E6=AF=85 writes: > Just curious... how long does it take to compile gcc & emacs native > on your aarch64 machine?=C2=A0 I have never successfully get it done on a > Rpi4b...=C2=A0 Aarch64 can be quite satisfying for compiling depending on the machine. On the one I used speed 2 compile time was about 100min (64 cores), newer generations should be faster. Anyway configuring libgccjit with "--enable-host-shared --enable-languages=3Djit --disable-bootstrap --enable-checking=3Drelease" makes compilation surprisingly cheap. And regarding Emacs make NATIVE_FAST_BOOT=3D1 BYTE_COMPILE_EXTRA_FLAGS=3D'--eval "(setq comp-sp= eed 0)"' Is the recipe to start with on constrained HW. On "normal" machines it completes in ~10 min so should be sustainable on any system. Andrea --=20 akrl@sdf.org