diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-28 12:48:26 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-29 10:26:13 +0000 |
commit | 224417d162ca870e02d703389c5374591db37c54 (patch) | |
tree | 239b6fd8e9924934f19b8a5deb7ab6a14732ec6a /meta/classes-global | |
parent | d9156c3be00711d95a859f93dfabddfaba3a72df (diff) | |
download | poky-224417d162ca870e02d703389c5374591db37c54.tar.gz |
mirrors: Switch llvm to use shallow cloning
The llvm github repo appears to see a lot of churn on branches we're not
interested in and is in general huge and unreliable to clone.
Switch to shallow clones to improve the user experience.
(From OE-Core rev: 6cf98a4954751977fb02fb2024ef842865352138)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r-- | meta/classes-global/mirrors.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass index af66fb1832..862648eec5 100644 --- a/meta/classes-global/mirrors.bbclass +++ b/meta/classes-global/mirrors.bbclass | |||
@@ -83,7 +83,7 @@ git://.*/.* git://HOST/PATH;protocol=https \ | |||
83 | git://.*/.* git://HOST/git/PATH;protocol=https \ | 83 | git://.*/.* git://HOST/git/PATH;protocol=https \ |
84 | " | 84 | " |
85 | 85 | ||
86 | # Switch glibc and binutils recipes to use shallow clones as they're large and this | 86 | # Switch llvm, glibc and binutils recipes to use shallow clones as they're large and this |
87 | # improves user experience whilst allowing the flexibility of git urls in the recipes | 87 | # improves user experience whilst allowing the flexibility of git urls in the recipes |
88 | BB_GIT_SHALLOW:pn-binutils = "1" | 88 | BB_GIT_SHALLOW:pn-binutils = "1" |
89 | BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1" | 89 | BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1" |
@@ -98,3 +98,7 @@ BB_GIT_SHALLOW:pn-glibc = "1" | |||
98 | BB_GIT_SHALLOW:pn-glibc-tests = "1" | 98 | BB_GIT_SHALLOW:pn-glibc-tests = "1" |
99 | PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \ | 99 | PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \ |
100 | git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/" | 100 | git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/" |
101 | |||
102 | BB_GIT_SHALLOW:pn-llvm = "1" | ||
103 | BB_GIT_SHALLOW:pn-llvm-native = "1" | ||
104 | BB_GIT_SHALLOW:pn-nativesdk-llvm = "1" | ||