Lyrebird 2.0.0 — Linux support

Consolidated release: the cross-platform Linux port (engine, generators, CLI,
REPL, NRT, portable DSP), live ALSA audio + ALSA MIDI + POSIX OSC + portable
WAV codec, the GTK4 GUI (LyrebirdUI on the SwiftOpenUI backend), and the Linux
live-coding scratchpad (LiveCompile). Apple platforms unchanged; all additive.
See RELEASES.md and LINUX_README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-09-10 21:09:11 -07:00
parent 77580ee98e
commit b6fdee8bfc
293 changed files with 16800 additions and 775 deletions
+6 -12
View File
@@ -82,19 +82,13 @@ public enum ProjectRunner {
// MARK: - Helpers
/// Returns the path to the `swift` binary.
/// Returns the path to the `swift` binary, located via ``lyrebirdLocateSwift()``
/// (searches `PATH` — honouring swiftly / Homebrew / custom toolchains — then
/// the well-known absolute locations).
///
/// Checks, in order:
/// - `/usr/bin/swift` — Xcode Command Line Tools / Xcode toolchain
/// - `/usr/local/bin/swift` — standalone toolchain (Intel Mac default)
/// - `/opt/homebrew/bin/swift` — Homebrew toolchain on Apple Silicon
///
/// Throws `ProjectRunner.Error.swiftNotFound` if none of the candidates exist.
/// Throws `ProjectRunner.Error.swiftNotFound` if no `swift` is found.
static func findSwift() throws -> String {
let candidates: [String] = ["/usr/bin/swift", "/usr/local/bin/swift", "/opt/homebrew/bin/swift"]
for path: String in candidates where FileManager.default.isExecutableFile(atPath: path) {
return path
}
throw Error.swiftNotFound
guard let path: String = lyrebirdLocateSwift() else { throw Error.swiftNotFound }
return path
}
}