Build Information
Failed to build mlx-swift, reference main (b79c74
), with Swift 6.2 (beta) for Linux on 24 Jun 2025 08:19:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift.git
Reference: main
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/ml-explore/mlx-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b79c74c Add ReLUSquared Activation Function (#250)
Submodule path 'Source/Cmlx/mlx': checked out 'eaf709b83e559079e212699bfc9dd2f939d25c9a'
Submodule path 'Source/Cmlx/mlx-c': checked out '9ebe155864eab06d94ba18e01f9cb2666b2975a7'
Submodule 'submodules/mlx' (https://github.com/ml-explore/mlx) registered for path 'Source/Cmlx/mlx'
Submodule 'submodules/mlx-c' (https://github.com/ml-explore/mlx-c) registered for path 'Source/Cmlx/mlx-c'
Cloning into '/host/spi-builder-workspace/Source/Cmlx/mlx'...
Cloning into '/host/spi-builder-workspace/Source/Cmlx/mlx-c'...
Cloned https://github.com/ml-explore/mlx-swift.git
Revision (git rev-parse @):
b79c74ce773440b86a81ef925ea78dd5023a16c0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (4.87s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/Example1.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
Building for debugging...
[0/177] Compiling _NumericsShims _NumericsShims.c
[0/177] Write sources
[13/177] Compiling version.cpp
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/quantized.cpp:7:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/simd/simd.h:3:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/simd/math.h:5:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/simd/type.h:6:
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/simd/accelerate_simd.h:3:10: fatal error: 'simd/math.h' file not found
3 | #include <simd/math.h>
| ^~~~~~~~~~~~~
1 error generated.
[14/177] Compiling quantized.cpp
[14/177] Compiling utils.cpp
[14/177] Compiling compile.cpp
[14/177] Compiling closure.cpp
[14/177] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/qrf.cpp:6:
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:15:10: fatal error: 'Accelerate/Accelerate.h' file not found
15 | #include <Accelerate/Accelerate.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[14/177] Compiling qrf.cpp
[14/177] Compiling array.cpp
[14/177] Compiling primitives.cpp
BUILD FAILURE 6.2 linux