Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 builds? #58

Open
multiflexi opened this issue Sep 4, 2022 · 11 comments
Open

aarch64 builds? #58

multiflexi opened this issue Sep 4, 2022 · 11 comments

Comments

@multiflexi
Copy link

Hi, would you consider aarch64 builds? I think it makes sense because those machines are usually quite under-powered and compilation takes forever.

@PedroHLC
Copy link
Member

PedroHLC commented Sep 4, 2022

We had them back in 2020, kept it for +/- an year. The amount of users was: 1 (me).

We could keep this issue open and people could leave a reaction in the post to manifest interest.

@D3vil0p3r
Copy link

Hey @PedroHLC is there a threshold of thumbs up to overcome to trigger the interest on building aarch64 packages in Chaotic?

@PedroHLC
Copy link
Member

I think that more important than the thumbs, is a co-maintainer to deal with those packages and routines in specific 😅

@D3vil0p3r
Copy link

The effort should not be limited only to those packages that are compiled by C-like languages, RUST or similar? For packages Python-based (or other scripting languages), I expect that the compatible arch should be any, they need only to move on an actual new directory aarch64, right? Do you expect that the packages built by prog languages like C and RUST are a lot?

@PedroHLC
Copy link
Member

Do you expect that the packages built by prog languages like C and RUST are a lot?

https://geo-mirror.chaotic.cx/chaotic-aur/pkgs.files.txt

╭─pedrohlc at laptop in /tmp
╰─λ rg '\-x86_64.pkg.tar.zst$' pkgs.files.txt | wc -l
2490
╭─pedrohlc at laptop in /tmp
╰─λ rg '\-any.pkg.tar.zst$' pkgs.files.txt | wc -l
1414

@D3vil0p3r
Copy link

Oh... What is creating aarch64 only for those packages tagged as any?

@PedroHLC
Copy link
Member

Oh... What is creating aarch64 only for those packages tagged as any?

Did you mean "What about creating"?

@D3vil0p3r
Copy link

I didn't give a look to the repo structure. In general I imagine that there should be a x86_64 folder containing all Chaotic AUR packages. I was thinking what about to create aarch64 folder where to copy all those 1414 any packages (ignoring the porting of the remaining x86_64 packages) so that at least that grup of 1414 packages can be used for ARM processors.

@PedroHLC
Copy link
Member

PedroHLC commented Nov 16, 2023

It should be possible, wouldn't need to copy the files, relative symlinks should work, the toolbox would need to be adapted for this. After we update the x86-64 DB we will have to delete missing links, add new links, update the Aarch64 DB. But, we don't have enough manpower for this change now. (Instead of calling it a Aarch64 DB, we could call it AnyOnly DB)

@D3vil0p3r
Copy link

It is a good idea. So you mean that there will be AnyOnly DB (that will work also for other CPUs) and it keeps the original any files, and X86_64 DB that will contain the original x86_64 only file + symlinks from Any DB?

@PedroHLC
Copy link
Member

PedroHLC commented Nov 16, 2023

It is a good idea. So you mean that there will be AnyOnly DB (that will work also for other CPUs) and it keeps the original any files, and X86_64 DB that will contain the original x86_64 only file + symlinks from Any DB?

90% right, except that the AnyDB will be the one 100% of symlinks instead of having it 50/50 which would only make our life harder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants