From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
Andrejs Cainikovs <andrejs.cainikovs@toradex.com>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Sean Anderson <seanga2@gmail.com>
Subject: [PATCH v3 3/3] RFC: CI: Skip building dtc for world builds
Date: Thu, 15 Aug 2024 13:57:46 -0600 [thread overview]
Message-ID: <20240815195746.749042-4-sjg@chromium.org> (raw)
In-Reply-To: <20240815195746.749042-1-sjg@chromium.org>
This is quite a significant waste of time in the world builds as dtc is
built separately for each board. Skip this to speed up the builds.
Unfortunately the newer dtc produces a lot of warnings, which causes CI
to fail. I am not sure what we can do about this.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v3:
- Drop patches previously applied
- Add dtc patches
.azure-pipelines.yml | 2 +-
.gitlab-ci.yml | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index e1b2f87b974..4bdf1daa59c 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -561,7 +561,7 @@ stages:
cat << "EOF" >> build.sh
if [[ "${BUILDMAN}" != "" ]]; then
ret=0;
- tools/buildman/buildman -o /tmp -PEWM ${BUILDMAN} ${OVERRIDE} || ret=$?;
+ tools/buildman/buildman -o /tmp -PEWM --dtc-skip ${BUILDMAN} ${OVERRIDE} || ret=$?;
if [[ $ret -ne 0 ]]; then
tools/buildman/buildman -o /tmp -seP ${BUILDMAN};
exit $ret;
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a15b7352cd..b231b6cd5a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,7 +104,7 @@ build all 32bit ARM platforms:
- ret=0;
git config --global --add safe.directory "${CI_PROJECT_DIR}";
pip install -r tools/buildman/requirements.txt;
- ./tools/buildman/buildman -o /tmp -PEWM arm -x aarch64 || ret=$?;
+ ./tools/buildman/buildman -o /tmp -PEWM --dtc-skip arm -x aarch64 || ret=$?;
if [[ $ret -ne 0 ]]; then
./tools/buildman/buildman -o /tmp -seP;
exit $ret;
@@ -118,7 +118,7 @@ build all 64bit ARM platforms:
- ret=0;
git config --global --add safe.directory "${CI_PROJECT_DIR}";
pip install -r tools/buildman/requirements.txt;
- ./tools/buildman/buildman -o /tmp -PEWM aarch64 || ret=$?;
+ ./tools/buildman/buildman -o /tmp -PEWM --dtc-skip aarch64 || ret=$?;
if [[ $ret -ne 0 ]]; then
./tools/buildman/buildman -o /tmp -seP;
exit $ret;
@@ -129,7 +129,7 @@ build all PowerPC platforms:
script:
- ret=0;
git config --global --add safe.directory "${CI_PROJECT_DIR}";
- ./tools/buildman/buildman -o /tmp -P -E -W powerpc || ret=$?;
+ ./tools/buildman/buildman -o /tmp -PEW --dtc-skip powerpc || ret=$?;
if [[ $ret -ne 0 ]]; then
./tools/buildman/buildman -o /tmp -seP;
exit $ret;
@@ -140,7 +140,7 @@ build all other platforms:
script:
- ret=0;
git config --global --add safe.directory "${CI_PROJECT_DIR}";
- ./tools/buildman/buildman -o /tmp -PEWM -x arm,powerpc || ret=$?;
+ ./tools/buildman/buildman -o /tmp -PEWM --dtc-skip -x arm,powerpc || ret=$?;
if [[ $ret -ne 0 ]]; then
./tools/buildman/buildman -o /tmp -seP;
exit $ret;
--
2.34.1
next prev parent reply other threads:[~2024-08-15 19:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-15 19:57 [PATCH v3 0/3] This series adds a few patches to make it easy to use the system dtc in Simon Glass
2024-08-15 19:57 ` [PATCH v3 1/3] buildman: Support building within a Python venv Simon Glass
2024-09-06 0:53 ` Simon Glass
2024-08-15 19:57 ` [PATCH v3 2/3] buildman: Allow skipping the dtc build Simon Glass
2024-08-16 17:22 ` Tom Rini
2024-08-16 23:53 ` Simon Glass
2024-08-22 3:00 ` Simon Glass
2024-08-22 14:10 ` Tom Rini
2024-08-22 14:15 ` Simon Glass
2024-09-01 20:09 ` Simon Glass
2024-09-02 15:39 ` Tom Rini
2024-09-10 18:41 ` Simon Glass
2024-09-10 18:42 ` Tom Rini
2024-09-10 18:45 ` Simon Glass
2024-09-10 18:52 ` Tom Rini
2024-09-10 20:14 ` Simon Glass
2024-09-10 22:07 ` Tom Rini
2024-09-12 1:01 ` Simon Glass
2024-09-12 17:44 ` Tom Rini
2024-09-19 14:13 ` Simon Glass
2024-09-26 22:07 ` Simon Glass
2024-08-15 19:57 ` Simon Glass [this message]
2024-10-10 18:50 ` [PATCH v3 3/3] RFC: CI: Skip building dtc for world builds Simon Glass
2024-10-10 19:01 ` Tom Rini
2024-10-14 19:13 ` Simon Glass
2024-10-14 22:43 ` Tom Rini
2024-09-06 22:37 ` (subset) [PATCH v3 0/3] This series adds a few patches to make it easy to use the system dtc in Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240815195746.749042-4-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=andrejs.cainikovs@toradex.com \
--cc=jiaxun.yang@flygoat.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=seanga2@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.