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
This appears to be a bug in the build system, on Linux sourcekit will cause libdispatch to be built a second time, using the CMake ExternalProject feature.
This unfortunately doesn't preserve all of the options that were passed to build-script (which builds libdispatch separately here, but a seemingly-arbitrary subset of them.
We should ideally refactor the build so that dispatch is only built once, and with the same collection of arguments.
The text was updated successfully, but these errors were encountered:
I think this is deliberate. SourceKit uses the C parts of Dispatch, but not the Swift parts. The alternative would be to build the Swift repo in two stages. cc @akyrtzi, @compnerd
Hmm, I'm not sure I follow. At the end of the build only one libdispatch.so is installed on the system and both build invocations pass -DENABLE_SWIFT=YES. If they do need to be different they could at least use different build dirs to avoid the need for the
callrm -fr"${LIBDISPATCH_BUILD_DIR}"
which has the effect of making the libdispatch build nonincremental on Linux
The ordering at this point is tracked well enough to allow building libdispatch with the SDK overlay in a single go. I think that there was some issue with the build at one point, not sure if is still there (and I don't remember the details 🙁).
Additional Detail from JIRA
md5: be0f60374adcf80ee5d8090c026d8f95
Issue Description:
This appears to be a bug in the build system, on Linux sourcekit will cause libdispatch to be built a second time, using the CMake ExternalProject feature.
This unfortunately doesn't preserve all of the options that were passed to build-script (which builds libdispatch separately here, but a seemingly-arbitrary subset of them.
We should ideally refactor the build so that dispatch is only built once, and with the same collection of arguments.
The text was updated successfully, but these errors were encountered: