The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of llama.swift, reference main (b51589), with Swift 6.1 for macOS (SPM) on 15 Dec 2025 03:14:34 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/llama.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattt/llama.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b515891 Update llama.cpp release to b7404
Cloned https://github.com/mattt/llama.swift.git
Revision (git rev-parse @):
b515891567e3602659ba074a0876a3faf73e4819
SUCCESS checkout https://github.com/mattt/llama.swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattt/llama.swift.git
https://github.com/mattt/llama.swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "llama.swift",
  "name" : "llama.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Llama",
      "targets" : [
        "Llama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama_cpp",
      "module_type" : "BinaryTarget",
      "name" : "llama-cpp",
      "path" : "remote/archive/llama-b7404-xcframework.zip",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "LlamaTests",
      "path" : "Tests/LlamaTests",
      "sources" : [
        "LlamaTests.swift"
      ],
      "target_dependencies" : [
        "Llama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Llama",
      "module_type" : "SwiftTarget",
      "name" : "Llama",
      "path" : "Sources/Llama",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
        "Llama.swift"
      ],
      "target_dependencies" : [
        "llama-cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[1/3] Copying llama.framework
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/5] Compiling Llama Llama.swift
[5/5] Emitting module Llama
Build complete! (8.52s)
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b7404/llama-b7404-xcframework.zip
[15149/147180294] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b7404/llama-b7404-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b7404/llama-b7404-xcframework.zip (7.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "llama.swift",
  "name" : "llama.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Llama",
      "targets" : [
        "Llama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama_cpp",
      "module_type" : "BinaryTarget",
      "name" : "llama-cpp",
      "path" : "remote/archive/llama-b7404-xcframework.zip",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "LlamaTests",
      "path" : "Tests/LlamaTests",
      "sources" : [
        "LlamaTests.swift"
      ],
      "target_dependencies" : [
        "Llama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Llama",
      "module_type" : "SwiftTarget",
      "name" : "Llama",
      "path" : "Sources/Llama",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
        "Llama.swift"
      ],
      "target_dependencies" : [
        "llama-cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.