Skip to content

Commit 400789a

Browse files
committed
Use github's mirror for sourceware's repo
We use shallow clones to reduce the clone time, however that fesature seems not well supported on sourceware's server, so we use github's mirror instead.
1 parent d0193d1 commit 400789a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.gitmodules

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1+
# Some of the external git repos are not upstream servers but upstream clones to
2+
# avoid "Server does not allow request for unadvertised object" errors (see
3+
# #1654).
14
[submodule "binutils"]
25
path = binutils
3-
url = https://sourceware.org/git/binutils-gdb.git
6+
url = https://github.com/bminor/binutils-gdb.git
47
branch = binutils-2_44-branch
58
shallow = true
69
[submodule "gcc"]
710
path = gcc
8-
url = https://gcc.gnu.org/git/gcc.git
11+
url = https://github.com/gcc-mirror/gcc.git
912
branch = releases/gcc-14
1013
shallow = true
1114
[submodule "glibc"]
1215
path = glibc
13-
url = https://sourceware.org/git/glibc.git
16+
url = https://github.com/bminor/glibc.git
1417
shallow = true
1518
[submodule "dejagnu"]
1619
path = dejagnu
@@ -19,12 +22,12 @@
1922
shallow = true
2023
[submodule "newlib"]
2124
path = newlib
22-
url = https://sourceware.org/git/newlib-cygwin.git
25+
url = https://github.com/bminor/newlib.git
2326
branch = master
2427
shallow = true
2528
[submodule "gdb"]
2629
path = gdb
27-
url = https://sourceware.org/git/binutils-gdb.git
30+
url = https://github.com/bminor/binutils-gdb.git
2831
branch = gdb-15-branch
2932
shallow = true
3033
[submodule "qemu"]

0 commit comments

Comments
 (0)