Anyone know why my MAKEFLAGS
from /etc/makepkg.conf
isn't seeming to affect compilation of this package? It's always using all of my threads.
MAKEFLAGS="-j12" # only use 12/32 threads so system is still usable
Git Clone URL: | https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy) |
---|---|
Package Base: | linux-xanmod |
Description: | Headers and scripts for building modules for the Linux Xanmod - Stable Mainline [MAIN] kernel |
Upstream URL: | http://www.xanmod.org/ |
Licenses: | GPL2 |
Submitter: | Yoshi2889 |
Maintainer: | figue (figuepluto, jfigueras) |
Last Packager: | figue |
Votes: | 127 |
Popularity: | 1.96 |
First Submitted: | 2017-02-14 09:40 (UTC) |
Last Updated: | 2024-03-15 23:21 (UTC) |
Anyone know why my MAKEFLAGS
from /etc/makepkg.conf
isn't seeming to affect compilation of this package? It's always using all of my threads.
MAKEFLAGS="-j12" # only use 12/32 threads so system is still usable
@xiota thank you.
Will be merged in next release.
Headers package doesn't need it IMHO.
In following code block, python
should be removed because it is already in the main makedepends
:
if [ "${_compiler}" = "clang" ]; then
makedepends+=(clang llvm lld python)
fi
Also, may be worthwhile to add following to _package-headers()
because dkms modules need the compiler originally used to make the kernel, but dkms
depends on gcc
only.
if [ "${_compiler}" = "clang" ]; then
depends+=(clang llvm lld)
fi
Same apply to linux-xanmod-lts
. They can wait until the next version bump.
I'm sorry, my stupidity, there wasn't enough disk space
@xpamych the key issues in AUR are "typical" if you build with makepkg. You need to import them as described here: https://wiki.archlinux.org/title/GnuPG#Searching_and_receiving_keys
About the issue compiling with clang: can you try with gcc and see if the problem persist?
I get an error when compiling, export _microarchitecture=99 use_numa=n use_tracers=n _compiler=clang && makepkg -sric
:
LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
make[6]: *** [scripts/Makefile.build:438: drivers/gpu/drm/amd/amdgpu/amdgpu.o] Ошибка 135
make[5]: *** [scripts/Makefile.build:480: drivers/gpu/drm/amd/amdgpu] Ошибка 2
make[4]: *** [scripts/Makefile.build:480: drivers/gpu/drm] Ошибка 2
make[3]: *** [scripts/Makefile.build:480: drivers/gpu] Ошибка 2
make[2]: *** [scripts/Makefile.build:480: drivers] Ошибка 2
make[1]: *** [/tmp/linux-xanmod/src/linux-6.6/Makefile:2068: .] Ошибка 2
make: *** [Makefile:234: __sub-make] Ошибка 2
==> ОШИБКА: Произошел сбой в build().
Прерывание...
------------------
when installing from aur without parameters, there is a problem with the key
==> ВНИМАНИЕ: Пропуск проверки PGP-подписей исходных файлов.
==> Проверка файлов source с использованием sha256sums...
linux-6.6.tar.xz ... Готово
linux-6.6.tar.sign ... Пропущено
patch-6.6.5-xanmod1.xz ... Готово
choose-gcc-optimization.sh ... Готово
:: (1/1) Анализ SRCINFO: linux-xanmod
gpg: error reading key: Нет открытого ключа
pub rsa4096 2011-09-23 [SC]
647F28654894E3BD457199BE38DBBDC86092693E
uid [ неизвестно ] Greg Kroah-Hartman <gregkh@linuxfoundation.org>
uid [ неизвестно ] Greg Kroah-Hartman <gregkh@kernel.org>
uid [ неизвестно ] Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>
sub rsa4096 2011-09-23 [E]
:: Ключи PGP, требующие импорта:
-> ABAF11C65A2970B130ABE3C479BE3E4300411886, требуется пакету: linux-xanmod
:: Импортировать? [Y/n]
:: Импортирование ключей с помощью gpg...
gpg: сбой при получении с сервера ключей: Нет данных
-> проблема импортирования ключей
I got it to compile, using Dracut.
@figue do you use an AMD GPU? Because I do.
@daemonspudguy yes, this, edge and binary.
That has the same error. Can you do a mkinitcpio with XanMod right now?
Pinned Comments
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: