Skip to content

Commit 3d8e478

Browse files
MaxDesiatovkateinoigakukun
authored andcommitted
Add wasm branch scheme to update-checkout-config
This allows cloning all of the repositories directly with ./swift/utils/update-checkout --clone --scheme wasm without relying on paths hardcoded in swiftwasm-sdk. It also clones icu that way as well, as that one is used when building on Linux. Later we could add "WebAssembly" platform to update-checkout-config.json to clone it only for WebAssembly and Linux platforms, but for now it's pulled for all platforms to make things easy. #1
1 parent 861684d commit 3d8e478

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

utils/update_checkout/update-checkout-config.json

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"https-clone-pattern": "https://github.com/%s.git",
44
"repos" : {
55
"swift": {
6-
"remote": { "id": "apple/swift" } },
6+
"remote": { "id": "swiftwasm/swift" } },
77
"cmark": {
88
"remote": { "id": "apple/swift-cmark" } },
99
"llbuild": {
@@ -29,8 +29,7 @@
2929
"ninja": {
3030
"remote": { "id": "ninja-build/ninja" } },
3131
"icu": {
32-
"remote": { "id": "unicode-org/icu" },
33-
"platforms": [ "Linux" ]
32+
"remote": { "id": "unicode-org/icu" }
3433
},
3534
"cmake": {
3635
"remote": { "id": "KitWare/CMake" },
@@ -43,11 +42,34 @@
4342
"swift-format": {
4443
"remote": { "id": "apple/swift-format" } },
4544
"llvm-project": {
46-
"remote": { "id": "apple/llvm-project" } }
45+
"remote": { "id": "swiftwasm/llvm-project" } }
4746
},
4847
"default-branch-scheme": "master",
4948
"branch-schemes": {
50-
"master": {
49+
"wasm": {
50+
"aliases": ["wasm"],
51+
"repos": {
52+
"llvm-project": "swiftwasm",
53+
"swift": "swiftwasm",
54+
"cmark": "master",
55+
"llbuild": "master",
56+
"swiftpm": "master",
57+
"swift-syntax": "master",
58+
"swift-stress-tester": "master",
59+
"swift-corelibs-xctest": "master",
60+
"swift-corelibs-foundation": "master",
61+
"swift-corelibs-libdispatch": "master",
62+
"swift-integration-tests": "master",
63+
"swift-xcode-playground-support": "master",
64+
"ninja": "release",
65+
"icu": "release-61-1",
66+
"cmake": "v3.15.1",
67+
"indexstore-db": "master",
68+
"sourcekit-lsp": "master",
69+
"swift-format": "master"
70+
}
71+
},
72+
"master": {
5173
"aliases": ["master", "swift/master"],
5274
"repos": {
5375
"llvm-project": "swift/master",

0 commit comments

Comments
 (0)