How to utils/update-checkout 5.9 RELEASE?

i am trying to run update-checkout to clone the swift project at the swift-5.9.2-RELEASE tag

utils/update-checkout --clone --scheme swift-5.9.2-RELEASE

but it fails because the swift-system repo contains no such tag.

1570.6 Traceback (most recent call last):
1570.6   File "/usr/lib64/python3.9/multiprocessing/", line 125, in worker
1570.6     result = (True, func(*args, **kwds))
1570.6   File "/usr/lib64/python3.9/multiprocessing/", line 48, in mapstar
1570.6     return list(map(*args))
1570.6   File "/swift-project/swift/utils/update_checkout/update_checkout/", line 376, in obtain_additional_swift_sources
1570.6['git', '--git-dir',
1570.6   File "/swift-project/swift/utils/swift_build_support/swift_build_support/", line 257, in run
1570.6     raise eout
1570.6 Exception: ['git', '--git-dir', '/swift-project/swift-system/.git', '--work-tree', '/swift-project/swift-system', 'checkout', 'swift-5.9.2-RELEASE']

how do i actually build a 5.9.2 toolchain?

this was because i was using --scheme, when i should have been using --tag.

1 Like