bootstrap-macosx.swift-build 1.4 KB
Newer Older
1 2 3
client:
  name: swift-build

Drew's avatar
Drew committed
4
tools: {}
5

Drew's avatar
Drew committed
6 7 8
targets:
  "": [<atllbuild>]
  atllbuild: [<atllbuild>]
9
commands:
Drew's avatar
Drew committed
10 11 12
  <atllbuild-swiftc>:
     tool: swift-compiler
     executable: "/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc"
Johannes Schriewer's avatar
Johannes Schriewer committed
13 14 15 16
     inputs: ["atbuild/src/main.swift"]
     sources: ["atbuild/src/main.swift"]
     objects: [".atllbuild/objects/main.swift.o"]
     outputs: ["<atllbuild-swiftc>", ".atllbuild/objects/main.swift.o"]
Drew's avatar
Drew committed
17 18
     enable-whole-module-optimization: false
     num-threads: 8
Drew's avatar
Drew committed
19 20
     module-name: atbuild
     module-output-path: .atllbuild/products/atbuild.swiftmodule
Johannes Schriewer's avatar
Johannes Schriewer committed
21
     temps-path: .atllbuild/llbuildtmp
Drew's avatar
Drew committed
22
     other-args: ["-j8", "-D", "ATBUILD", "-I", ".atllbuild/products/", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk", "-g", "-DATBUILD_DEBUG"]
Drew's avatar
Drew committed
23
  <atllbuild>:
24
    tool: shell
Johannes Schriewer's avatar
Johannes Schriewer committed
25
    inputs: ["<atllbuild-swiftc>", ".atllbuild/objects/main.swift.o", ".atllbuild/products/attools.a", ".atllbuild/products/atpkg.a", ".atllbuild/products/atfoundation.a"]
Drew's avatar
Drew committed
26
    outputs: ["<atllbuild>", ".atllbuild/products/atbuild"]
Drew's avatar
Drew committed
27
    args: ["/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc", "-o", ".atllbuild/products/atbuild", ".atllbuild/objects/main.swift.o", ".atllbuild/products/attools.a", ".atllbuild/products/atpkg.a", ".atllbuild/products/atfoundation.a"]
Drew's avatar
Drew committed
28
    description: Linking executable .atllbuild/products/atbuild