Package Details: linux-xanmod-rog 5.15.6.prexan0-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod-rog.git (read-only, click to copy)
Package Base: linux-xanmod-rog
Description: The Linux kernel and modules with Xanmod and ASUS ROG laptop patches (Zephyrus G14, G15, etc)
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Provides: ASUS-WMI-FAN-CONTROL, linux-rog
Submitter: aviallon
Maintainer: aviallon (arglebargle)
Last Packager: arglebargle
Votes: 5
Popularity: 3.08
First Submitted: 2021-10-25 08:18
Last Updated: 2021-12-01 11:07

Dependencies (15)

Required by (0)

Sources (31)

Latest Comments

arglebargle commented on 2021-11-19 01:35

In case anyone wants to build Clang LTO'd kernel packages I've included the DKMS patch that I'm using on my machine in the xanmod-rog repo.

You can find it here: https://gitlab.com/arglebargle-arch/xanmod-rog-PKGBUILD/-/blob/working/patch-dkms-for-llvm-clang-support.patch

Most -dkms modules build, the only one I've had persistent problems with is ZFS.

edit: DKMS 3.0.2 now includes support for Clang/lld, no patch required. If you want to try building a Clang LTO kernel export _compiler=clang before installing the package and you should be good to go.

arglebargle commented on 2021-10-29 23:16

@aviallon Yeah, I've been procrastinating fixing the history so I could post the package for at least a month or two now.

@icebarf I keep this in my /etc/makepkg.conf near the top:

_BUILDTHREADS="${THREADS:-$(($(nproc)-2))}"
msg2 "(debug) Using $_BUILDTHREADS threads ..." >&2

and later change MAKEFLAGS to

MAKEFLAGS="-j${_BUILDTHREADS}"

That lets me control the number of threads for any package build by starting makepkg with THREADS=n makepkg ... and will default to the number of threads on your system minus 2, which keeps your desktop usable while you install updates.

D3d3nD_d00d commented on 2021-10-29 03:43

Awesome work! Just a heads-up though: I very recently submitted a request for this package to be added to the Chaotic-AUR repository, for those who don't like waiting hours for kernels to compile. I guess my impatience outweighs my caution/paranoia.

icebarf commented on 2021-10-28 09:27

Would like to know where can i specify -jN where N is the number of the threads.

aviallon commented on 2021-10-25 08:20

Had to do a lot of work on the git history to be able to push this to AUR!