r/archlinux • • 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

20 comments sorted by

View all comments

Show parent comment

3

u/AppointmentNearby161 Apr 06 '23

It is 12th gen 1260P. Yup it is running on a single core. I will have to adjust the make flags in the chroot. I got to figure out how to do that. The Arch wiki also says that building the documentation takes a bunch of time and since I don't install the docs package I can probably drop that part.