diff options
| author | iximeow <me@iximeow.net> | 2026-05-25 00:59:03 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-05-25 00:59:27 +0000 |
| commit | 6b2b3e82ccf9fb2b726ec819a0af7892bbb5d21a (patch) | |
| tree | 21c8e0d22d8db9f9e50de07a67e276a5c7abc818 | |
| parent | 99a6378389b99784187058adbea6cfca26963d98 (diff) | |
goodfile should use shas directly for local untagged refs
| -rw-r--r-- | goodfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"}) |
