Cross compilation for Mobian
#4
(02-20-2022, 05:48 AM)pda64 Wrote: Hey, nicolapcweek94 Smile

I was able to build the latest GNU Emacs directly on the PinePhone's CPU, including the pure GTK and native elisp compilation features. I had to limit the build to two parallel jobs (more than 2 caused OOM crashes). It took ~2h:36m, CPU utilization was around 50% and the temperatures stabilized at constant 60°C on the CPU and 56°C on the GPU.

After this experience, I have become interested in cross-compilation as well, although I have very little experience with it.

Quote:I'm also looking to setup the whole thing as a repo with a weekly or daily build job, if the repo setup doesn't require too much maintenance, which I'd gladly share if anyone's interested.

Not me. I track the Emacs source code commit-by-commit; I'd never give up this control for any amount of convenience.

However, if you have it already figured out, please do share your method and observations.  Heart

My current solution has been to build Emacs on a Debian chroot (via debootstrap) on my Raspberry Pi 4, which has significantly shorter build times (with the same pgtk and nativecomp features). I'm currently working on a cross compilation pipeline from my much more powerful server, but I'm blocked by the fact that I might have broken my wifi with the keyboard cover, so I can't really test it. I'll update the thread when I have something working and testable!
  Reply


Messages In This Thread
Cross compilation for Mobian - by nicolapcweek94 - 01-05-2022, 08:33 AM
RE: Cross compilation for Mobian - by Gumur - 01-05-2022, 12:09 PM
RE: pure GTK Emacs with native compilation - by nicolapcweek94 - 02-21-2022, 02:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 77 42,224 10-27-2025, 10:19 AM
Last Post: biketool
  cryptocurrency on mobian/pinephone biketool 35 57,844 10-08-2025, 06:21 AM
Last Post: biketool
  Mobian MMS/SMS text problem bcnaz 16 26,899 09-15-2025, 02:42 AM
Last Post: georgegohl888
  XLibre for Mobian Hiraghm 1 2,148 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 274,151 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 1,916 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 2,454 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 2,886 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 2,870 04-29-2025, 02:10 PM
Last Post: mdk
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 2,986 01-15-2025, 08:08 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)