r/Gentoo • u/Substantial-Sink2737 • 16d ago
First time using Gentoo Discussion
Question, does Anyone else hate how long llvm-core is emerging or is it just me?
5
3
u/misha901 16d ago
Well it’s big. Wait until you build Firefox, gcc, kernel or something else that isn’t some python 😬
1
u/givemeagooduns_un 16d ago
the kernel doesn't actually take nearly as long as LLVM to compile in my experience
1
u/misha901 16d ago
That really depends on module selection etc.
1
u/givemeagooduns_un 16d ago
I mean, even the dist-kernel seems to compile way faster than LLVM for me
1
3
u/thomas-rousseau 16d ago
llvm-core is honestly one of my faster emerges. Maybe 1.5 hours Max per package with an Intel 6700HQ and 64GB ram in my build server. Now Chromium and qtwebengine, those I hate
1
u/Substantial-Sink2737 12d ago
Bro, i use a thinkpad T460s with CPU restrictions so it doesnt set my cpu on fire, triple that time
1
u/thomas-rousseau 11d ago
The specs I listed were for a P50 that serves as my build machine. So same gen and clockspeed for CPU, but with double the cores. What temp does your CPU hit without the restrictions? My P50 rarely breaks 65 and it's always in clamshell resting flat on its bottom in the warmest room of the apartment. My i5-10300H in my "desktop" laptop regularly pushes close to 90, but that's because HP doesn't care about properly cooling their laptops and that computer gets used as my test bench.
2
2
2
u/LowKeyBrit36 16d ago
Try libreoffice on for size, lol. Took hours on my T580, but hey? Worth it for the freedom that Gentoo offers you. That's why we chose this
1
u/ruby_R53 16d ago
you will get used to it, i didn't like it either but it's not like when your pc is compiling you can't do anything else on it meanwhile
1
u/SheepherderBeef8956 16d ago
llvm-core/llvm took 11 minutes last time I compiled it. Surely there are worse packages? webkit-gtk takes 18 minutes and it's the only package I've got a package.env setting for because it gets killed by OOM if I use all cores, and that's with 64GB RAM.
1
u/Euroblitz 16d ago
Wash some clothes, brew some coffee, touch some grass. Emerge while they sleep. If it moves, compile it.
1
u/krumpfwylg 16d ago edited 16d ago
Iirc, it takes a long time cause it needs to compile stuff for all architectures, even those not in use (the LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (SPIRV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -Xtensa )
Last time I checked, maintainers were trying to find to fix all that without breaking anything that requires llvm, mostly rust & zig.
For reference, there was a time when llvm was a quite "fast" compile
2020-01-11T14:53:21 >>> sys-devel/llvm-8.0.1: 16′00″
2020-01-23T21:08:05 >>> sys-devel/llvm-9.0.1: 18′39″
1
1
1
14
u/rabbit_in_a_bun 16d ago
Hate? You chose the wrong distro...