diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-02-27 15:06:33 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-03-01 11:46:47 +0000 |
commit | f64d30e3f08e7d731f6b37ccade481b9db2a1138 (patch) | |
tree | 4d80e6d6ac3c37003f5744d4fc903479277dbbf6 | |
parent | 56317f8c7c31f67194c0f56cb537e53bfe000e8d (diff) |
tcwg_kernel-bisect.sh: Fix linux-next rebase workaround for gnu builds
Specify binutils_branch and gcc_branch for gnu builds.
Change-Id: I52cd3d0d2837f1fe3c5c492dd657cc6c71408100
-rwxr-xr-x | tcwg_kernel-bisect.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tcwg_kernel-bisect.sh b/tcwg_kernel-bisect.sh index bfc8e6db..136dc24c 100755 --- a/tcwg_kernel-bisect.sh +++ b/tcwg_kernel-bisect.sh @@ -152,8 +152,21 @@ if [ x"$res" = x"0" ]; then if $rebase_workaround; then echo "Rebase workaround: no regression between $baseline_rev and $bad_rev" sed -i -e "s/\$/-bad_rev-good/" $artifacts/jenkins/build-name - cat > $artifacts/trigger-build-rebase <<EOF + case "${rr[ci_project]}/${rr[ci_config]}:$current_project" in + tcwg_kernel/llvm-*-next-*:linux) + cat > $artifacts/trigger-build-rebase <<EOF llvm_branch=baseline +EOF + ;; + tcwg_kernel/gnu-*-next-*:linux) + cat > $artifacts/trigger-build-rebase <<EOF +binutils_branch=baseline +gcc_branch=baseline +EOF + ;; + *) assert false ;; + esac + cat >> $artifacts/trigger-build-rebase <<EOF linux_branch=$baseline_rev reset_baseline=true EOF |