summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-07 14:52:01 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-08 11:09:26 +0200
commit9e11172824011a57c9d27af0283b24d84b8c0ae7 (patch)
tree1213ca0afae31cd79a299f7b61586eef23a27751
parente6837f60786a942f492ec57ba8114ac15eb9f2e6 (diff)
downloadbootstrappable-toolchain-9e11172824011a57c9d27af0283b24d84b8c0ae7.tar.gz
etc/repos.json: have file root have the to_git pragma
The main use of the bootstrappable toolchain is to just-import-git(1) it as toolchain to an existing project. However, it is an explicitly supported use case to build just the toolchain as stand-alone binaries. Therefore, also for that use case, make sure all repositories are content fixed, so that the various bootstrap stages are eligible for caching as export targets.
-rw-r--r--etc/repos.json35
1 files changed, 28 insertions, 7 deletions
diff --git a/etc/repos.json b/etc/repos.json
index ebdf802..e89d11f 100644
--- a/etc/repos.json
+++ b/etc/repos.json
@@ -1,12 +1,33 @@
{ "main": "gcc-latest-musl+tools"
, "repositories":
- { "patches": {"repository": {"type": "file", "path": "etc/patches"}}
- , "imports": {"repository": {"type": "file", "path": "etc/imports"}}
- , "defaults": {"repository": {"type": "file", "path": "etc/defaults"}}
- , "bootstrap": {"repository": {"type": "file", "path": "src/bootstrap"}}
- , "compilers": {"repository": {"type": "file", "path": "src/compilers"}}
- , "tools": {"repository": {"type": "file", "path": "src/tools"}}
- , "toolchains": {"repository": {"type": "file", "path": "toolchains"}}
+ { "patches":
+ { "repository":
+ {"type": "file", "path": "etc/patches", "pragma": {"to_git": true}}
+ }
+ , "imports":
+ { "repository":
+ {"type": "file", "path": "etc/imports", "pragma": {"to_git": true}}
+ }
+ , "defaults":
+ { "repository":
+ {"type": "file", "path": "etc/defaults", "pragma": {"to_git": true}}
+ }
+ , "bootstrap":
+ { "repository":
+ {"type": "file", "path": "src/bootstrap", "pragma": {"to_git": true}}
+ }
+ , "compilers":
+ { "repository":
+ {"type": "file", "path": "src/compilers", "pragma": {"to_git": true}}
+ }
+ , "tools":
+ { "repository":
+ {"type": "file", "path": "src/tools", "pragma": {"to_git": true}}
+ }
+ , "toolchains":
+ { "repository":
+ {"type": "file", "path": "toolchains", "pragma": {"to_git": true}}
+ }
, "rules":
{ "repository":
{ "type": "zip"