Skip to content

Commit e6cc93f

Browse files
committed
Checkout Swift LLVM Bindings repo
1 parent c4c14eb commit e6cc93f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

cleanup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def main():
4343
'build',
4444
'swift',
4545
'llvm-project',
46+
'swift-llvm-bindings',
4647
'llvm',
4748
'clang',
4849
'compiler-rt',

common.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
branches = {
2828
'main': {
2929
'llvm-project': 'stable/20211026',
30+
'swift-llvm-bindings': 'stable/20211026',
3031
'swift': 'main',
3132
'cmark': 'gfm',
3233
'ninja': 'release',
@@ -171,8 +172,8 @@ def clone_repos():
171172
>>> check_execute(['rm', '-rf', tmpdir])
172173
0
173174
>>> repos #doctest: +NORMALIZE_WHITESPACE
174-
['llvm-project', 'cmark', 'llbuild', 'ninja', 'swift',
175-
'swift-corelibs-foundation', 'swift-corelibs-libdispatch',
175+
['llvm-project', 'swift-llvm-bindings', 'cmark', 'llbuild', 'ninja',
176+
'swift', 'swift-corelibs-foundation', 'swift-corelibs-libdispatch',
176177
'swift-corelibs-xctest', 'swiftpm', 'swift-experimental-string-processing']
177178
"""
178179
cpu_count = multiprocessing.cpu_count()
@@ -251,6 +252,14 @@ def clone_repos():
251252
branches[swift_branch]['swift-experimental-string-processing'], workspace
252253
),
253254
]
255+
if swift_branch not in ['release/5.7', 'release/5.6',
256+
'release/5.5', 'release/5.4']:
257+
repos += [
258+
'{} [email protected]:apple/swift-llvm-bindings.git '
259+
'{}/swift-llvm-bindings '.format(
260+
branches[swift_branch]['swift-llvm-bindings'], workspace
261+
),
262+
]
254263

255264
process0 = subprocess.Popen([
256265
'xargs', '-P%s' % cpu_count, '-n3',

0 commit comments

Comments
 (0)