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

Failed to build Swifty-LLVM, reference main (208dd0), with Swift 6.2 (beta) for macOS (SPM) on 17 Jul 2025 03:49:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hylo-lang/Swifty-LLVM.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hylo-lang/Swifty-LLVM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 208dd0f Update README.md with LLVM 20 reference
Cloned https://github.com/hylo-lang/Swifty-LLVM.git
Revision (git rev-parse @):
208dd0f8736e8da48cc542c0e3370e862ea6e70d
SUCCESS checkout https://github.com/hylo-lang/Swifty-LLVM.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hylo-lang/Swifty-LLVM.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-1EA4D86E10B52AF.txt
/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cc:7:10: fatal error: 'llvm-c/TargetMachine.h' file not found
    7 | #include "llvm-c/TargetMachine.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/3] Compiling shim.cc
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llvm
warning: couldn't find pc file for llvm
BUILD FAILURE 6.2 macosSpm