I'm getting a weird warning when using the SPM. When I build my Swift package (A very simple test package) I get the following warning:
'llbuild' /Users/derik/Desktop/ap/.build/checkouts/swift-llbuild: warning: ignoring broken symlink /Users/derik/Desktop/ap/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm....--clipped--
If I check the
.build directory it has a symlink cycle:
ls -l .build/checkouts/swift-llbuild/lib/llvm/Demangle/include/ master * (06/30 17:42:01) total 0 lrwxr-xr-x 1 derik staff 24B Jun 30 17:38 llvm@ -> ../../../../include/llvm
I've tried removing the
.build directory to start a clean build, but still the same. The package runs without a problem but I would prefer to remove the warning.
Anyone has any idea why is this happening?