diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2024-02-12 15:41:45 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2024-02-14 11:05:44 +0000 |
commit | f5fba53adaba8aea2275e37b50320cb524f82cf0 (patch) | |
tree | 2f71f8e7a6d0aae64afc06359b377de123462bf8 | |
parent | ee9a98bdd4a86d3aec82f86e124a6fcf3d6a0ed1 (diff) |
round-robin.sh (build_abe): Do not enable maintainer mode
This is causing unwanted build breakages, so disable it while we investigate.
Change-Id: I1cd1c35d65778dd8a0f345b6a358374451be49df
-rw-r--r-- | round-robin.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/round-robin.sh b/round-robin.sh index 849f026c..b195cf04 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -605,6 +605,28 @@ build_abe () ;; esac + # In precommit testing, enable maintainer_mode so that we + # regenerate files as needed. Also update $PATH to include the + # right versions of autoconf and automake. + # ${rr[update_baseline]} == "ignore" is an approximate detection + # of precommit testing mode, since this can also be true while we + # are bisecting. When bisecting, we want to keep the sources + # exactly as they were committed, so we don't enable + # maintainer_mode in this case. + # + # FIXME binutils, gdb and gcc are not ready for automatic + # maintainer_mode. Disable for all projects for the moment. + if [ "${rr[update_baseline]}" = "ignore" ] \ + && [ "${rr[mode]}" != "bisect" ] \ + && [ "$project" != "binutils" ] \ + && [ "$project" != "gcc" ] \ + && [ "$project" != "gdb" ] \ + && false; then + stage="$stage --enable maintainer_mode" + # No need to export PATH, it is already exported by parent processes + PATH=/usr/local/automake-1.15.1/bin:/usr/local/autoconf-2.69/bin:$PATH + fi + cd abe # Remove previous build directories and .stamp files. |