aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-11-22 23:58:54 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-11-22 23:58:54 +0100
commit8c2ef987bb90b4624ea684458f35b8ca7d2e04c0 (patch)
treedeaac5668cf0faeef6ee8cbf11ee0196ae5e8a6e
parent6cf3abcd9199f0a0cd2e5621b7da2ffe6fceede9 (diff)
downloadallocbench-8c2ef987bb90b4624ea684458f35b8ca7d2e04c0.tar.gz
allocbench-8c2ef987bb90b4624ea684458f35b8ca7d2e04c0.zip
fix fd.prepare()
always call provide of the linux sources to know where they were provided to
-rw-r--r--src/benchmarks/fd.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/benchmarks/fd.py b/src/benchmarks/fd.py
index 6b9c316..910b267 100644
--- a/src/benchmarks/fd.py
+++ b/src/benchmarks/fd.py
@@ -41,6 +41,10 @@ class BenchmarkFd(Benchmark):
def prepare(self):
super().prepare()
+ linux = GitArtifact("linux", "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git")
+ linux_version = "v5.3"
+ self.linux_files = linux.provide(linux_version)
+
if os.path.exists(self.build_dir):
return
@@ -61,9 +65,6 @@ class BenchmarkFd(Benchmark):
os.link(src, dest)
- linux = GitArtifact("linux", "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git")
- linux_version = "v5.3"
- self.linux_files = linux.provide(linux_version)
def summary(self):
self.barplot_single_arg("{task-clock}",