From 6b2b3e82ccf9fb2b726ec819a0af7892bbb5d21a Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 25 May 2026 00:59:03 +0000 Subject: goodfile should use shas directly for local untagged refs --- goodfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/goodfile b/goodfile index 20f3294..a90a885 100644 --- a/goodfile +++ b/goodfile @@ -38,7 +38,9 @@ Step.start("perf") Build.run({"git", "clone", "https://github.com/iximeow/disas-bench.git", "disas-bench"}) Build.run({"git", "submodule", "update", "--recursive", "--init"}, {cwd="disas-bench"}) Build.run({"git", "remote", "add", "dev", "../../.."}, {cwd="disas-bench/libs/yaxpeax"}) -Build.run({"git", "fetch", "-a", "dev"}, {cwd="disas-bench/libs/yaxpeax"}) +-- there might not be a ref for the current commit, if building locally and this is some untagged HEAD +-- so fetch by sha from ../../.. 'cause it *better* be the current commit. +Build.run({"git", "fetch", "dev", Build.sha}, {cwd="disas-bench/libs/yaxpeax"}) Build.run({"git", "checkout", Build.sha}, {cwd="disas-bench/libs/yaxpeax"}) Step.push("build") Build.run({"make", "make-bench-yaxpeax"}, {cwd="disas-bench/bench/yaxpeax"}) -- cgit v1.1