[swift-dev] Way to --clean only the Swift parts of Swift?
gparker at apple.com
Mon Dec 12 16:13:30 CST 2016
> On Dec 12, 2016, at 9:30 AM, Alexis via swift-dev <swift-dev at swift.org> wrote:
> I find that build-script tends to get corrupted state very easily, forcing me to do a —clean build. This is usually because of git, but seemingly from benign things like checking out HEAD~1. Since I’m working on the stdlib, the corruption often shows up in there, so —clean is needlessly heavy-handed. I don’t need to rebuild clang or llvm, and I probably don’t need to rebuild swiftc. Is there any way to do this?
The build directory has separate subdirectories for the build products of llvm and clang and swift. Deleting the swift directory will safely preserve llvm and clang, but not swiftc.
Greg Parker gparker at apple.com Runtime Wrangler
More information about the swift-dev