Cross-compile from AUR and dependencies?

Ask questions about Arch Linux ARM. Please search before making a new topic.

Cross-compile from AUR and dependencies?

Postby ngoonee » Sun Feb 21, 2021 9:44 am

I can manually compile AUR packages on the PI3+ I have, but it becomes tedious when there's lots of dependencies (currently looking at seafile and seahub).

On my x64 machines I just use aurutils which will automate the handling of those dependencies. I could do that in the PI, but it takes ages to complete (IO + CPU).

Is there a reasonably easy may to use my much more powerful x64 machines to cross-compile including dependencies from the AUR? distcc is awesome, but I'd still be having to feed it a list of packages. Would the easiest way be qemu or similar to switch architecture on the x64 machine as in viewtopic.php?f=30&t=9294 ?
ngoonee
 
Posts: 17
Joined: Wed Apr 20, 2016 8:26 pm

Re: Cross-compile from AUR and dependencies?

Postby graysky » Sun Feb 21, 2021 11:33 am

Automate dependencies? No. Cross compile, yes:
https://wiki.archlinux.org/index.php/Di ... volunteers)
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Cross-compile from AUR and dependencies?

Postby ngoonee » Sun Feb 21, 2021 10:09 pm

Thanks graysky (how come when I try to quote you it says 'too old to reply'?), seems like I'll have to explore using qemu to effectively setup a virtualized ARM install and run aurutils or similar within it =(
ngoonee
 
Posts: 17
Joined: Wed Apr 20, 2016 8:26 pm

Re: Cross-compile from AUR and dependencies?

Postby graysky » Sun Feb 21, 2021 10:32 pm

Not sure about quoting... I don't recommend qemu but do as you wish.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Cross-compile from AUR and dependencies?

Postby bulletmark » Sun Feb 21, 2021 11:04 pm

@ngoonee, the quoting bug has existed here for many years. For some reason it has never been fixed. See this thread and my comment here.
bulletmark
 
Posts: 98
Joined: Tue Oct 13, 2015 10:17 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests