Updated script choose-gcc-optimization.sh
Check new microarchitectures supported!
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 LTS kernel |
Upstream URL: | http://www.xanmod.org/ |
Licenses: | GPL2 |
Submitter: | figue |
Maintainer: | figue (figuepluto, jfigueras) |
Last Packager: | figue |
Votes: | 13 |
Popularity: | 0.000001 |
First Submitted: | 2017-11-22 02:00 (UTC) |
Last Updated: | 2023-09-19 20:04 (UTC) |
Updated script choose-gcc-optimization.sh
Check new microarchitectures supported!
Turns out, I needed to have xterm installed. One would think it would have been installed by default.
@MikeDee _makenconfig=y opens the ncurses menu interface so you can customize your kernel in the traditional way. It seems you are launching the makepkg from some unknown terminal "Error opening terminal: unknown". If you are using some AUR helper or chroot, probably isn't compatible with nconfig or you are not setting TERM variable in your shell.
The package won't build for me:
arch/x86/Makefile:179: CONFIG_X86_X32 enabled but no binutils support -> Prepared linux-xanmod-lts version 5.15.72-xanmod1-1-lts UPD scripts/kconfig/nconf-cfg HOSTCC scripts/kconfig/nconf.o HOSTCC scripts/kconfig/nconf.gui.o HOSTLD scripts/kconfig/nconf Error opening terminal: unknown. make[1]: [scripts/kconfig/Makefile:48: nconfig] Error 1 make: [Makefile:619: nconfig] Error 2 ==> ERROR: A failure occurred in prepare(). Aborting...
If _makenconfig=y, then the it fails. If_makenconfig=n, then it works.
@figue i submitted a request to xanmod owner. it looks like LTS came back for now.
@enihcam yes, I see. Let me confirm and, at the end, I'll request package removal.
@figue, xanmod no longer maintains LTS.
@gsus use https://wiki.archlinux.org/title/Makepkg#Parallel_compilation
or you can export MAKEFLAGS="-j$(nproc)" in your terminal
For some reason the compilation are with one core only (and take a few hours), not with all cores.
I dont remember when this change happens, but I can force all core just to adding "-j12" to make in build() function?
Thanks
@tioguda fixed in 29371a5102f0. I don't know why I merged _compiler option. This branch doesn't have clang config file.
Thanks!
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:
Personally I'm running now xanmod kernel compiled with this:
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: