File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
Sources/SwiftSDKGenerator Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ extension SwiftSDKGenerator {
101
101
( " swift/linux " , pathsConfiguration. toolchainDirPath. appending ( " usr/lib/swift " ) ) ,
102
102
( " swift_static/linux " , pathsConfiguration. toolchainDirPath. appending ( " usr/lib/swift_static " ) ) ,
103
103
( " swift_static/shims " , pathsConfiguration. toolchainDirPath. appending ( " usr/lib/swift_static " ) ) ,
104
+ ( " swift/dispatch " , sdkDirPath. appending ( " usr/include " ) ) ,
105
+ ( " swift/os " , sdkDirPath. appending ( " usr/include " ) ) ,
106
+ ( " swift/CoreFoundation " , sdkDirPath. appending ( " usr/include " ) ) ,
104
107
] {
105
108
try await rsync ( from: distributionPath. appending ( pathWithinPackage) , to: pathWithinSwiftSDK)
106
109
}
Original file line number Diff line number Diff line change @@ -115,19 +115,6 @@ public struct LinuxRecipe: SwiftSDKRecipe {
115
115
toolset. librarian = Toolset . ToolProperties ( path: " llvm-ar " )
116
116
}
117
117
118
- public func applyPlatformOptions(
119
- metadata: inout SwiftSDKMetadataV4 . TripleProperties ,
120
- paths: PathsConfiguration ,
121
- targetTriple: Triple
122
- ) {
123
- var relativeSDKDir = self . sdkDirPath ( paths: paths)
124
- guard relativeSDKDir. removePrefix ( paths. swiftSDKRootPath) else {
125
- fatalError ( " The SDK directory path must be a subdirectory of the Swift SDK root path. " )
126
- }
127
- metadata. swiftResourcesPath = relativeSDKDir. appending ( " usr/lib/swift " ) . string
128
- metadata. swiftStaticResourcesPath = relativeSDKDir. appending ( " usr/lib/swift_static " ) . string
129
- }
130
-
131
118
public var defaultArtifactID : String {
132
119
"""
133
120
\( self . versionsConfiguration. swiftVersion) _ \( self . linuxDistribution. name. rawValue) _ \(
You can’t perform that action at this time.
0 commit comments