View previous topic :: View next topic |
Author |
Message |
prestige787 n00b
Joined: 18 Sep 2021 Posts: 39
|
Posted: Sat Sep 21, 2024 8:46 pm Post subject: Compiling on Another Machine With Different Architecture |
|
|
So I have an M2 macbook air, which is an arm machine, and would like to be able to compile certain packages on my desktop amd64 machine, especially packages like llvm, where the macbook starts to slow down significantly due to not having active cooling. This seems to not be too difficult if both computers have the same architecture, but I'm not sure how I would do this here. Ideally I could setup something where I ssh into the desktop and compile have a single command emerge the desired packages. Any help appreciated!
Side note, I've notices a lot of packages that lack the ~arm or ~arm64 flag compile and run just fine when I add in the flag to the ebuild, where would be the best place to report that the package works fine on the architecture? |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3689 Location: Rasi, Finland
|
Posted: Sun Sep 22, 2024 11:13 am Post subject: Re: Compiling on Another Machine With Different Architecture |
|
|
prestige787 wrote: | So I have an M2 macbook air, which is an arm machine, and would like to be able to compile certain packages on my desktop amd64 machine, especially packages like llvm, where the macbook starts to slow down significantly due to not having active cooling. This seems to not be too difficult if both computers have the same architecture, but I'm not sure how I would do this here. Ideally I could setup something where I ssh into the desktop and compile have a single command emerge the desired packages. Any help appreciated! |
See the Crossdev wiki page.
Although... My M2 compiles packages very fast, so I do not offload any compilations outside and instead do everything locally. The only thing slowing down some compilations is the lack of RAM.
prestige787 wrote: | Side note, I've notices a lot of packages that lack the ~arm or ~arm64 flag compile and run just fine when I add in the flag to the ebuild, where would be the best place to report that the package works fine on the architecture? | You should open a bug against the package for ~arm64 keywording. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sun Sep 22, 2024 11:58 am Post subject: |
|
|
There is also a QEMU chroot.
QEMU emulates your target CPU in softare and runs the target code.
That's on the Wiki too. As its software emulation of hardware, it's slow. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|