Commit d4af086e authored by Drew's avatar Drew

Now bootstrapping yaml as its own lib.

To accomplish this, we have to create separate llbuild.yaml files for
the yaml module.  We also have to emit the module paths to the products
directory as part of the swift-build-tool process, rather than move them
afterwards, because when building via bootstrap, atbuild does not
actually run.

See #6
parent 6e5ab155
Pipeline #665 failed with stage
......@@ -14,23 +14,47 @@ tasks:
outputType: "executable"
linkWithProduct: ["yaml.a"]
bootstrap-yaml-osx:
tool: "atllbuild"
source: ["parsers/yaml/**.swift"]
name: "yaml"
llbuildyaml: "yaml-osx-llbuild.yaml"
outputType: "static-library"
bootstrapOnly: true
bootstrap-yaml-linux:
tool: "atllbuild"
source: ["parsers/yaml/**.swift"]
name: "yaml"
llbuildyaml: "yaml-linux-llbuild.yaml"
outputType: "static-library"
linkSDK: false
compileOptions: ["-D","CORELIBS_FOUNDATION"]
bootstrapOnly: true
bootstrap-osx:
tool: "atllbuild"
source: ["cli/src/**.swift", "parsers/yaml/**.swift"]
source: ["cli/src/**.swift"]
name: "atbuild"
bootstrapOnly: true
llbuildyaml: "llbuild-osx.yaml"
outputType: "executable"
linkWithProduct: ["yaml.a"]
dependency: ["bootstrap-yaml-osx"]
bootstrap-linux:
tool: "atllbuild"
source: ["cli/src/**.swift", "parsers/yaml/**.swift"]
source: ["cli/src/**.swift"]
name: "atbuild"
bootstrapOnly: true
llbuildyaml: "llbuild-linux.yaml"
linkSDK: false
compileOptions: ["-D","CORELIBS_FOUNDATION"]
outputType: "executable"
linkWithProduct: ["yaml.a"]
dependency: ["bootstrap-yaml-linux"]
bootstrap:
tool: "nop"
......
#!/bin/bash
swift-build-tool -f yaml-osx-llbuild.yaml
swift-build-tool -f llbuild-osx.yaml
cp .atllbuild/atbuild .
\ No newline at end of file
cp .atllbuild/products/atbuild .
\ No newline at end of file
......@@ -49,8 +49,9 @@ final class ATllbuild : Tool {
- parameter sources: A resolved list of swift sources
- parameter workdir: A temporary working directory for `atllbuild` to use
- parameter modulename: The name of the module to be built.
- returns: The string contents for llbuild.yaml suitable for processing by swift-build-tool, along with a list of products */
func llbuildyaml(sources: [String], workdir: String, modulename: String, linkSDK: Bool, compileOptions: [String], outputType: OutputType, linkWithProduct:[String]) -> (yaml: String, products: [String]) {
- returns: The string contents for llbuild.yaml suitable for processing by swift-build-tool */
func llbuildyaml(sources: [String], workdir: String, modulename: String, linkSDK: Bool, compileOptions: [String], outputType: OutputType, linkWithProduct:[String]) -> String {
let productPath = workdir + "products/"
//this format is largely undocumented, but I reverse-engineered it from SwiftPM.
var yaml = "client:\n name: swift-build\n\n"
......@@ -88,7 +89,8 @@ final class ATllbuild : Tool {
}
yaml += " module-name: \(modulename)\n"
yaml += " module-output-path: \(workdir + modulename).swiftmodule\n"
let swiftModulePath = "\(productPath + modulename).swiftmodule"
yaml += " module-output-path: \(swiftModulePath)\n"
yaml += " temps-path: \(workdir)/llbuildtmp\n"
var args : [String] = []
......@@ -111,16 +113,16 @@ final class ATllbuild : Tool {
llbuild_inputs.appendContentsOf(objects)
let builtProducts = linkWithProduct.map {workdir+"products/"+$0}
llbuild_inputs.appendContentsOf(builtProducts)
let executablePath = productPath+modulename
yaml += " inputs: \(llbuild_inputs)\n"
yaml += " outputs: [\"<atllbuild>\", \"\(workdir + modulename)\"]\n"
yaml += " outputs: [\"<atllbuild>\", \"\(executablePath)\"]\n"
//and now we have the crazy 'args'
args = [SwiftCPath, "-o",workdir + modulename]
args = [SwiftCPath, "-o",executablePath]
args.appendContentsOf(objects)
args.appendContentsOf(builtProducts)
yaml += " args: \(args)\n"
yaml += " description: Linking executable \(modulename)\n"
return (yaml: yaml, products: [workdir + modulename])
yaml += " description: Linking executable \(executablePath)\n"
return yaml
case .StaticLibrary:
......@@ -128,7 +130,7 @@ final class ATllbuild : Tool {
var llbuild_inputs = ["<atllbuild-swiftc>"]
llbuild_inputs.appendContentsOf(objects)
yaml += " inputs: \(llbuild_inputs)\n"
let libPath = "\(workdir + modulename).a"
let libPath = productPath + modulename + ".a"
yaml += " outputs: [\"<atllbuild>\", \"\(libPath)\"]\n"
//build the crazy args, mostly consisting of an `ar` shell command
......@@ -139,7 +141,7 @@ final class ATllbuild : Tool {
let args = "[\"/bin/sh\",\"-c\",\(shellCmd)]"
yaml += " args: \(args)\n"
yaml += " description: \"Linking Library: \(libPath)\""
return (yaml: yaml, products: [libPath, "\(workdir + modulename).swiftmodule"])
return yaml
}
......@@ -210,7 +212,7 @@ final class ATllbuild : Tool {
llbuildyamlpath = workDirectory + "llbuild.yaml"
}
let (yaml, products) = llbuildyaml(sources, workdir: workDirectory, modulename: name, linkSDK: sdk, compileOptions: compileOptions, outputType: outputType, linkWithProduct: linkWithProduct)
let yaml = llbuildyaml(sources, workdir: workDirectory, modulename: name, linkSDK: sdk, compileOptions: compileOptions, outputType: outputType, linkWithProduct: linkWithProduct)
try yaml.writeToFile(llbuildyamlpath, atomically: false, encoding: NSUTF8StringEncoding)
if bootstrapOnly { return }
......@@ -221,12 +223,5 @@ final class ATllbuild : Tool {
if sbt.terminationStatus != 0 {
throw AnarchyBuildError.ExternalToolFailed("\(SwiftBuildToolpath) " + args.joinWithSeparator(" "))
}
//move the output to our build products
for product in products {
let productName = (product as NSString).lastPathComponent
try? manager.removeItemAtPath(workDirectory + "products/\(productName)")
try manager.moveItemAtPath(product, toPath: workDirectory + "products/\(productName)")
}
}
}
\ No newline at end of file
......@@ -10,17 +10,17 @@ commands:
<atllbuild-swiftc>:
tool: swift-compiler
executable: "/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc"
inputs: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift", "parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
sources: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift", "parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
objects: [".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
outputs: ["<atllbuild-swiftc>", ".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
inputs: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift"]
sources: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift"]
objects: [".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o"]
outputs: ["<atllbuild-swiftc>", ".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o"]
module-name: atbuild
module-output-path: .atllbuild/atbuild.swiftmodule
module-output-path: .atllbuild/products/atbuild.swiftmodule
temps-path: .atllbuild//llbuildtmp
other-args: ["-j8", "-D", "CORELIBS_FOUNDATION"]
other-args: ["-j8", "-D", "ATBUILD", "-I", ".atllbuild/products/", "-D", "CORELIBS_FOUNDATION"]
<atllbuild>:
tool: shell
inputs: ["<atllbuild-swiftc>", ".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
outputs: ["<atllbuild>", ".atllbuild/atbuild"]
args: ["/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc", "-o", ".atllbuild/atbuild", ".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
description: Linking executable atbuild
inputs: ["<atllbuild-swiftc>", ".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o", ".atllbuild/products/yaml.a"]
outputs: ["<atllbuild>", ".atllbuild/products/atbuild"]
args: ["/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc", "-o", ".atllbuild/products/atbuild", ".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o", ".atllbuild/products/yaml.a"]
description: Linking executable .atllbuild/products/atbuild
......@@ -10,17 +10,17 @@ commands:
<atllbuild-swiftc>:
tool: swift-compiler
executable: "/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc"
inputs: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift", "parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
sources: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift", "parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
objects: [".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
outputs: ["<atllbuild-swiftc>", ".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
inputs: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift"]
sources: ["cli/src/atllbuild.swift", "cli/src/config.swift", "cli/src/errors.swift", "cli/src/main.swift", "cli/src/Nop.swift", "cli/src/PlatformPaths.swift", "cli/src/Shell.swift", "cli/src/Task.swift", "cli/src/Tools.swift"]
objects: [".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o"]
outputs: ["<atllbuild-swiftc>", ".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o"]
module-name: atbuild
module-output-path: .atllbuild/atbuild.swiftmodule
module-output-path: .atllbuild/products/atbuild.swiftmodule
temps-path: .atllbuild//llbuildtmp
other-args: ["-j8", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"]
other-args: ["-j8", "-D", "ATBUILD", "-I", ".atllbuild/products/", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"]
<atllbuild>:
tool: shell
inputs: ["<atllbuild-swiftc>", ".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
outputs: ["<atllbuild>", ".atllbuild/atbuild"]
args: ["/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc", "-o", ".atllbuild/atbuild", ".atllbuild/atllbuild.swift.o", ".atllbuild/config.swift.o", ".atllbuild/errors.swift.o", ".atllbuild/main.swift.o", ".atllbuild/Nop.swift.o", ".atllbuild/PlatformPaths.swift.o", ".atllbuild/Shell.swift.o", ".atllbuild/Task.swift.o", ".atllbuild/Tools.swift.o", ".atllbuild/Operators.swift.o", ".atllbuild/Parser.swift.o", ".atllbuild/Regex.swift.o", ".atllbuild/Result.swift.o", ".atllbuild/Tokenizer.swift.o", ".atllbuild/Yaml.swift.o"]
description: Linking executable atbuild
inputs: ["<atllbuild-swiftc>", ".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o", ".atllbuild/products/yaml.a"]
outputs: ["<atllbuild>", ".atllbuild/products/atbuild"]
args: ["/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc", "-o", ".atllbuild/products/atbuild", ".atllbuild/objects/atllbuild.swift.o", ".atllbuild/objects/config.swift.o", ".atllbuild/objects/errors.swift.o", ".atllbuild/objects/main.swift.o", ".atllbuild/objects/Nop.swift.o", ".atllbuild/objects/PlatformPaths.swift.o", ".atllbuild/objects/Shell.swift.o", ".atllbuild/objects/Task.swift.o", ".atllbuild/objects/Tools.swift.o", ".atllbuild/products/yaml.a"]
description: Linking executable .atllbuild/products/atbuild
client:
name: swift-build
tools: {}
targets:
"": [<atllbuild>]
atllbuild: [<atllbuild>]
commands:
<atllbuild-swiftc>:
tool: swift-compiler
executable: "/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc"
inputs: ["parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
sources: ["parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
objects: [".atllbuild/objects/Operators.swift.o", ".atllbuild/objects/Parser.swift.o", ".atllbuild/objects/Regex.swift.o", ".atllbuild/objects/Result.swift.o", ".atllbuild/objects/Tokenizer.swift.o", ".atllbuild/objects/Yaml.swift.o"]
outputs: ["<atllbuild-swiftc>", ".atllbuild/objects/Operators.swift.o", ".atllbuild/objects/Parser.swift.o", ".atllbuild/objects/Regex.swift.o", ".atllbuild/objects/Result.swift.o", ".atllbuild/objects/Tokenizer.swift.o", ".atllbuild/objects/Yaml.swift.o"]
is-library: true
module-name: yaml
module-output-path: .atllbuild/products/yaml.swiftmodule
temps-path: .atllbuild//llbuildtmp
other-args: ["-j8", "-D", "ATBUILD", "-I", ".atllbuild/products/", "-D", "CORELIBS_FOUNDATION"]
<atllbuild>:
tool: shell
inputs: ["<atllbuild-swiftc>", ".atllbuild/objects/Operators.swift.o", ".atllbuild/objects/Parser.swift.o", ".atllbuild/objects/Regex.swift.o", ".atllbuild/objects/Result.swift.o", ".atllbuild/objects/Tokenizer.swift.o", ".atllbuild/objects/Yaml.swift.o"]
outputs: ["<atllbuild>", ".atllbuild/products/yaml.a"]
args: ["/bin/sh","-c",rm -rf .atllbuild/products/yaml.a; ar cr '.atllbuild/products/yaml.a' '.atllbuild/objects/Operators.swift.o' '.atllbuild/objects/Parser.swift.o' '.atllbuild/objects/Regex.swift.o' '.atllbuild/objects/Result.swift.o' '.atllbuild/objects/Tokenizer.swift.o' '.atllbuild/objects/Yaml.swift.o']
description: "Linking Library: .atllbuild/products/yaml.a"
\ No newline at end of file
client:
name: swift-build
tools: {}
targets:
"": [<atllbuild>]
atllbuild: [<atllbuild>]
commands:
<atllbuild-swiftc>:
tool: swift-compiler
executable: "/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc"
inputs: ["parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
sources: ["parsers/yaml/src/Operators.swift", "parsers/yaml/src/Parser.swift", "parsers/yaml/src/Regex.swift", "parsers/yaml/src/Result.swift", "parsers/yaml/src/Tokenizer.swift", "parsers/yaml/src/Yaml.swift"]
objects: [".atllbuild/objects/Operators.swift.o", ".atllbuild/objects/Parser.swift.o", ".atllbuild/objects/Regex.swift.o", ".atllbuild/objects/Result.swift.o", ".atllbuild/objects/Tokenizer.swift.o", ".atllbuild/objects/Yaml.swift.o"]
outputs: ["<atllbuild-swiftc>", ".atllbuild/objects/Operators.swift.o", ".atllbuild/objects/Parser.swift.o", ".atllbuild/objects/Regex.swift.o", ".atllbuild/objects/Result.swift.o", ".atllbuild/objects/Tokenizer.swift.o", ".atllbuild/objects/Yaml.swift.o"]
is-library: true
module-name: yaml
module-output-path: .atllbuild/products/yaml.swiftmodule
temps-path: .atllbuild//llbuildtmp
other-args: ["-j8", "-D", "ATBUILD", "-I", ".atllbuild/products/", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"]
<atllbuild>:
tool: shell
inputs: ["<atllbuild-swiftc>", ".atllbuild/objects/Operators.swift.o", ".atllbuild/objects/Parser.swift.o", ".atllbuild/objects/Regex.swift.o", ".atllbuild/objects/Result.swift.o", ".atllbuild/objects/Tokenizer.swift.o", ".atllbuild/objects/Yaml.swift.o"]
outputs: ["<atllbuild>", ".atllbuild/products/yaml.a"]
args: ["/bin/sh","-c",rm -rf .atllbuild/products/yaml.a; ar cr '.atllbuild/products/yaml.a' '.atllbuild/objects/Operators.swift.o' '.atllbuild/objects/Parser.swift.o' '.atllbuild/objects/Regex.swift.o' '.atllbuild/objects/Result.swift.o' '.atllbuild/objects/Tokenizer.swift.o' '.atllbuild/objects/Yaml.swift.o']
description: "Linking Library: .atllbuild/products/yaml.a"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment