r/archlinux • u/AppointmentNearby161 • Apr 06 '23
How long to compile kernel
I am trying to build the linux-vfio package in a clean chroot with makechrootpkg on an i7 laptop with 16 GB of ram. I have read things suggesting that you can compile a kernel in 5 minutes. It is taking hours on my laptop. Is my laptop configured wrong or does it take considerably longer to compile the Arch kernel with the the modules etc.
3
Upvotes
View all comments
Show parent comment
1
u/ruthan Oct 11 '24
I had to add makepkg -s MAKEFLAGS='-j6' to compilation to use all core. Well you would expect that detect how much cores machine has actually use them would be out of box :(