Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Identify my cpu architecture for apt-build config

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
Syrio
Posts: 5
Joined: 2022-08-12 00:40
Has thanked: 2 times

Identify my cpu architecture for apt-build config

#1 Post by Syrio »

Hi all! :)

I was thinking on using apt-build for some of my most used packages, but I'm actually confused about selecting the right architecture in the configs. Searching around I find some pretty old how-to's suggesting choose ATHLON for amd cpus. My question is: this choice would still aply to Ryzen series cpus (Ryzen 3 in this case)?

Thank you for any help regarding this. :)

jmgibson1981
Posts: 295
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Re: Identify my cpu architecture for apt-build config

#2 Post by jmgibson1981 »

I think this will help?

https://sourceforge.net/p/predef/wiki/Architectures/

In your case I'd think amd64 would be the likely choice. Not because "amd" but because that is the name of the architecture of nearly all non ARM cpu's these days, both Intel & AMD.

User avatar
Syrio
Posts: 5
Joined: 2022-08-12 00:40
Has thanked: 2 times

Re: Identify my cpu architecture for apt-build config

#3 Post by Syrio »

Thanks for your reply buddy :wink:

I'll look at this late night and post the results.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Identify my cpu architecture for apt-build config

#4 Post by Head_on_a_Stick »

Try

Code: Select all

# dpkg-reconfigure apt-build
Then pick "Native" as the Architecture.
deadbang

User avatar
Syrio
Posts: 5
Joined: 2022-08-12 00:40
Has thanked: 2 times

Re: Identify my cpu architecture for apt-build config

#5 Post by Syrio »

@Head_on_a_Stick Thanks mate. I'll try that tonight and post the results (at work right now :wink:)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Identify my cpu architecture for apt-build config

#6 Post by stevepusser »

I am pretty sure that any speed increase you'll see will be imperceptible to human beings, like only a gazillionth of a percentage...
MX Linux packager and developer

User avatar
Syrio
Posts: 5
Joined: 2022-08-12 00:40
Has thanked: 2 times

Re: Identify my cpu architecture for apt-build config

#7 Post by Syrio »

Managed to get apt-build working and the few packages i decided to build had worked fine. Time will tell if I'll really see any difference in speed but, for now, it's worth for the learning itself.
Thank you all for your time and help :D

Post Reply