The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of llama, reference master (401558), with Swift 6.0 for Linux on 4 Nov 2024 19:02:06 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ggerganov/llama.cpp.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ggerganov/llama.cpp
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 401558b ggml : fix q4xx mat mul, increase ggml_aligned_malloc alignment (#10167)
Submodule path 'ggml/src/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'ggml/src/kompute'
Cloning into '/host/spi-builder-workspace/ggml/src/kompute'...
Cloned https://github.com/ggerganov/llama.cpp.git
Revision (git rev-parse @):
401558b7ba7a08175c153cd3607230f63c8a528e
SUCCESS checkout https://github.com/ggerganov/llama.cpp.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ggerganov/llama.cpp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/12] Compiling ggml-alloc.c
[1/12] Compiling ggml-aarch64.c
[2/12] Compiling ggml-backend.cpp
[3/12] Compiling unicode-data.cpp
[4/12] Compiling llama-vocab.cpp
[5/12] Compiling llama-grammar.cpp
[6/12] Compiling llama-sampling.cpp
[7/12] Compiling ggml.c
[8/12] Compiling ggml-quants.c
[9/12] Compiling ggml-cpu.c
[10/12] Compiling unicode.cpp
[11/12] Compiling llama.cpp
Build complete! (34.52s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "llama",
  "name" : "llama",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "llama",
      "targets" : [
        "llama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama",
      "module_type" : "ClangTarget",
      "name" : "llama",
      "path" : ".",
      "product_memberships" : [
        "llama"
      ],
      "sources" : [
        "ggml/src/ggml-aarch64.c",
        "ggml/src/ggml-alloc.c",
        "ggml/src/ggml-backend.cpp",
        "ggml/src/ggml-cpu.c",
        "ggml/src/ggml-quants.c",
        "ggml/src/ggml.c",
        "src/llama-grammar.cpp",
        "src/llama-sampling.cpp",
        "src/llama-vocab.cpp",
        "src/llama.cpp",
        "src/unicode-data.cpp",
        "src/unicode.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.