I'm trying to run LLDB's tests, but those that depend on Foundation are failing.
I've built Swift with the command:
utils/build-script --libicu --lldb --foundation
I've found instructions for building Foundation on Linux here. I've tried exporting LD_LIBRARY_PATH as suggested, switching
export BUILD_DIR=~/Developer/swift/build/Ninja-DebugAssert export LD_LIBRARY_PATH=$BUILD_DIR/foundation-linux-x86_64/CoreFoundation
But swiftc still fails to find Foundation.
So what should I do to expose Foundation to the swift compiler?