U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <foss+uboot@0leil.net>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
	 Heinrich Schuchardt <xypron.glpk@gmx.de>,
	 Raymond Mao <raymondmaoca@gmail.com>,
	 Quentin Schulz <quentin.schulz@cherry.de>,
	 Raymond Mao <raymondmaoca@gmail.com>
Subject: [PATCH next v2 3/3] CI: use coreboot mirror for GNU dependencies of coreboot
Date: Thu, 27 Nov 2025 14:29:28 +0100	[thread overview]
Message-ID: <20251127-gnu-mirror-v2-3-c86fa2e8d464@cherry.de> (raw)
In-Reply-To: <20251127-gnu-mirror-v2-0-c86fa2e8d464@cherry.de>

From: Quentin Schulz <quentin.schulz@cherry.de>

coreboot buildgcc script downloads GNU dependencies from GNU FTP server.
For some reason, this is also as unreliable as their git main server.
There's no option to use a GNU mirror (and I'm not even sure if there's
one for FTP), so we simply pass --mirror to the buildgcc script via the
BUILDGCC_OPTIONS variable so that it makes use of coreboot's mirror.
Hopefully, this proves more reliable than GNU original FTP server.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 tools/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 440a3c39293..bc45f59d6e7 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -329,7 +329,7 @@ RUN mkdir /tmp/trace && \
 # Build coreboot
 RUN wget -O - https://coreboot.org/releases/coreboot-25.03.tar.xz | tar -C /tmp -xJ && \
     cd /tmp/coreboot-25.03 && \
-    make crossgcc-i386 CPUS=$(nproc) && \
+    make BUILDGCC_OPTIONS="--mirror" crossgcc-i386 CPUS=$(nproc) && \
     make -C payloads/coreinfo olddefconfig && \
     make -C payloads/coreinfo && \
     make olddefconfig && \

-- 
2.52.0


  parent reply	other threads:[~2025-11-27 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-27 13:29 [PATCH next v2 0/3] CI: use mirrors for GNU tools Quentin Schulz
2025-11-27 13:29 ` [PATCH next v2 1/3] CI: use GNU mirror for grub (and switch to HTTPS) Quentin Schulz
2025-11-27 13:29 ` [PATCH next v2 2/3] CI: use mirror for gnulib dependency of grub Quentin Schulz
2025-11-27 13:29 ` Quentin Schulz [this message]
2025-12-01 16:03 ` [PATCH next v2 0/3] CI: use mirrors for GNU tools 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=20251127-gnu-mirror-v2-3-c86fa2e8d464@cherry.de \
    --to=foss+uboot@0leil.net \
    --cc=quentin.schulz@cherry.de \
    --cc=raymondmaoca@gmail.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox