Package Details: linux-xanmod-lts-headers 6.6.68-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod-lts.git (read-only, click to copy)
Package Base: linux-xanmod-lts
Description: Headers and scripts for building modules for the Linux Xanmod - Long Term Support [LTS] kernel
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 15
Popularity: 0.84
First Submitted: 2017-11-22 02:00 (UTC)
Last Updated: 2024-12-29 21:17 (UTC)

Pinned Comments

figue commented on 2018-12-15 22:40 (UTC) (edited on 2021-02-23 18:07 (UTC) by figue)

Please, check new release. You have now several variables to enable/disable features.

References:

##
## The following variables can be customized at build time. Use env or export to change at your wish
##
##   Example: env _microarchitecture=99 use_numa=n use_tracers=n use_pds=n makepkg -sc
##
## Look inside 'choose-gcc-optimization.sh' to choose your microarchitecture
## Valid numbers between: 0 to 99
## Default is: 0 => generic
## Good option if your package is for one machine: 99 => native
if [ -z ${_microarchitecture+x} ]; then
  _microarchitecture=0
fi

## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
## Archlinux and Xanmod enable it by default.
## Set variable "use_numa" to: n to disable (possibly increase performance)
##                             y to enable  (stock default)
if [ -z ${use_numa+x} ]; then
  use_numa=y
fi

## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
## Stock Archlinux and Xanmod have this enabled. 
## Set variable "use_tracers" to: n to disable (possibly increase performance)
##                                y to enable  (stock default)
if [ -z ${use_tracers+x} ]; then
  use_tracers=y
fi

# Compile ONLY used modules to VASTLY reduce the number of modules built
# and the build time.
#
# To keep track of which modules are needed for your specific system/hardware,
# give module_db script a try: https://aur.archlinux.org/packages/modprobed-db
# This PKGBUILD read the database kept if it exists
#
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
if [ -z ${_localmodcfg} ]; then
  _localmodcfg=n
fi

# Tweak kernel options prior to a build via nconfig
_makenconfig=

Personally I'm running now xanmod kernel compiled with this:

env use_numa=n use_tracers=n makepkg -s

Also, you can now put a file in your local repo to build this package with a custom config. You have to call this file myconfig.

Reference:

  # Put the file "myconfig" at the package folder (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod/myconfig"
  # If we detect partial file with scripts/config commands, we execute as a script
  # If not, it's a full config, will be replaced

Latest Comments

1 2 3 4 5 6 7 Next › Last »

enihcam commented on 2024-12-15 15:14 (UTC)

@figue right, i turned off all debug options because i don't need them.

figue commented on 2024-12-14 03:28 (UTC)

@enihcam builds fine for me (no custom configs, or so). Are you tuning your build?

enihcam commented on 2024-12-13 11:06 (UTC)

Reverting 1470aab31b9a resolves the issue.

enihcam commented on 2024-12-11 02:21 (UTC)

6.6.64-1 does not compile.

libbpf: failed to find '.BTF' ELF section in /tmp/makepkg/linux-xanmod-lts/src/linux-6.6/vmlinux
Error: failed to load BTF from /tmp/makepkg/linux-xanmod-lts/src/linux-6.6/vmlinux: No data available
make: *** [Makefile:208: vmlinux.h] Error 195
make: *** Deleting file 'vmlinux.h'
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'linux-xanmod-lts-6.6.64-1'

archdevlab commented on 2024-07-13 03:22 (UTC)

Hi you should consider fixing tomoyo in the config file like linux-lqx package https://aur.archlinux.org/cgit/aur.git/commit/?h=linux-lqx&id=86bc172b309b60f09b27a6aacc6c0361d57f24de

cyberpunkrocker commented on 2024-03-04 19:15 (UTC)

I get this deprecation warning with the mkinitcpio-38-3

==> WARNING: Deprecated option 'ALL_microcode' found. Update '/etc/mkinitcpio.d/linux-xanmod-lts.preset' to use the 'microcode' hook instead.

enihcam commented on 2024-02-18 23:55 (UTC)

thanks figue. one question: why pahole and python are needed as makedepend?

figue commented on 2024-02-18 21:48 (UTC) (edited on 2024-02-18 21:48 (UTC) by figue)

Thanks @enihcam I pushed the wrong PKGBUILD, because I have adapted the code but forgot to push to aur :|

enihcam commented on 2024-02-18 11:24 (UTC)

-> Setting version... Usage: scripts/setlocalversion [--no-local] [srctree] ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'linux-xanmod-lts-6.6.17-1': error: packages failed to build: linux-xanmod-lts-6.6.17-1

any ideas?

figue commented on 2023-07-05 19:17 (UTC)

Updated script choose-gcc-optimization.sh

Check new microarchitectures supported!