mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 20:10:42 +00:00
28 lines
871 B
Swift
28 lines
871 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", revision: "fc4fe22dc41c053062e647a4e3db9142193670d2"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "OpenClawMLXTTSHelper",
|
|
dependencies: [
|
|
.product(name: "MLXAudioTTS", package: "mlx-audio-swift"),
|
|
],
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
]),
|
|
])
|