Skip to content

Instantly share code, notes, and snippets.

@z3ntu
Last active April 17, 2020 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save z3ntu/fa953f7ff093797ce546f8ab5edad232 to your computer and use it in GitHub Desktop.
Save z3ntu/fa953f7ff093797ce546f8ab5edad232 to your computer and use it in GitHub Desktop.
cmake git bisect
git bisect start
git bisect good v3.15.0
git bisect bad origin/master
git bisect run ~/dev/postmarketOS/unity8-stuff/system-settings-bisect-script.sh
#!/bin/bash
set -e
# compile cmake
make -C build -j9
cmake=$(realpath ./build/bin/cmake)
$cmake --version
# try to compile system-settings with the new cmake
pushd ~/dev/postmarketOS/unity8-stuff/system-settings
rm -rf build
$cmake -B build
make -C build -j9
popd
git bisect start
# good: [79bcf4e1655ffa38e8f4740b19ec3a14ac567eec] CMake 3.15.0
git bisect good 79bcf4e1655ffa38e8f4740b19ec3a14ac567eec
# bad: [ff3860b7257689a3bb2e7a356704a2f4fee56950] Merge topic 'update-gitsetup'
git bisect bad ff3860b7257689a3bb2e7a356704a2f4fee56950
# bad: [1257fc91ff63f58692033ee16061aa35a51dc735] Merge topic 'FindwxWidgets-mingw'
git bisect bad 1257fc91ff63f58692033ee16061aa35a51dc735
# good: [ff7c31abfd110e769e422d5005a8a41b21153fd6] CMake Nightly Date Stamp
git bisect good ff7c31abfd110e769e422d5005a8a41b21153fd6
# bad: [bab7ec3c259f31eb696f84c55ac80497e30f13df] Merge topic 'pch-generate'
git bisect bad bab7ec3c259f31eb696f84c55ac80497e30f13df
# bad: [541e681da26d3f264ad20228b66e6cfdfec83878] Merge topic 'split-custom-command-creation'
git bisect bad 541e681da26d3f264ad20228b66e6cfdfec83878
# good: [d83bff86409c0e414046d2aeb75946037e0d2de3] Merge topic 'free-find-commands'
git bisect good d83bff86409c0e414046d2aeb75946037e0d2de3
# good: [3061dc6ac967e859424f81fb70bbc70a74246055] add_custom_command: Add tests for rejecting literal quotes in commands
git bisect good 3061dc6ac967e859424f81fb70bbc70a74246055
# bad: [9c31d83aa2a3d3f5921f4a5a559e126e285b96c5] Merge topic 'autogen_path_prefix'
git bisect bad 9c31d83aa2a3d3f5921f4a5a559e126e285b96c5
# good: [e199294673665e01b1cba48625ec1b18c960c90e] Merge topic 'refactor-string-concat'
git bisect good e199294673665e01b1cba48625ec1b18c960c90e
# good: [51676cf65590f7a9bc3ad247151ee5bdc768eb77] Autogen: Split JobEvalCacheT job into separate moc and uic jobs
git bisect good 51676cf65590f7a9bc3ad247151ee5bdc768eb77
# bad: [706d9738a614724a96487be074e984a7e86c48c9] Tests: Merge QtAutogen.MocIncludeStrict and MocIncludeRelaxed
git bisect bad 706d9738a614724a96487be074e984a7e86c48c9
# good: [77983c814725317e990315be8bc8d5b93fa6ffbd] Autogen: Add IsHeader flag to SourceFileT class
git bisect good 77983c814725317e990315be8bc8d5b93fa6ffbd
# bad: [d018d27c101869e4e2449f938df89d4f97c5b73c] Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX)
git bisect bad d018d27c101869e4e2449f938df89d4f97c5b73c
# first bad commit: [d018d27c101869e4e2449f938df89d4f97c5b73c] Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment