Skip to content

Commit 50b9f53

Browse files
committed
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 6f2948e commit 50b9f53

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": {
@@ -27,8 +27,7 @@
2727
"ninja": {
2828
"remote": { "id": "ninja-build/ninja" } },
2929
"icu": {
30-
"remote": { "id": "unicode-org/icu" },
31-
"platforms": [ "Linux" ]
30+
"remote": { "id": "unicode-org/icu" }
3231
},
3332
"cmake": {
3433
"remote": { "id": "KitWare/CMake" },
@@ -41,11 +40,34 @@
4140
"swift-format": {
4241
"remote": { "id": "apple/swift-format" } },
4342
"llvm-project": {
44-
"remote": { "id": "apple/llvm-project" } }
43+
"remote": { "id": "swiftwasm/llvm-project" } }
4544
},
4645
"default-branch-scheme": "master",
4746
"branch-schemes": {
48-
"master": {
47+
"wasm": {
48+
"aliases": ["wasm"],
49+
"repos": {
50+
"llvm-project": "swiftwasm",
51+
"swift": "swiftwasm",
52+
"cmark": "master",
53+
"llbuild": "master",
54+
"swiftpm": "master",
55+
"swift-syntax": "master",
56+
"swift-stress-tester": "master",
57+
"swift-corelibs-xctest": "master",
58+
"swift-corelibs-foundation": "master",
59+
"swift-corelibs-libdispatch": "master",
60+
"swift-integration-tests": "master",
61+
"swift-xcode-playground-support": "master",
62+
"ninja": "release",
63+
"icu": "release-61-1",
64+
"cmake": "v3.15.1",
65+
"indexstore-db": "master",
66+
"sourcekit-lsp": "master",
67+
"swift-format": "master"
68+
}
69+
},
70+
"master": {
4971
"aliases": ["master", "swift/master"],
5072
"repos": {
5173
"llvm-project": "swift/master",

0 commit comments

Comments
 (0)