aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@126.com>2020-03-01 22:54:39 +0800
committerKevin Suo <suokunlong@126.com>2020-03-01 22:54:39 +0800
commitb0ee50aa5a9d2f0de4704227eb191ced993a27b4 (patch)
treeb1cc8714e01bde2fe284c8f3eebd77012a287b68
parent1a9bc8228738f3dff71d6a1c31d8a756c28852e7 (diff)
No need to run autogen.sh for every build
Run it for the first build only.
-rwxr-xr-xbibisect_build.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bibisect_build.py b/bibisect_build.py
index 1e96cf4..5567a90 100755
--- a/bibisect_build.py
+++ b/bibisect_build.py
@@ -260,8 +260,10 @@ if __name__ == "__main__":
raise Exception(f"Error when checking out {commit_hash}")
# Build
+ if i == 1:
+ run_process("./autogen.sh", log=log)
try:
- run_process("./autogen.sh && make build-nocheck", log=log)
+ run_process("make build-nocheck", log=log)
except KeyboardInterrupt:
exit(0)
except: