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 -9
View File
@@ -51,16 +51,13 @@ public enum REPLLauncher {
.appendingPathComponent(".lyrebird_history").path
}
/// Returns the path to the `swift` binary.
///
/// Checks `/usr/bin/swift` (Xcode toolchain on macOS) and `/usr/local/bin/swift`
/// (standalone toolchain). Throws `CLIError.swiftNotFound` if neither exists.
/// Returns the path to the `swift` binary, located via ``lyrebirdLocateSwift()``
/// (searches `PATH` — honouring swiftly / Homebrew / custom toolchains — then
/// the well-known absolute locations). Throws `CLIError.swiftNotFound` if none
/// is found.
public static func findSwift() throws -> String {
let candidates: [String] = ["/usr/bin/swift", "/usr/local/bin/swift"]
for path: String in candidates where FileManager.default.isExecutableFile(atPath: path) {
return path
}
throw CLIError.swiftNotFound
guard let path: String = lyrebirdLocateSwift() else { throw CLIError.swiftNotFound }
return path
}
/// Builds a `Process` that runs `swift` with the given arguments in `directory`.