Files
openclaw/apps/macos-mlx-tts/Package.swift
2026-04-22 02:12:07 +01:00

28 lines
833 B
Swift

// swift-tools-version: 6.2
// Isolated MLX TTS helper package. Keep this out of apps/macos/Package.swift so
// normal macOS app tests do not compile the full MLX audio stack.
import PackageDescription
let package = Package(
name: "OpenClawMLXTTS",
platforms: [
.macOS(.v15),
],
products: [
.executable(name: "openclaw-mlx-tts", targets: ["OpenClawMLXTTSHelper"]),
],
dependencies: [
.package(url: "https://github.com/Blaizzy/mlx-audio-swift", exact: "0.1.2"),
],
targets: [
.executableTarget(
name: "OpenClawMLXTTSHelper",
dependencies: [
.product(name: "MLXAudioTTS", package: "mlx-audio-swift"),
],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
])