From 9e11172824011a57c9d27af0283b24d84b8c0ae7 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 7 Aug 2024 14:52:01 +0200 Subject: 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. --- etc/repos.json | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) (limited to 'etc/repos.json') 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" -- cgit v1.2.3