[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: native-comp branch on Raspberry Pi 4
From: |
Andrea Corallo |
Subject: |
Re: native-comp branch on Raspberry Pi 4 |
Date: |
Thu, 16 Apr 2020 19:35:17 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Gong-Yi Liao 廖宮毅 <address@hidden> writes:
> Just curious... how long does it take to compile gcc & emacs native
> on your aarch64 machine? I have never successfully get it done on a
> Rpi4b...
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=jit --disable-bootstrap --enable-checking=release"
makes compilation surprisingly cheap.
And regarding Emacs
make NATIVE_FAST_BOOT=1 BYTE_COMPILE_EXTRA_FLAGS='--eval "(setq comp-speed 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
--
address@hidden