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
When building without the integrated swift driver and without swift module emission separated, SPM will rely on the LLBuild hardcoded swift driver invocation which does not take into account any of the flags when building code.
This allows us to take control of these compiler invocations and is a first step towards unifying all the various ways of generating compiler arguments that are currently in `SwiftTargetBuildDescription`.
This PR aims to keep the behavior of the existing tool as far as possible, the only known differences are single quotes instead of double for arguments with spaces and the fact that the output file map will be created eagerly.
resolves#6575
This allows us to take control of these compiler invocations and is a first step towards unifying all the various ways of generating compiler arguments that are currently in `SwiftTargetBuildDescription`.
This PR aims to keep the behavior of the existing tool as far as possible, the only known differences are single quotes instead of double for arguments with spaces and the fact that the output file map will be created eagerly.
resolves#6575
Description
When building without the integrated swift driver and without swift module emission separated, SPM will rely on the LLBuild hardcoded swift driver invocation which does not take into account any of the flags when building code.
https://github.com/apple/swift-package-manager/blob/main/Sources/Build/LLBuildManifestBuilder.swift#L260-L276
The generated command invocation is embedded into LLBuild statically and does not evolve with SPM. As per @dmbryson this should not be relied upon.
Expected behavior
SPM would be able to control the formulation of the command line
Actual behavior
The command line is encoded into the LLBuild codebase.
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of
swift --version ; uname -a
)No response
The text was updated successfully, but these errors were encountered: