Build Information
Failed to build MetalHLO, reference main (cfec83), with Swift 6.1 for watchOS using Xcode 16.3 on 13 May 2026 20:53:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MetalHLO-Package -destination generic/platform=watchOSBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pedronahum/MetalHLO.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pedronahum/MetalHLO
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cfec837 Update ResNet18 CIFAR-10 readmes — 5.6x → 8.48x
Cloned https://github.com/pedronahum/MetalHLO.git
Revision (git rev-parse @):
cfec8372a0fb0de822235a0f5976ae072abf5075
SUCCESS checkout https://github.com/pedronahum/MetalHLO.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/pedronahum/MetalHLO.git
https://github.com/pedronahum/MetalHLO.git
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.21.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift"
}
],
"manifest_display_name" : "MetalHLO",
"name" : "MetalHLO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "MetalHLO",
"targets" : [
"MetalHLO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CMetalHLO",
"targets" : [
"CMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "PJRTMetalHLO",
"targets" : [
"PJRTMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ANERuntime",
"targets" : [
"ANERuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetalHLOBenchmarks",
"targets" : [
"MetalHLOBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXBenchmarks",
"targets" : [
"MLXBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "benchmark-runner",
"targets" : [
"BenchmarkRunner"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-comparison",
"targets" : [
"MLXComparison"
],
"type" : {
"executable" : null
}
},
{
"name" : "HeterogeneousFusionBenchmark",
"targets" : [
"HeterogeneousFusionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "GPT2EndToEnd",
"targets" : [
"GPT2EndToEnd"
],
"type" : {
"executable" : null
}
},
{
"name" : "DepthAttentionBenchmark",
"targets" : [
"DepthAttentionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "CalibrateTest",
"targets" : [
"CalibrateTest"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "PJRTMetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLOTests",
"path" : "Tests/PJRTMetalHLOTests",
"sources" : [
"PJRTPluginTests.swift"
],
"target_dependencies" : [
"PJRTMetalHLO",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "PJRTMetalHLO",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLO",
"path" : "Sources/PJRTMetalHLO",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"OpaquePointerHelpers.swift",
"PJRTApi.swift",
"PJRTBuffer.swift",
"PJRTClient.swift",
"PJRTDevice.swift",
"PJRTError.swift",
"PJRTEvent.swift",
"PJRTExecutable.swift",
"PJRTMemory.swift",
"PJRTTopology.swift"
],
"target_dependencies" : [
"MetalHLO",
"MetalHLOCore",
"CPJRTApi",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOTests",
"path" : "Tests/MetalHLOTests",
"sources" : [
"ActivationOpsTests.swift",
"CAPITests.swift",
"ClientTests.swift",
"Conformance/ConformanceAnalyzer.swift",
"Conformance/ConformanceTestCLI.swift",
"Conformance/ConformanceTestRunner.swift",
"Conformance/StableHLO/IndexingConformanceTests.swift",
"Conformance/StableHLO/IndexingOperationsDiagnostic.swift",
"Conformance/StableHLO/InterpretTestParser.swift",
"Conformance/StableHLO/InterpretTestRunner.swift",
"Conformance/StableHLO/OfficialConformanceTests.swift",
"Conformance/StableHLO/OfficialTestManager.swift",
"Conformance/StableHLO/OptimizationBugDiagnostic.swift",
"Conformance/StableHLO/OptimizationCorrectnessTests.swift",
"Conformance/StableHLOConformanceTests.swift",
"Conformance/StableHLOTestManager.swift",
"Conformance/StableHLOTestParser.swift",
"ConstantHandlingTests.swift",
"ControlFlowTests.swift",
"IndexingOpsTests.swift",
"IntegrationTests.swift",
"NewOpsTests.swift",
"OperationTests.swift",
"ProducerConsumerFusionBugTest.swift",
"QuickWinsOpsTests.swift",
"RNGTypesTests.swift",
"TrainingOpsTests.swift"
],
"target_dependencies" : [
"MetalHLO",
"CMetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCoreTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCoreTests",
"path" : "Tests/MetalHLOCoreTests",
"sources" : [
"ANE/MILEmitterTests.swift",
"ANE/MILWeightPackerTests.swift",
"AnalyzerTests.swift",
"CanonicalizersTests.swift",
"CodegenTests.swift",
"CrossEntropyTest.swift",
"CrossLayerFusionTests.swift",
"CustomCallTests.swift",
"DepthAttentionTests.swift",
"GatherBatchingTests.swift",
"GatherMLIRFormatTest.swift",
"HLOOptimizerTests.swift",
"HeterogeneousIntegrationTests.swift",
"IntegratedExecutorTests.swift",
"KernelCacheTests.swift",
"KernelDispatchRegressionTests.swift",
"LLMOptimizationsTests.swift",
"LexerTests.swift",
"MILFusionTests.swift",
"MemoryPlanningTests.swift",
"MetalKernelTests.swift",
"NeuralEngineTargetingTests.swift",
"ParserTests.swift",
"PartitionerTests.swift",
"PassManagerTests.swift",
"PatternCodegenTests.swift",
"PermutationUtilsTests.swift",
"ProfileGuidedOptimizationTests.swift",
"QuantizationAwareTests.swift",
"ReduceTest.swift",
"RematerializationTests.swift",
"ScatterTest.swift",
"SharedIOSurfaceTests.swift",
"TuningTests.swift",
"ZeroAllocExecutionTests.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCore",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCore",
"path" : "Sources/MetalHLOCore",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANE/CoreMLOpBuilder.swift",
"ANE/MILEmitter.swift",
"ANE/MILFusionRewriter.swift",
"ANE/MILOpTranslator.swift",
"ANE/MILTextBuilder.swift",
"ANE/MILTypeMapper.swift",
"ANE/MILWeightPacker.swift",
"Cache/KernelCache.swift",
"Codegen/KernelSpecializer.swift",
"Codegen/MetalEmitter.swift",
"Codegen/MetalIR.swift",
"Codegen/PatternCodegen.swift",
"Codegen/ReductionKernelGenerator.swift",
"Codegen/SpecializedAttention.swift",
"Codegen/SpecializedMatMul.swift",
"Codegen/TileCalculator.swift",
"Compiler/Analyzer.swift",
"Compiler/CodeGenerator.swift",
"Compiler/CustomCallHandlers.swift",
"Compiler/EmbeddedAttentionSplitter.swift",
"Compiler/IntegrationTypes.swift",
"Compiler/KernelTypes.swift",
"Compiler/MPSGraphCompiler.swift",
"Compiler/MetalHLOCompiler.swift",
"Compiler/OpEmitter.swift",
"Compiler/PassManager.swift",
"Compiler/TF32Transform.swift",
"IR/Attributes.swift",
"IR/HLOFunction.swift",
"IR/HLOModule.swift",
"IR/HLOOpKind.swift",
"IR/HLOOperation.swift",
"IR/TensorType.swift",
"LLM/LLMOptimizations.swift",
"Memory/StaticMemoryPlanner.swift",
"Metal/Kernels/DepthAttentionKernel.swift",
"Metal/Kernels/FlashAttentionKernel.swift",
"Metal/Kernels/GELUKernel.swift",
"Metal/Kernels/KernelRegistry.swift",
"Metal/Kernels/LayerNormKernel.swift",
"Metal/Kernels/MetalKernel.swift",
"Metal/Kernels/SoftmaxKernel.swift",
"Metal/Kernels/UnaryKernels.swift",
"Optimizer/AlgebraicSimplifier.swift",
"Optimizer/BufferAssignment.swift",
"Optimizer/Canonicalizers.swift",
"Optimizer/CostModel.swift",
"Optimizer/CrossLayerFusion.swift",
"Optimizer/FusionPatterns.swift",
"Optimizer/HLOOptimizer.swift",
"Optimizer/HLOPattern.swift",
"Optimizer/HorizontalFusion.swift",
"Optimizer/LayoutAssignment.swift",
"Optimizer/ProducerConsumerFusion.swift",
"Optimizer/ProfileGuidedOptimization.swift",
"Optimizer/QuantizationAware.swift",
"Optimizer/Rematerialization.swift",
"Optimizer/SiblingFusion.swift",
"Parser/Lexer.swift",
"Parser/ParseError.swift",
"Parser/Parser.swift",
"Parser/Token.swift",
"Runtime/BufferStorage.swift",
"Runtime/CompilationCache.swift",
"Runtime/IntegratedExecutor.swift",
"Runtime/LargeTensorPool.swift",
"Runtime/LargeTensorStorage.swift",
"Runtime/LayerAccumulationBuffer.swift",
"Runtime/MetalExecutor.swift",
"Runtime/NeuralEngineTargeting.swift",
"Runtime/SharedIOSurfaceBuffer.swift",
"Runtime/StridedTensorView.swift",
"Runtime/SubFunctionExtractor.swift",
"Runtime/TensorTransferManager.swift",
"Runtime/ZeroAllocExecutor.swift",
"Tuning/AutoTuner.swift",
"Tuning/TuningDatabase.swift",
"Utils/PermutationUtils.swift"
],
"target_dependencies" : [
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MetalHLOBenchmarks",
"path" : "Sources/MetalHLOBenchmarks",
"product_memberships" : [
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"BenchmarkResult.swift",
"BenchmarkRunner.swift",
"CompilerBenchmarks.swift",
"FusionAnalysisBenchmarks.swift",
"GPUMetrics.swift",
"MemoryBenchmarks.swift",
"ModelBenchmarks.swift",
"OperationBenchmarks.swift",
"PowerEfficiencyBenchmarks.swift",
"TestDataGenerator.swift"
],
"target_dependencies" : [
"MetalHLO"
],
"type" : "library"
},
{
"c99name" : "MetalHLO",
"module_type" : "SwiftTarget",
"name" : "MetalHLO",
"path" : "Sources/MetalHLO",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"Buffer.swift",
"Client.swift",
"CompilationConfig.swift",
"ElementType.swift",
"Errors.swift",
"Executable.swift",
"MetalHLO.swift",
"TensorType.swift"
],
"target_dependencies" : [
"MetalHLOCore"
],
"type" : "library"
},
{
"c99name" : "MLXComparison",
"module_type" : "SwiftTarget",
"name" : "MLXComparison",
"path" : "Sources/MLXComparison",
"product_memberships" : [
"mlx-comparison"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MLXBenchmarks",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "MLXBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MLXBenchmarks",
"path" : "Sources/MLXBenchmarks",
"product_dependencies" : [
"MLX",
"MLXRandom"
],
"product_memberships" : [
"MLXBenchmarks",
"mlx-comparison"
],
"sources" : [
"MLXBenchmarks.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "library"
},
{
"c99name" : "HeterogeneousFusionBenchmark",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusionBenchmark",
"path" : "Sources/HeterogeneousFusionBenchmark",
"product_memberships" : [
"HeterogeneousFusionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "HeterogeneousFusion",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusion",
"path" : "Sources/HeterogeneousFusion",
"product_memberships" : [
"HeterogeneousFusionBenchmark",
"GPT2EndToEnd",
"CalibrateTest"
],
"sources" : [
"AttentionExecutor.swift",
"BenchmarkHarness.swift",
"ColumnSplitHelper.swift",
"ComputeUnit.swift",
"ContentionModel.swift",
"ConvolutionCPU.swift",
"ConvolutionGPU.swift",
"ConvolutionMPS.swift",
"ElementwiseCPU.swift",
"ElementwiseGPU.swift",
"EligibilityAnnotationPass.swift",
"EmbeddingCPU.swift",
"EmbeddingGPU.swift",
"FusedExecutor.swift",
"FusedMatmul.swift",
"HardwareCalibration.swift",
"HardwareMonitor.swift",
"HardwareProfile.swift",
"HeteroGraph.swift",
"HeterogeneousError.swift",
"HeterogeneousPartitioningPass.swift",
"LayerNormCPU.swift",
"LayerNormGPU.swift",
"MatmulANE.swift",
"MatmulCPU.swift",
"MatmulGPU.swift",
"OpFusionPass.swift",
"OptimalSplitter.swift",
"PartitionDescriptor.swift",
"ProfileDatabase.swift",
"ProfitabilityGuard.swift",
"SequentialScheduler.swift",
"SoftmaxCPU.swift",
"SoftmaxGPU.swift",
"ThroughputCurve.swift"
],
"type" : "library"
},
{
"c99name" : "GPT2EndToEnd",
"module_type" : "SwiftTarget",
"name" : "GPT2EndToEnd",
"path" : "Sources/GPT2EndToEnd",
"product_memberships" : [
"GPT2EndToEnd"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "DepthAttentionBenchmark",
"module_type" : "SwiftTarget",
"name" : "DepthAttentionBenchmark",
"path" : "Sources/DepthAttentionBenchmark",
"product_memberships" : [
"DepthAttentionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "CalibrateTest",
"module_type" : "SwiftTarget",
"name" : "CalibrateTest",
"path" : "Sources/CalibrateTest",
"product_memberships" : [
"CalibrateTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "CPJRTApi",
"module_type" : "ClangTarget",
"name" : "CPJRTApi",
"path" : "Sources/CPJRTApi",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "CMetalHLO",
"module_type" : "SwiftTarget",
"name" : "CMetalHLO",
"path" : "Sources/CMetalHLO",
"product_memberships" : [
"CMetalHLO"
],
"sources" : [
"CInterface.swift"
],
"target_dependencies" : [
"MetalHLO",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "BenchmarkRunner",
"module_type" : "SwiftTarget",
"name" : "BenchmarkRunner",
"path" : "Sources/BenchmarkRunner",
"product_memberships" : [
"benchmark-runner"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "ANERuntimeTests",
"module_type" : "SwiftTarget",
"name" : "ANERuntimeTests",
"path" : "Tests/ANERuntimeTests",
"sources" : [
"ANEAvailabilityTests.swift",
"ANEBufferTests.swift",
"ANECompileCounterTests.swift",
"ANEDeviceTests.swift",
"ANEMILIntegrationTests.swift",
"ANEWatchdogTests.swift",
"CoreMLBridgeTests.swift"
],
"target_dependencies" : [
"ANERuntime",
"MetalHLOCore"
],
"type" : "test"
},
{
"c99name" : "ANERuntime",
"module_type" : "SwiftTarget",
"name" : "ANERuntime",
"path" : "Sources/ANERuntime",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"ANERuntime",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANEAvailability.swift",
"ANEBuffer.swift",
"ANEDevice.swift",
"ANEError.swift",
"ANEProgram.swift",
"ANEWatchdog.swift",
"CompileCounter.swift",
"CoreMLBridge.swift",
"CoreMLModelBuilder.swift",
"CoreMLOp.swift",
"CoreMLProgram.swift",
"MILWeightTemplate.swift",
"Protobuf/CoreMLProto.swift",
"Protobuf/ProtobufWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/ml-explore/mlx-swift
Fetching from https://github.com/apple/swift-numerics (cached)
Creating working copy of package ‘mlx-swift’
Checking out 0.31.3 of package ‘mlx-swift’
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Resolve Package Graph
Resolved source packages:
mlx-swift: https://github.com/ml-explore/mlx-swift @ 0.31.3
swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
MetalHLO: /Users/admin/builder/spi-builder-workspace
resolved source packages: mlx-swift, swift-numerics, MetalHLO
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.21.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift"
}
],
"manifest_display_name" : "MetalHLO",
"name" : "MetalHLO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "MetalHLO",
"targets" : [
"MetalHLO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CMetalHLO",
"targets" : [
"CMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "PJRTMetalHLO",
"targets" : [
"PJRTMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ANERuntime",
"targets" : [
"ANERuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetalHLOBenchmarks",
"targets" : [
"MetalHLOBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXBenchmarks",
"targets" : [
"MLXBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "benchmark-runner",
"targets" : [
"BenchmarkRunner"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-comparison",
"targets" : [
"MLXComparison"
],
"type" : {
"executable" : null
}
},
{
"name" : "HeterogeneousFusionBenchmark",
"targets" : [
"HeterogeneousFusionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "GPT2EndToEnd",
"targets" : [
"GPT2EndToEnd"
],
"type" : {
"executable" : null
}
},
{
"name" : "DepthAttentionBenchmark",
"targets" : [
"DepthAttentionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "CalibrateTest",
"targets" : [
"CalibrateTest"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "PJRTMetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLOTests",
"path" : "Tests/PJRTMetalHLOTests",
"sources" : [
"PJRTPluginTests.swift"
],
"target_dependencies" : [
"PJRTMetalHLO",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "PJRTMetalHLO",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLO",
"path" : "Sources/PJRTMetalHLO",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"OpaquePointerHelpers.swift",
"PJRTApi.swift",
"PJRTBuffer.swift",
"PJRTClient.swift",
"PJRTDevice.swift",
"PJRTError.swift",
"PJRTEvent.swift",
"PJRTExecutable.swift",
"PJRTMemory.swift",
"PJRTTopology.swift"
],
"target_dependencies" : [
"MetalHLO",
"MetalHLOCore",
"CPJRTApi",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOTests",
"path" : "Tests/MetalHLOTests",
"sources" : [
"ActivationOpsTests.swift",
"CAPITests.swift",
"ClientTests.swift",
"Conformance/ConformanceAnalyzer.swift",
"Conformance/ConformanceTestCLI.swift",
"Conformance/ConformanceTestRunner.swift",
"Conformance/StableHLO/IndexingConformanceTests.swift",
"Conformance/StableHLO/IndexingOperationsDiagnostic.swift",
"Conformance/StableHLO/InterpretTestParser.swift",
"Conformance/StableHLO/InterpretTestRunner.swift",
"Conformance/StableHLO/OfficialConformanceTests.swift",
"Conformance/StableHLO/OfficialTestManager.swift",
"Conformance/StableHLO/OptimizationBugDiagnostic.swift",
"Conformance/StableHLO/OptimizationCorrectnessTests.swift",
"Conformance/StableHLOConformanceTests.swift",
"Conformance/StableHLOTestManager.swift",
"Conformance/StableHLOTestParser.swift",
"ConstantHandlingTests.swift",
"ControlFlowTests.swift",
"IndexingOpsTests.swift",
"IntegrationTests.swift",
"NewOpsTests.swift",
"OperationTests.swift",
"ProducerConsumerFusionBugTest.swift",
"QuickWinsOpsTests.swift",
"RNGTypesTests.swift",
"TrainingOpsTests.swift"
],
"target_dependencies" : [
"MetalHLO",
"CMetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCoreTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCoreTests",
"path" : "Tests/MetalHLOCoreTests",
"sources" : [
"ANE/MILEmitterTests.swift",
"ANE/MILWeightPackerTests.swift",
"AnalyzerTests.swift",
"CanonicalizersTests.swift",
"CodegenTests.swift",
"CrossEntropyTest.swift",
"CrossLayerFusionTests.swift",
"CustomCallTests.swift",
"DepthAttentionTests.swift",
"GatherBatchingTests.swift",
"GatherMLIRFormatTest.swift",
"HLOOptimizerTests.swift",
"HeterogeneousIntegrationTests.swift",
"IntegratedExecutorTests.swift",
"KernelCacheTests.swift",
"KernelDispatchRegressionTests.swift",
"LLMOptimizationsTests.swift",
"LexerTests.swift",
"MILFusionTests.swift",
"MemoryPlanningTests.swift",
"MetalKernelTests.swift",
"NeuralEngineTargetingTests.swift",
"ParserTests.swift",
"PartitionerTests.swift",
"PassManagerTests.swift",
"PatternCodegenTests.swift",
"PermutationUtilsTests.swift",
"ProfileGuidedOptimizationTests.swift",
"QuantizationAwareTests.swift",
"ReduceTest.swift",
"RematerializationTests.swift",
"ScatterTest.swift",
"SharedIOSurfaceTests.swift",
"TuningTests.swift",
"ZeroAllocExecutionTests.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCore",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCore",
"path" : "Sources/MetalHLOCore",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANE/CoreMLOpBuilder.swift",
"ANE/MILEmitter.swift",
"ANE/MILFusionRewriter.swift",
"ANE/MILOpTranslator.swift",
"ANE/MILTextBuilder.swift",
"ANE/MILTypeMapper.swift",
"ANE/MILWeightPacker.swift",
"Cache/KernelCache.swift",
"Codegen/KernelSpecializer.swift",
"Codegen/MetalEmitter.swift",
"Codegen/MetalIR.swift",
"Codegen/PatternCodegen.swift",
"Codegen/ReductionKernelGenerator.swift",
"Codegen/SpecializedAttention.swift",
"Codegen/SpecializedMatMul.swift",
"Codegen/TileCalculator.swift",
"Compiler/Analyzer.swift",
"Compiler/CodeGenerator.swift",
"Compiler/CustomCallHandlers.swift",
"Compiler/EmbeddedAttentionSplitter.swift",
"Compiler/IntegrationTypes.swift",
"Compiler/KernelTypes.swift",
"Compiler/MPSGraphCompiler.swift",
"Compiler/MetalHLOCompiler.swift",
"Compiler/OpEmitter.swift",
"Compiler/PassManager.swift",
"Compiler/TF32Transform.swift",
"IR/Attributes.swift",
"IR/HLOFunction.swift",
"IR/HLOModule.swift",
"IR/HLOOpKind.swift",
"IR/HLOOperation.swift",
"IR/TensorType.swift",
"LLM/LLMOptimizations.swift",
"Memory/StaticMemoryPlanner.swift",
"Metal/Kernels/DepthAttentionKernel.swift",
"Metal/Kernels/FlashAttentionKernel.swift",
"Metal/Kernels/GELUKernel.swift",
"Metal/Kernels/KernelRegistry.swift",
"Metal/Kernels/LayerNormKernel.swift",
"Metal/Kernels/MetalKernel.swift",
"Metal/Kernels/SoftmaxKernel.swift",
"Metal/Kernels/UnaryKernels.swift",
"Optimizer/AlgebraicSimplifier.swift",
"Optimizer/BufferAssignment.swift",
"Optimizer/Canonicalizers.swift",
"Optimizer/CostModel.swift",
"Optimizer/CrossLayerFusion.swift",
"Optimizer/FusionPatterns.swift",
"Optimizer/HLOOptimizer.swift",
"Optimizer/HLOPattern.swift",
"Optimizer/HorizontalFusion.swift",
"Optimizer/LayoutAssignment.swift",
"Optimizer/ProducerConsumerFusion.swift",
"Optimizer/ProfileGuidedOptimization.swift",
"Optimizer/QuantizationAware.swift",
"Optimizer/Rematerialization.swift",
"Optimizer/SiblingFusion.swift",
"Parser/Lexer.swift",
"Parser/ParseError.swift",
"Parser/Parser.swift",
"Parser/Token.swift",
"Runtime/BufferStorage.swift",
"Runtime/CompilationCache.swift",
"Runtime/IntegratedExecutor.swift",
"Runtime/LargeTensorPool.swift",
"Runtime/LargeTensorStorage.swift",
"Runtime/LayerAccumulationBuffer.swift",
"Runtime/MetalExecutor.swift",
"Runtime/NeuralEngineTargeting.swift",
"Runtime/SharedIOSurfaceBuffer.swift",
"Runtime/StridedTensorView.swift",
"Runtime/SubFunctionExtractor.swift",
"Runtime/TensorTransferManager.swift",
"Runtime/ZeroAllocExecutor.swift",
"Tuning/AutoTuner.swift",
"Tuning/TuningDatabase.swift",
"Utils/PermutationUtils.swift"
],
"target_dependencies" : [
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MetalHLOBenchmarks",
"path" : "Sources/MetalHLOBenchmarks",
"product_memberships" : [
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"BenchmarkResult.swift",
"BenchmarkRunner.swift",
"CompilerBenchmarks.swift",
"FusionAnalysisBenchmarks.swift",
"GPUMetrics.swift",
"MemoryBenchmarks.swift",
"ModelBenchmarks.swift",
"OperationBenchmarks.swift",
"PowerEfficiencyBenchmarks.swift",
"TestDataGenerator.swift"
],
"target_dependencies" : [
"MetalHLO"
],
"type" : "library"
},
{
"c99name" : "MetalHLO",
"module_type" : "SwiftTarget",
"name" : "MetalHLO",
"path" : "Sources/MetalHLO",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"Buffer.swift",
"Client.swift",
"CompilationConfig.swift",
"ElementType.swift",
"Errors.swift",
"Executable.swift",
"MetalHLO.swift",
"TensorType.swift"
],
"target_dependencies" : [
"MetalHLOCore"
],
"type" : "library"
},
{
"c99name" : "MLXComparison",
"module_type" : "SwiftTarget",
"name" : "MLXComparison",
"path" : "Sources/MLXComparison",
"product_memberships" : [
"mlx-comparison"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MLXBenchmarks",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "MLXBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MLXBenchmarks",
"path" : "Sources/MLXBenchmarks",
"product_dependencies" : [
"MLX",
"MLXRandom"
],
"product_memberships" : [
"MLXBenchmarks",
"mlx-comparison"
],
"sources" : [
"MLXBenchmarks.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "library"
},
{
"c99name" : "HeterogeneousFusionBenchmark",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusionBenchmark",
"path" : "Sources/HeterogeneousFusionBenchmark",
"product_memberships" : [
"HeterogeneousFusionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "HeterogeneousFusion",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusion",
"path" : "Sources/HeterogeneousFusion",
"product_memberships" : [
"HeterogeneousFusionBenchmark",
"GPT2EndToEnd",
"CalibrateTest"
],
"sources" : [
"AttentionExecutor.swift",
"BenchmarkHarness.swift",
"ColumnSplitHelper.swift",
"ComputeUnit.swift",
"ContentionModel.swift",
"ConvolutionCPU.swift",
"ConvolutionGPU.swift",
"ConvolutionMPS.swift",
"ElementwiseCPU.swift",
"ElementwiseGPU.swift",
"EligibilityAnnotationPass.swift",
"EmbeddingCPU.swift",
"EmbeddingGPU.swift",
"FusedExecutor.swift",
"FusedMatmul.swift",
"HardwareCalibration.swift",
"HardwareMonitor.swift",
"HardwareProfile.swift",
"HeteroGraph.swift",
"HeterogeneousError.swift",
"HeterogeneousPartitioningPass.swift",
"LayerNormCPU.swift",
"LayerNormGPU.swift",
"MatmulANE.swift",
"MatmulCPU.swift",
"MatmulGPU.swift",
"OpFusionPass.swift",
"OptimalSplitter.swift",
"PartitionDescriptor.swift",
"ProfileDatabase.swift",
"ProfitabilityGuard.swift",
"SequentialScheduler.swift",
"SoftmaxCPU.swift",
"SoftmaxGPU.swift",
"ThroughputCurve.swift"
],
"type" : "library"
},
{
"c99name" : "GPT2EndToEnd",
"module_type" : "SwiftTarget",
"name" : "GPT2EndToEnd",
"path" : "Sources/GPT2EndToEnd",
"product_memberships" : [
"GPT2EndToEnd"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "DepthAttentionBenchmark",
"module_type" : "SwiftTarget",
"name" : "DepthAttentionBenchmark",
"path" : "Sources/DepthAttentionBenchmark",
"product_memberships" : [
"DepthAttentionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "CalibrateTest",
"module_type" : "SwiftTarget",
"name" : "CalibrateTest",
"path" : "Sources/CalibrateTest",
"product_memberships" : [
"CalibrateTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "CPJRTApi",
"module_type" : "ClangTarget",
"name" : "CPJRTApi",
"path" : "Sources/CPJRTApi",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "CMetalHLO",
"module_type" : "SwiftTarget",
"name" : "CMetalHLO",
"path" : "Sources/CMetalHLO",
"product_memberships" : [
"CMetalHLO"
],
"sources" : [
"CInterface.swift"
],
"target_dependencies" : [
"MetalHLO",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "BenchmarkRunner",
"module_type" : "SwiftTarget",
"name" : "BenchmarkRunner",
"path" : "Sources/BenchmarkRunner",
"product_memberships" : [
"benchmark-runner"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "ANERuntimeTests",
"module_type" : "SwiftTarget",
"name" : "ANERuntimeTests",
"path" : "Tests/ANERuntimeTests",
"sources" : [
"ANEAvailabilityTests.swift",
"ANEBufferTests.swift",
"ANECompileCounterTests.swift",
"ANEDeviceTests.swift",
"ANEMILIntegrationTests.swift",
"ANEWatchdogTests.swift",
"CoreMLBridgeTests.swift"
],
"target_dependencies" : [
"ANERuntime",
"MetalHLOCore"
],
"type" : "test"
},
{
"c99name" : "ANERuntime",
"module_type" : "SwiftTarget",
"name" : "ANERuntime",
"path" : "Sources/ANERuntime",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"ANERuntime",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANEAvailability.swift",
"ANEBuffer.swift",
"ANEDevice.swift",
"ANEError.swift",
"ANEProgram.swift",
"ANEWatchdog.swift",
"CompileCounter.swift",
"CoreMLBridge.swift",
"CoreMLModelBuilder.swift",
"CoreMLOp.swift",
"CoreMLProgram.swift",
"MILWeightTemplate.swift",
"Protobuf/CoreMLProto.swift",
"Protobuf/ProtobufWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ANERuntime",
"benchmark-runner",
"CalibrateTest",
"CMetalHLO",
"DepthAttentionBenchmark",
"GPT2EndToEnd",
"HeterogeneousFusionBenchmark",
"MetalHLO",
"MetalHLO-Package",
"MetalHLOBenchmarks",
"mlx-comparison",
"MLXBenchmarks",
"PJRTMetalHLO"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MetalHLO-Package -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MetalHLO-Package -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
mlx-swift: https://github.com/ml-explore/mlx-swift @ 0.31.3
swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
MetalHLO: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (32 targets)
Target 'mlx-comparison' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
Target 'benchmark-runner' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
Target 'HeterogeneousFusionBenchmark' in project 'MetalHLO'
➜ Explicit dependency on target 'HeterogeneousFusion' in project 'MetalHLO'
Target 'GPT2EndToEnd' in project 'MetalHLO'
➜ Explicit dependency on target 'HeterogeneousFusion' in project 'MetalHLO'
Target 'DepthAttentionBenchmark' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
Target 'CalibrateTest' in project 'MetalHLO'
➜ Explicit dependency on target 'HeterogeneousFusion' in project 'MetalHLO'
Target 'HeterogeneousFusion' in project 'MetalHLO' (no dependencies)
Target 'PJRTMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'PJRTMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'CPJRTApi' in project 'MetalHLO'
Target 'PJRTMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'CPJRTApi' in project 'MetalHLO'
Target 'CPJRTApi' in project 'MetalHLO' (no dependencies)
Target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
Target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
Target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
Target 'MLXRandom' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'MLXRandom' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'Numerics' in project 'swift-numerics'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target 'ComplexModule' in project 'swift-numerics'
Target 'Numerics' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target 'ComplexModule' in project 'swift-numerics'
Target 'ComplexModule' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
Target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
Target '_NumericsShims' in project 'swift-numerics' (no dependencies)
Target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'mlx-swift_Cmlx' in project 'mlx-swift'
Target 'mlx-swift_Cmlx' in project 'mlx-swift' (no dependencies)
Target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'CMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'CMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'CMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
Target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
Target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
Target 'ANERuntime' in project 'MetalHLO' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c++ -c /dev/null
Build description signature: 15e5b0d0a4e3636147be9a0de2b126d2
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/15e5b0d0a4e3636147be9a0de2b126d2.xcbuilddata
error: The package product 'MLX' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'MLXBenchmarks' from project 'MetalHLO')
error: The package product 'MLXRandom' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'MLXBenchmarks' from project 'MetalHLO')
error: The package product 'MLX' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'mlx-comparison' from project 'MetalHLO')
error: The package product 'MLXRandom' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'mlx-comparison' from project 'MetalHLO')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme MetalHLO-Package
(1 failure)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
mlx-swift: https://github.com/ml-explore/mlx-swift @ 0.31.3
MetalHLO: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-numerics, mlx-swift, MetalHLO
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.21.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift"
}
],
"manifest_display_name" : "MetalHLO",
"name" : "MetalHLO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "MetalHLO",
"targets" : [
"MetalHLO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CMetalHLO",
"targets" : [
"CMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "PJRTMetalHLO",
"targets" : [
"PJRTMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ANERuntime",
"targets" : [
"ANERuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetalHLOBenchmarks",
"targets" : [
"MetalHLOBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXBenchmarks",
"targets" : [
"MLXBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "benchmark-runner",
"targets" : [
"BenchmarkRunner"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-comparison",
"targets" : [
"MLXComparison"
],
"type" : {
"executable" : null
}
},
{
"name" : "HeterogeneousFusionBenchmark",
"targets" : [
"HeterogeneousFusionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "GPT2EndToEnd",
"targets" : [
"GPT2EndToEnd"
],
"type" : {
"executable" : null
}
},
{
"name" : "DepthAttentionBenchmark",
"targets" : [
"DepthAttentionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "CalibrateTest",
"targets" : [
"CalibrateTest"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "PJRTMetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLOTests",
"path" : "Tests/PJRTMetalHLOTests",
"sources" : [
"PJRTPluginTests.swift"
],
"target_dependencies" : [
"PJRTMetalHLO",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "PJRTMetalHLO",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLO",
"path" : "Sources/PJRTMetalHLO",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"OpaquePointerHelpers.swift",
"PJRTApi.swift",
"PJRTBuffer.swift",
"PJRTClient.swift",
"PJRTDevice.swift",
"PJRTError.swift",
"PJRTEvent.swift",
"PJRTExecutable.swift",
"PJRTMemory.swift",
"PJRTTopology.swift"
],
"target_dependencies" : [
"MetalHLO",
"MetalHLOCore",
"CPJRTApi",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOTests",
"path" : "Tests/MetalHLOTests",
"sources" : [
"ActivationOpsTests.swift",
"CAPITests.swift",
"ClientTests.swift",
"Conformance/ConformanceAnalyzer.swift",
"Conformance/ConformanceTestCLI.swift",
"Conformance/ConformanceTestRunner.swift",
"Conformance/StableHLO/IndexingConformanceTests.swift",
"Conformance/StableHLO/IndexingOperationsDiagnostic.swift",
"Conformance/StableHLO/InterpretTestParser.swift",
"Conformance/StableHLO/InterpretTestRunner.swift",
"Conformance/StableHLO/OfficialConformanceTests.swift",
"Conformance/StableHLO/OfficialTestManager.swift",
"Conformance/StableHLO/OptimizationBugDiagnostic.swift",
"Conformance/StableHLO/OptimizationCorrectnessTests.swift",
"Conformance/StableHLOConformanceTests.swift",
"Conformance/StableHLOTestManager.swift",
"Conformance/StableHLOTestParser.swift",
"ConstantHandlingTests.swift",
"ControlFlowTests.swift",
"IndexingOpsTests.swift",
"IntegrationTests.swift",
"NewOpsTests.swift",
"OperationTests.swift",
"ProducerConsumerFusionBugTest.swift",
"QuickWinsOpsTests.swift",
"RNGTypesTests.swift",
"TrainingOpsTests.swift"
],
"target_dependencies" : [
"MetalHLO",
"CMetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCoreTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCoreTests",
"path" : "Tests/MetalHLOCoreTests",
"sources" : [
"ANE/MILEmitterTests.swift",
"ANE/MILWeightPackerTests.swift",
"AnalyzerTests.swift",
"CanonicalizersTests.swift",
"CodegenTests.swift",
"CrossEntropyTest.swift",
"CrossLayerFusionTests.swift",
"CustomCallTests.swift",
"DepthAttentionTests.swift",
"GatherBatchingTests.swift",
"GatherMLIRFormatTest.swift",
"HLOOptimizerTests.swift",
"HeterogeneousIntegrationTests.swift",
"IntegratedExecutorTests.swift",
"KernelCacheTests.swift",
"KernelDispatchRegressionTests.swift",
"LLMOptimizationsTests.swift",
"LexerTests.swift",
"MILFusionTests.swift",
"MemoryPlanningTests.swift",
"MetalKernelTests.swift",
"NeuralEngineTargetingTests.swift",
"ParserTests.swift",
"PartitionerTests.swift",
"PassManagerTests.swift",
"PatternCodegenTests.swift",
"PermutationUtilsTests.swift",
"ProfileGuidedOptimizationTests.swift",
"QuantizationAwareTests.swift",
"ReduceTest.swift",
"RematerializationTests.swift",
"ScatterTest.swift",
"SharedIOSurfaceTests.swift",
"TuningTests.swift",
"ZeroAllocExecutionTests.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCore",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCore",
"path" : "Sources/MetalHLOCore",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANE/CoreMLOpBuilder.swift",
"ANE/MILEmitter.swift",
"ANE/MILFusionRewriter.swift",
"ANE/MILOpTranslator.swift",
"ANE/MILTextBuilder.swift",
"ANE/MILTypeMapper.swift",
"ANE/MILWeightPacker.swift",
"Cache/KernelCache.swift",
"Codegen/KernelSpecializer.swift",
"Codegen/MetalEmitter.swift",
"Codegen/MetalIR.swift",
"Codegen/PatternCodegen.swift",
"Codegen/ReductionKernelGenerator.swift",
"Codegen/SpecializedAttention.swift",
"Codegen/SpecializedMatMul.swift",
"Codegen/TileCalculator.swift",
"Compiler/Analyzer.swift",
"Compiler/CodeGenerator.swift",
"Compiler/CustomCallHandlers.swift",
"Compiler/EmbeddedAttentionSplitter.swift",
"Compiler/IntegrationTypes.swift",
"Compiler/KernelTypes.swift",
"Compiler/MPSGraphCompiler.swift",
"Compiler/MetalHLOCompiler.swift",
"Compiler/OpEmitter.swift",
"Compiler/PassManager.swift",
"Compiler/TF32Transform.swift",
"IR/Attributes.swift",
"IR/HLOFunction.swift",
"IR/HLOModule.swift",
"IR/HLOOpKind.swift",
"IR/HLOOperation.swift",
"IR/TensorType.swift",
"LLM/LLMOptimizations.swift",
"Memory/StaticMemoryPlanner.swift",
"Metal/Kernels/DepthAttentionKernel.swift",
"Metal/Kernels/FlashAttentionKernel.swift",
"Metal/Kernels/GELUKernel.swift",
"Metal/Kernels/KernelRegistry.swift",
"Metal/Kernels/LayerNormKernel.swift",
"Metal/Kernels/MetalKernel.swift",
"Metal/Kernels/SoftmaxKernel.swift",
"Metal/Kernels/UnaryKernels.swift",
"Optimizer/AlgebraicSimplifier.swift",
"Optimizer/BufferAssignment.swift",
"Optimizer/Canonicalizers.swift",
"Optimizer/CostModel.swift",
"Optimizer/CrossLayerFusion.swift",
"Optimizer/FusionPatterns.swift",
"Optimizer/HLOOptimizer.swift",
"Optimizer/HLOPattern.swift",
"Optimizer/HorizontalFusion.swift",
"Optimizer/LayoutAssignment.swift",
"Optimizer/ProducerConsumerFusion.swift",
"Optimizer/ProfileGuidedOptimization.swift",
"Optimizer/QuantizationAware.swift",
"Optimizer/Rematerialization.swift",
"Optimizer/SiblingFusion.swift",
"Parser/Lexer.swift",
"Parser/ParseError.swift",
"Parser/Parser.swift",
"Parser/Token.swift",
"Runtime/BufferStorage.swift",
"Runtime/CompilationCache.swift",
"Runtime/IntegratedExecutor.swift",
"Runtime/LargeTensorPool.swift",
"Runtime/LargeTensorStorage.swift",
"Runtime/LayerAccumulationBuffer.swift",
"Runtime/MetalExecutor.swift",
"Runtime/NeuralEngineTargeting.swift",
"Runtime/SharedIOSurfaceBuffer.swift",
"Runtime/StridedTensorView.swift",
"Runtime/SubFunctionExtractor.swift",
"Runtime/TensorTransferManager.swift",
"Runtime/ZeroAllocExecutor.swift",
"Tuning/AutoTuner.swift",
"Tuning/TuningDatabase.swift",
"Utils/PermutationUtils.swift"
],
"target_dependencies" : [
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MetalHLOBenchmarks",
"path" : "Sources/MetalHLOBenchmarks",
"product_memberships" : [
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"BenchmarkResult.swift",
"BenchmarkRunner.swift",
"CompilerBenchmarks.swift",
"FusionAnalysisBenchmarks.swift",
"GPUMetrics.swift",
"MemoryBenchmarks.swift",
"ModelBenchmarks.swift",
"OperationBenchmarks.swift",
"PowerEfficiencyBenchmarks.swift",
"TestDataGenerator.swift"
],
"target_dependencies" : [
"MetalHLO"
],
"type" : "library"
},
{
"c99name" : "MetalHLO",
"module_type" : "SwiftTarget",
"name" : "MetalHLO",
"path" : "Sources/MetalHLO",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"Buffer.swift",
"Client.swift",
"CompilationConfig.swift",
"ElementType.swift",
"Errors.swift",
"Executable.swift",
"MetalHLO.swift",
"TensorType.swift"
],
"target_dependencies" : [
"MetalHLOCore"
],
"type" : "library"
},
{
"c99name" : "MLXComparison",
"module_type" : "SwiftTarget",
"name" : "MLXComparison",
"path" : "Sources/MLXComparison",
"product_memberships" : [
"mlx-comparison"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MLXBenchmarks",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "MLXBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MLXBenchmarks",
"path" : "Sources/MLXBenchmarks",
"product_dependencies" : [
"MLX",
"MLXRandom"
],
"product_memberships" : [
"MLXBenchmarks",
"mlx-comparison"
],
"sources" : [
"MLXBenchmarks.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "library"
},
{
"c99name" : "HeterogeneousFusionBenchmark",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusionBenchmark",
"path" : "Sources/HeterogeneousFusionBenchmark",
"product_memberships" : [
"HeterogeneousFusionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "HeterogeneousFusion",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusion",
"path" : "Sources/HeterogeneousFusion",
"product_memberships" : [
"HeterogeneousFusionBenchmark",
"GPT2EndToEnd",
"CalibrateTest"
],
"sources" : [
"AttentionExecutor.swift",
"BenchmarkHarness.swift",
"ColumnSplitHelper.swift",
"ComputeUnit.swift",
"ContentionModel.swift",
"ConvolutionCPU.swift",
"ConvolutionGPU.swift",
"ConvolutionMPS.swift",
"ElementwiseCPU.swift",
"ElementwiseGPU.swift",
"EligibilityAnnotationPass.swift",
"EmbeddingCPU.swift",
"EmbeddingGPU.swift",
"FusedExecutor.swift",
"FusedMatmul.swift",
"HardwareCalibration.swift",
"HardwareMonitor.swift",
"HardwareProfile.swift",
"HeteroGraph.swift",
"HeterogeneousError.swift",
"HeterogeneousPartitioningPass.swift",
"LayerNormCPU.swift",
"LayerNormGPU.swift",
"MatmulANE.swift",
"MatmulCPU.swift",
"MatmulGPU.swift",
"OpFusionPass.swift",
"OptimalSplitter.swift",
"PartitionDescriptor.swift",
"ProfileDatabase.swift",
"ProfitabilityGuard.swift",
"SequentialScheduler.swift",
"SoftmaxCPU.swift",
"SoftmaxGPU.swift",
"ThroughputCurve.swift"
],
"type" : "library"
},
{
"c99name" : "GPT2EndToEnd",
"module_type" : "SwiftTarget",
"name" : "GPT2EndToEnd",
"path" : "Sources/GPT2EndToEnd",
"product_memberships" : [
"GPT2EndToEnd"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "DepthAttentionBenchmark",
"module_type" : "SwiftTarget",
"name" : "DepthAttentionBenchmark",
"path" : "Sources/DepthAttentionBenchmark",
"product_memberships" : [
"DepthAttentionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "CalibrateTest",
"module_type" : "SwiftTarget",
"name" : "CalibrateTest",
"path" : "Sources/CalibrateTest",
"product_memberships" : [
"CalibrateTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "CPJRTApi",
"module_type" : "ClangTarget",
"name" : "CPJRTApi",
"path" : "Sources/CPJRTApi",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "CMetalHLO",
"module_type" : "SwiftTarget",
"name" : "CMetalHLO",
"path" : "Sources/CMetalHLO",
"product_memberships" : [
"CMetalHLO"
],
"sources" : [
"CInterface.swift"
],
"target_dependencies" : [
"MetalHLO",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "BenchmarkRunner",
"module_type" : "SwiftTarget",
"name" : "BenchmarkRunner",
"path" : "Sources/BenchmarkRunner",
"product_memberships" : [
"benchmark-runner"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "ANERuntimeTests",
"module_type" : "SwiftTarget",
"name" : "ANERuntimeTests",
"path" : "Tests/ANERuntimeTests",
"sources" : [
"ANEAvailabilityTests.swift",
"ANEBufferTests.swift",
"ANECompileCounterTests.swift",
"ANEDeviceTests.swift",
"ANEMILIntegrationTests.swift",
"ANEWatchdogTests.swift",
"CoreMLBridgeTests.swift"
],
"target_dependencies" : [
"ANERuntime",
"MetalHLOCore"
],
"type" : "test"
},
{
"c99name" : "ANERuntime",
"module_type" : "SwiftTarget",
"name" : "ANERuntime",
"path" : "Sources/ANERuntime",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"ANERuntime",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANEAvailability.swift",
"ANEBuffer.swift",
"ANEDevice.swift",
"ANEError.swift",
"ANEProgram.swift",
"ANEWatchdog.swift",
"CompileCounter.swift",
"CoreMLBridge.swift",
"CoreMLModelBuilder.swift",
"CoreMLOp.swift",
"CoreMLProgram.swift",
"MILWeightTemplate.swift",
"Protobuf/CoreMLProto.swift",
"Protobuf/ProtobufWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ANERuntime",
"benchmark-runner",
"CalibrateTest",
"CMetalHLO",
"DepthAttentionBenchmark",
"GPT2EndToEnd",
"HeterogeneousFusionBenchmark",
"MetalHLO",
"MetalHLO-Package",
"MetalHLOBenchmarks",
"mlx-comparison",
"MLXBenchmarks",
"PJRTMetalHLO"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MetalHLO-Package -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MetalHLO-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
MetalHLO: /Users/admin/builder/spi-builder-workspace
swift-numerics: https://github.com/apple/swift-numerics @ 1.1.1
mlx-swift: https://github.com/ml-explore/mlx-swift @ 0.31.3
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (32 targets)
Target 'mlx-comparison' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
Target 'benchmark-runner' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
Target 'HeterogeneousFusionBenchmark' in project 'MetalHLO'
➜ Explicit dependency on target 'HeterogeneousFusion' in project 'MetalHLO'
Target 'GPT2EndToEnd' in project 'MetalHLO'
➜ Explicit dependency on target 'HeterogeneousFusion' in project 'MetalHLO'
Target 'DepthAttentionBenchmark' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
Target 'CalibrateTest' in project 'MetalHLO'
➜ Explicit dependency on target 'HeterogeneousFusion' in project 'MetalHLO'
Target 'HeterogeneousFusion' in project 'MetalHLO' (no dependencies)
Target 'PJRTMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'PJRTMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'CPJRTApi' in project 'MetalHLO'
Target 'PJRTMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'CPJRTApi' in project 'MetalHLO'
Target 'CPJRTApi' in project 'MetalHLO' (no dependencies)
Target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
Target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
Target 'MLXBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
Target 'MLXRandom' in project 'mlx-swift'
➜ Explicit dependency on target 'MLXRandom' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'MLXRandom' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'MLX' in project 'mlx-swift'
➜ Explicit dependency on target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
Target 'Numerics' in project 'swift-numerics'
➜ Explicit dependency on target 'Numerics' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target 'ComplexModule' in project 'swift-numerics'
Target 'Numerics' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target 'ComplexModule' in project 'swift-numerics'
Target 'ComplexModule' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
Target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
Target '_NumericsShims' in project 'swift-numerics' (no dependencies)
Target 'Cmlx' in project 'mlx-swift'
➜ Explicit dependency on target 'mlx-swift_Cmlx' in project 'mlx-swift'
Target 'mlx-swift_Cmlx' in project 'mlx-swift' (no dependencies)
Target 'MetalHLOBenchmarks' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'CMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'CMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'CMetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLO' in project 'MetalHLO'
Target 'MetalHLO' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'MetalHLOCore' in project 'MetalHLO'
Target 'MetalHLOCore' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
Target 'ANERuntime' in project 'MetalHLO'
➜ Explicit dependency on target 'ANERuntime' in project 'MetalHLO'
Target 'ANERuntime' in project 'MetalHLO' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c++ -c /dev/null
Build description signature: edf034ba2cd53e242ca7e9a1bc6659a6
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/edf034ba2cd53e242ca7e9a1bc6659a6.xcbuilddata
error: The package product 'MLX' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'MLXBenchmarks' from project 'MetalHLO')
error: The package product 'MLXRandom' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'MLXBenchmarks' from project 'MetalHLO')
error: The package product 'MLX' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'mlx-comparison' from project 'MetalHLO')
error: The package product 'MLXRandom' requires minimum platform version 10.0 for the watchOS platform, but this target supports 5.0 (in target 'mlx-comparison' from project 'MetalHLO')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme MetalHLO-Package
(1 failure)
BUILD FAILURE 6.1 watchOS