From 8c2ef987bb90b4624ea684458f35b8ca7d2e04c0 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 22 Nov 2019 23:58:54 +0100 Subject: fix fd.prepare() always call provide of the linux sources to know where they were provided to --- src/benchmarks/fd.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/benchmarks') 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}", -- cgit v1.2.3