Package Base Details: linux-xanmod-edge

Git Clone URL: https://aur.archlinux.org/linux-xanmod-edge.git (read-only, click to copy)
Submitter: figue
Maintainer: figue
Last Packager: figue
Votes: 7
Popularity: 2.36
First Submitted: 2021-07-03 09:57
Last Updated: 2021-10-17 19:56

Latest Comments

« First ‹ Previous 1 2

figue commented on 2021-07-05 07:35

  AR [M]  drivers/iio/industrialio.o
  GEN     .version
  CHK     include/generated/compile.h
  GEN     .tmp_initcalls.lds
/usr/bin/env: ‘python3’: No such file or directory
make: *** [Makefile:1200: vmlinux] Error 127
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/figue/packages/archbuild/testing-x86_64/figue/build

Indeed... python is needed

figue commented on 2021-07-04 23:56

I'm testing right now this PKGBUILD in testing chroot and python seems to not be required:

figue on pluto …/linux-xanmod-edge on  master [!?] ➜  diff -u PKGBUILD PKGBUILD_clang 
--- PKGBUILD    2021-07-05 00:12:29.928777588 +0200
+++ PKGBUILD_clang  2021-07-05 00:54:49.295521050 +0200
@@ -15,7 +15,7 @@
 ## Default is: 0 => generic
 ## Good option if your package is for one machine: 98 (Intel native) or 99 (AMD native)
 if [ -z ${_microarchitecture+x} ]; then
-  _microarchitecture=0
+  _microarchitecture=98
 fi

 ## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
@@ -23,7 +23,7 @@
 ## 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
+  use_numa=n
 fi

 ## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
@@ -31,12 +31,12 @@
 ## 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
+  use_tracers=n
 fi

 ## Choose between GCC and CLANG config (default is GCC)
 if [ -z ${_compiler+x} ]; then
-  _compiler=gcc
+  _compiler=clang
 fi

 # Compile ONLY used modules to VASTLY reduce the number of modules built
@@ -71,7 +71,7 @@
   xmlto kmod inetutils bc libelf cpio
 )
 if [ "${_compiler}" = "clang" ]; then
-  makedepends+=(clang llvm)
+  makedepends+=(clang llvm lld)
 fi
 options=('!strip')
 _srcname="linux-${pkgver}-xanmod${xanmod}"
@@ -111,7 +111,7 @@
   msg2 "Setting version..."
   scripts/setlocalversion --save-scmversion
   echo "-$pkgrel" > localversion.10-pkgrel
-  #echo "${pkgbase#linux-xanmod}" > localversion.20-pkgname
+  echo "${pkgbase#linux-xanmod}" > localversion.20-pkgname

   # Archlinux patches
   local src

jihem commented on 2021-07-04 23:11

Yes, I modified the PKGBUILD to select clang compiler by default. I don't know if it is possible to pass variables to chroot.

figue commented on 2021-07-04 22:06

@jihem did you modify PKGBUILD to build with testing-x86_64-build? Otherwise, how do you pass variables to chroot?

jihem commented on 2021-07-04 21:07

For clang compilation, it is necessary to add lld and python as makedepends. No idea why python is necessary, but otherwise the build fails (tested on a clean chroot using testing-x86_64-build).

There is also a typo on the kernel name in the following message: -> Prepared linux-xanmod-edge version 5.13.0-xanmod2-2-edge-edge