Thread (3 messages) 3 messages, 2 authors, 2021-09-24

[PATCH] rteval: kcompile.py: Relax the requirement for kernel tarball filename

flat view
STALE1849d

From: <hidden>
Date: 2021-09-22 17:23:58
Subsystem: the rest · Maintainer: Linus Torvalds

From: venkata pyla <redacted>

The kcompile module includes kernel version when looking for tarballs
or source folders. This necessitates periodically bumping the
kernel_prefix but also requires the user to provide particular version
of the kernel sources when using this workload. As the intent is to
generate a compile workload the source version used shouldn't matter.

To make life easier both for users and developers, relax the
requirement for specific version of kernel sources when using
kcompile.

Signed-off-by: venkata pyla <redacted>
---
 rteval/modules/loads/kcompile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py
index 8d08a3d..be40a62 100644
--- a/rteval/modules/loads/kcompile.py
+++ b/rteval/modules/loads/kcompile.py
@@ -35,7 +35,7 @@ from rteval.Log import Log
 from rteval.misc import expand_cpulist, compress_cpulist
 from rteval.systopology import SysTopology
 
-kernel_prefix = "linux-5.13"
+kernel_prefix = "linux"
 
 class KBuildJob:
     '''Class to manage a build job bound to a particular node'''
-- 
2.20.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help