Skip to content

Commit 3bb8a82

Browse files
MaxDesiatovzhuowei
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. swiftwasm#1
1 parent 4d70df9 commit 3bb8a82

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

utils/update_checkout/update-checkout-config.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"https-clone-pattern": "https://github.com/%s.git",
44
"repos" : {
55
"llvm": {
6-
"remote": { "id": "apple/swift-llvm" } },
6+
"remote": { "id": "swiftwasm/swift-llvm" } },
77
"clang": {
8-
"remote": { "id": "apple/swift-clang" } },
8+
"remote": { "id": "swiftwasm/swift-clang" } },
99
"swift": {
10-
"remote": { "id": "apple/swift" } },
10+
"remote": { "id": "swiftwasm/swift" } },
1111
"lldb": {
1212
"remote": { "id": "apple/swift-lldb" } },
1313
"cmark": {
@@ -35,8 +35,7 @@
3535
"ninja": {
3636
"remote": { "id": "ninja-build/ninja" } },
3737
"icu": {
38-
"remote": { "id": "unicode-org/icu" },
39-
"platforms": [ "Linux" ]
38+
"remote": { "id": "unicode-org/icu" }
4039
},
4140
"libcxx": {
4241
"remote": { "id": "apple/swift-libcxx" } },
@@ -49,6 +48,28 @@
4948
},
5049
"default-branch-scheme": "master",
5150
"branch-schemes": {
51+
"wasm": {
52+
"aliases": ["wasm"],
53+
"repos": {
54+
"llvm": "stable-swiftwasm",
55+
"clang": "stable-swiftwasm",
56+
"swift": "swiftwasm",
57+
"lldb": "stable",
58+
"cmark": "master",
59+
"llbuild": "master",
60+
"swiftpm": "master",
61+
"swift-syntax": "master",
62+
"compiler-rt": "stable",
63+
"swift-corelibs-xctest": "master",
64+
"swift-corelibs-foundation": "master",
65+
"swift-corelibs-libdispatch": "master",
66+
"swift-integration-tests": "master",
67+
"swift-xcode-playground-support": "master",
68+
"ninja": "release",
69+
"icu": "release-61-1",
70+
"libcxx": "stable"
71+
}
72+
},
5273
"master": {
5374
"aliases": ["master", "stable"],
5475
"repos": {

0 commit comments

Comments
 (0)