Package Details: linux-clear-headers 6.10.10-1

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Package Base: linux-clear
Description: Linux kernel with patches from Clear Linux which allow for higher performance. This package includes header files and scripts for building kernel modules.
Upstream URL: https://github.com/clearlinux-pkgs/linux
Keywords: clear clearlinux intel kernel
Licenses: GPL-2.0-only
Submitter: metak
Maintainer: JeremyStarTM
Last Packager: JeremyStarTM
Votes: 73
Popularity: 1.71
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-09-14 15:49 (UTC)

Pinned Comments

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2024-08-18 08:22 (UTC) by JeremyStarTM)

The PKGBUILD supports customization via environment variables. Here's a list of all of them:
_makemenuconfig: Invokes make menuconfig (default configuration menu) before compilation starts
_makenconfig: Invokes make nconfig (nicer configuration menu) before compilation starts
_makexconfig: Invokes make xconfig (GUI configuration menu) before compilation starts
_use_current: Will use the configuration of the running kernel, if the running kernel is compiled with IKCONFIG_PROC
_copyfinalconfig: Copies the final kernel configuration into the repository root as kconfig-new before compilation starts
_localmodcfg: Only compiles modules found in modprobed-db's database (which decreases compilation time and kernel size)
_use_llvm_lto: Compiles the kernel with LLVM instead of GCC. Should work, if not write a comment
_subarch: Specifies the sub architecture to compile for (see the PKGBUILD file for a list of all subarches). Default is 40 (Generic-x86-64), which is \compatible with all amd64 processors. Must be a number
_debug: Force enables debug options when set to y, force disables debug options when set to n or uses the config defaults when unset

All of these variables just need to be set for them to apply, except for _subarch and _debug.

If you want a dead simple way to compile this package, you can try out my build tool. It includes a few no nonsense changes to the kernel configuration and allows you to configure the PKGBUILD in a simple manner and decrease build time. And if you don't want that, using makepkg as-is works fine too.

JeremyStarTM commented on 2024-08-06 19:19 (UTC) (edited on 2024-08-06 19:40 (UTC) by JeremyStarTM)

Kernel has been updated and is now maintained again.

Thank you metak for creating this package in the first place.

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 49 Next › Last »

xstefen commented on 2021-08-28 02:01 (UTC) (edited on 2021-08-28 02:04 (UTC) by xstefen)

For those unfamiliar with CFLAGs/-march optimizations

> https://wiki.gentoo.org/wiki/Safe_CFLAGS

Info on what option to choose, the differences, etc..

tl;dr -march=native is usually ideal

lucenera commented on 2021-08-19 07:39 (UTC)

==> ERROR: Failure while downloading https://github.com/graysky2/kernel_compiler_patch/archive/20210817.tar.gz How to solve?

metak commented on 2021-07-07 10:54 (UTC)

@xawiw Previously I removed that build parameter from PKGBUILD file because the proper way is to set it with MAKEFLAGS in /etc/makepkg.conf.

@Dobbie03 If you don't want native optimizations then choose skylake.

Dobbie03 commented on 2021-07-07 08:08 (UTC)

What option should I choose for a Coffee Lake Core i9 9900?

xawlw commented on 2021-07-06 20:29 (UTC)

@metak Can you please add multi-threading to the build parameters?

make bzImage modules -j$(nproc --all)

metak commented on 2021-06-11 08:28 (UTC)

@PedroDePacas Version 20210606 was removed because of the broken patch for kernel versions 4.19-5.4. Fixed now.

PedroDePacas commented on 2021-06-11 07:00 (UTC) (edited on 2021-06-11 08:02 (UTC) by PedroDePacas)

@metak Hi. I'm getting this error:

Failure while downloading https://github.com/graysky2/kernel_compiler_patch/archive/20210606.tar.gz`

How can I fix it?

Khaithang commented on 2021-06-08 16:58 (UTC)

@metak, thanks, that was the case. Apparently 3G proved a bit low!. though i did check the usage and it stop while 250-300M was still available. and why the heck was i even using ram, my nvme SSD seems to be faster then that. thanks again for the tip.

metak commented on 2021-06-07 14:33 (UTC)

@Khaithang Have you tried compiling on SSD/HD instread of in RAM to check you're not running out of space? BUILDDIR=/tmp/makepkg