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
Check for the index workspace description rather than index arena
There's various paths that should be specific to the index workspace
description rather than if the index arena is enabled. Specifically the
recent change to replace parameters for host tools
(#345) broke the *package*
description as it uses the passed in run destination rather than
configuring for all platforms. This replacement would then create two
configured targets for macOS for the same target (one for the given run
destination and one for the macOS platform that the index uses).
This also changes the *target* description to only build for the run
destination, which makes sense given its entire purpose is to be a
replacement for the workspace description if it hasn't built yet (ie. it
should be as fast as possible).
Resolves rdar://149896775.
// For the index build, multiple build parameters are applied during configuration of a target (to configure for multiple platforms) and the build parameters for each target in the build request is not relevant.
498
498
// Keep this dictionary empty so that `LinkageDependencyResolver` fallbacks to using the build parameters of the configured targets, which are the relevant ones.
try await tester.checkIndexBuild(targets:[fwkTarget1]){ results in
369
+
try await tester.checkIndexBuild(targets:[fwkTarget1], workspaceOperation:true){ results in
370
370
results.checkWriteAuxiliaryFileTask(.matchRulePattern(["WriteAuxiliaryFile",.suffix("VFS-iphonesimulator/all-product-headers.yaml")])){ task, contents in
0 commit comments