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:
@@ -8,7 +8,7 @@ import Testing
|
||||
import Foundation
|
||||
@testable import LyrebirdLiveCompile
|
||||
|
||||
#if os(macOS)
|
||||
#if os(macOS) || os(Linux)
|
||||
|
||||
@Suite("LiveCompiler")
|
||||
struct LiveCompilerTests {
|
||||
@@ -30,7 +30,11 @@ struct LiveCompilerTests {
|
||||
|
||||
let snippet: CompiledSnippet = try LiveCompiler.compile(source: source)
|
||||
#expect(snippet.moduleName.hasPrefix("LBSnippet_"))
|
||||
#if os(macOS)
|
||||
#expect(snippet.dylibPath.hasSuffix(".dylib"))
|
||||
#else
|
||||
#expect(snippet.dylibPath.hasSuffix(".so"))
|
||||
#endif
|
||||
|
||||
var marker: Int32 = 0
|
||||
withUnsafeMutablePointer(to: &marker) { ptr in
|
||||
@@ -103,6 +107,11 @@ struct LiveCompilerTests {
|
||||
for url: URL in LiveSession.discoverSPMModuleMaps(in: importPaths) {
|
||||
args += ["-Xcc", "-fmodule-map-file=\(url.path)"]
|
||||
}
|
||||
#if os(Linux)
|
||||
for url: URL in LiveSession.discoverSourceSystemModuleMaps(in: importPaths) {
|
||||
args += ["-Xcc", "-fmodule-map-file=\(url.path)"]
|
||||
}
|
||||
#endif
|
||||
return args
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user