diff options
| -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"}) |
