Package Details: linux-xanmod-tt-headers 5.15.54-1

Git Clone URL: (read-only, click to copy)
Package Base: linux-xanmod-tt
Description: Headers and scripts for building modules for the Linux Xanmod. Development branch with the Task Type CPU Scheduler by Hamad Al Marri kernel
Upstream URL:
Licenses: GPL2
Submitter: figue
Maintainer: figue
Last Packager: figue
Votes: 23
Popularity: 0.185326
First Submitted: 2021-11-06 22:09 (UTC)
Last Updated: 2022-07-13 11:38 (UTC)

Latest Comments

1 2 3 4 Next › Last »

monarc99 commented on 2022-02-06 21:23 (UTC)


if i try to compile the package with a aur helper (like paru) the PKGBUILD file does not work, if i set the _compiler env to clang.

many aur helper use 2 steps to compile a package.

simplified: 1) makepkg -o (prepare) 2) makepkg -e (build)

To compile the kernel with clang, the _LLVM var has to be set to 1 in the PKGBUILD file. But its only set in the prepare section. Not in the build section.

prepare() { ... # Applying configuration cp -vf CONFIGS/xanmod/${_compiler}/config .config # enable LTO_CLANG_THIN if [ "${_compiler}" = "clang" ]; then scripts/config --disable LTO_CLANG_FULL scripts/config --enable LTO_CLANG_THIN _LLVM=1 fi ... }

The PKGBUILD works fine, if you execute both prepare&build in one makepkg call. If you separate prepare&build in two makepkg calls, the _LLVM var is not set in the build phase. (tries to compile with gcc, even then "$_compiler" is set to clang )

Can you move the definition of the _LLVM var to the global section at the start of the PKGBUILD?

e.g. if [ "${_compiler}" = "clang" ]; then _LLVM=1 fi

Gobidev commented on 2022-01-29 15:08 (UTC)

@figue Thank you very much!

figue commented on 2022-01-29 15:06 (UTC)

@Gobidev yeah, why not?

Gobidev commented on 2022-01-29 14:59 (UTC)

@figue Thanks a lot! Could you make the same change in 'linux-xanmod' and linux-xanmod-edge'? I am currently trying out different kernels and that would make it easier to change compile options.

figue commented on 2022-01-28 23:14 (UTC)

@Gobidev sure: 0a9f5df7a9b2

Gobidev commented on 2022-01-28 22:12 (UTC)

@figue can you add a if [ -z ${_makenconfig} ]; then around line 57 of PKGBUILD, so an already set variable wont get overwritten?

figue commented on 2021-11-14 21:35 (UTC)

@murlakatamenka you are right. Check my last comment :)

murlakatamenka commented on 2021-11-14 12:59 (UTC)

@figue do you know what happened to cacule? It's github repo is archived.

Guess development switched to TT sched and that's it.

vp1981 commented on 2021-11-08 00:03 (UTC)

@figue, got it. I switched to linux-xanmod-tt, thank you figue!