Build Information
Failed to build llvm-api, reference v0.3.0 (174917
), with Swift 5.9 for macOS (SPM) on 27 Jul 2024 14:18:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrLSD/llvm-api-swift.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mrLSD/llvm-api-swift
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 174917d Merge pull request #5 from mrLSD/feat/restructure-2
Cloned https://github.com/mrLSD/llvm-api-swift.git
Revision (git rev-parse @):
174917ddf6d943407c40c5c299abd1d4bf2633a2
SUCCESS checkout https://github.com/mrLSD/llvm-api-swift.git at v0.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/mrLSD/llvm-api-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/26] Emitting module LLVM
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[2/28] Compiling LLVM Constants.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[3/28] Compiling LLVM Expressions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[4/28] Compiling LLVM Function.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[5/28] Compiling LLVM Int.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[6/28] Compiling LLVM Label.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[7/28] Compiling LLVM Metadata.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[8/28] Compiling LLVM TargetExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[9/28] Compiling LLVM Token.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[10/28] Compiling LLVM Modules.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[11/28] Compiling LLVM Array.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[12/28] Compiling LLVM Float.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[13/28] Compiling LLVM Void.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[14/28] Compiling LLVM X86AMX.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[15/28] Compiling LLVM X86MMX.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[16/28] Compiling LLVM AddressSpace.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[17/28] Compiling LLVM BasicBlock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[18/28] Compiling LLVM Context.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[19/28] Compiling LLVM Pointer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[20/28] Compiling LLVM Struct.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[21/28] Compiling LLVM Types.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[22/28] Compiling LLVM Vector.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[23/28] Compiling LLVM Composite.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[24/28] Compiling LLVM Core.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[25/28] Compiling LLVM Diagnostic.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[26/28] Compiling LLVM Functions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[27/28] Compiling LLVM Scalar.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
[28/28] Compiling LLVM Value.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llvm
BUILD FAILURE 5.9 macosSpm