commit: 5e374fdf18c2105783e812102f5721397c7a1649
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 1 08:50:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 1 08:51:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e374fdf
toolchain.eclass: add more mirrors to EGIT_REPO_URI
sourceware was down earlier, so add some mirrors.
sourcehut is an official mirror (albeit an experiment IIRC) by sourceware
and x86-gcc is run by H.J. Lu. gcc-mirror on github (which was in the
list already) looks like an automatic one but let's leave it last.
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 505e7c2666d7..a546f80f766f 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -33,7 +33,12 @@ tc_is_live() {
}
if tc_is_live ; then
- EGIT_REPO_URI="https://gcc.gnu.org/git/gcc.git
https://github.com/gcc-mirror/gcc"
+ EGIT_REPO_URI="
+ https://gcc.gnu.org/git/gcc.git
+ https://git.sr.ht/~sourceware/gcc
+ https://gitlab.com/x86-gcc/gcc.git
+ https://github.com/gcc-mirror/gcc.git
+ "
# Naming style:
# gcc-10.1.0_pre9999 -> gcc-10-branch
# Note that the micro version is required or lots of stuff will break.