<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=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 7, 2017, at 10:25 AM, Geordie J &lt;<a href="mailto:geojay@gmail.com" class="">geojay@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div 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>&nbsp;before anything works again. Maybe because SPM thinks it’s still building the last job?</div></div></div></blockquote><div><br class=""></div>This is always a bug, please file!</div><div><br class=""></div><div>FWIW, I cancel builds all the time and haven’t seen this issue, so it would be good to provide as many details as possible.</div><div><br class=""></div><div>&nbsp;- Daniel</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><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 class=""><br class=""></div></div><div class="">Thanks,</div><div class="">Geordie</div></div></div></blockquote></div><br class=""></body></html>