You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will fail in a cryptic way during the lldb build phase. The underlying issue is that the default Xcode build configuration gets used when an unsupported configuration is specified, but the default configuration is not something that will ever build properly on a developer machine.
This was not caught since the lldb/scripts/build-swift-cmake.py script, which wraps build-script, only allows the valid Debug and Release options to be passed to build-script.
Workaround:
Limit builds to Debug or Release with no asserts when using '-l' to add Swift LLDB into the mix.
The text was updated successfully, but these errors were encountered:
An alternative workaround is to use lldb/scripts/build-swift-cmake.py (use --help to see the options). But this only makes sense for Swift LLDB-focused developers. It is just a light wrapper around the Swift build-script, adding repository cloning/updating and other LLDB-centric options like including the system debugserver or including no debugserver on OS X builds.
I'm going to reimplement this, checking in build-script-impl so it catches any options passed to build-script that are intended for direct consumption by build-script-impl. In the case of build presets, we hit an issue where direct control of the lldb build variant was missed because it was not using the build-script mechanism to control build variant; rather, it was specifying the build-script-impl variant directly.
Something about that is a little icky; nonetheless, checking in build-script-impl is the most basic (and thorough) way to handle this.
Additional Detail from JIRA
md5: 41628e4ad536ee3accb299596e07f8e8
Issue Description:
Running the following:
swift/utils/build-script -r -l
will fail in a cryptic way during the lldb build phase. The underlying issue is that the default Xcode build configuration gets used when an unsupported configuration is specified, but the default configuration is not something that will ever build properly on a developer machine.
This was not caught since the lldb/scripts/build-swift-cmake.py script, which wraps build-script, only allows the valid Debug and Release options to be passed to build-script.
Workaround:
Limit builds to Debug or Release with no asserts when using '-l' to add Swift LLDB into the mix.
The text was updated successfully, but these errors were encountered: