<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I was just reminded of this issue by another thread (thanks Daniel Dunbar for <a href="https://github.com/apple/swift-llbuild/pull/196" class="">https://github.com/apple/swift-llbuild/pull/196</a>!)<div class=""><br class=""></div><div class="">Is it possible to cancel an SPM build cleanly? If I run <b class="">swift build</b> and then press Ctrl-C halfway through I end up in a weird broken state that requires a <b class="">swift package clean</b> before anything works again. Maybe because SPM thinks it’s still building the last job?</div><div class=""><br class=""></div><div class="">I ask because sometimes I start a build, realise I actually wanted to make one more change and then press start again. This works in Xcode and breaks in SPM.<br class=""><div><br class=""></div></div><div>Thanks,</div><div>Geordie</div></body></html>