Skip to content

Add linuxX64 target to all six modules - #3

Closed
michalharakal wants to merge 1 commit into
developfrom
fix/linuxx64-target
Closed

michalharakal wants to merge 1 commit into
developfrom
fix/linuxx64-target

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Summary

  • Closes Add linuxX64 target to all modules #2: none of the six modules (audio-core, audio-wav, audio-mel, audio-vad, audio-stream, audio-source) published a linuxX64 variant -- each declared jvm()/iosArm64()/macosArm64()/linuxArm64() (plus js/wasmJs/Android-native on some) but never linuxX64().
  • One-line addition per module, right alongside the existing linuxArm64() declaration -- no source changes, no target-specific code needed since nothing in these modules is platform-coupled beyond the existing expect/actual split (audio-source's MicAudioSource stays Android-only, WavAudioSource stays JVM-only).
  • This was the concrete blocker to the downstream ASR cartridge repos under dtag-cartrdige-forge (asr-whisper-iree-cartridge, asr-moonshine-iree-cartridge, asr-vad-silero-iree-cartridge) adopting this library in place of their own duplicated WAV I/O and mel-spectrogram code -- all three target linuxX64 as their dev/CI runner architecture.

Test plan

  • ./gradlew linuxX64Test green across all six modules
  • Confirmed the one build failure I hit (audio-wav:wasmJsBrowserTest, missing headless Chrome) is pre-existing and unrelated -- reproduces identically on an unmodified develop clone, nothing to do with this change

🤖 Generated with Claude Code

https://claude.ai/code/session_012BmAYE4tZ7HsULEW8todNP

Every module's kotlin {} block declares jvm/iosArm64/macosArm64/linuxArm64
(plus js/wasmJs/androidNative on some) but never linuxX64 -- the dev/CI
runner architecture for the downstream ASR cartridge repos that want to
adopt this library (asr-whisper-iree-cartridge, asr-moonshine-iree-cartridge,
asr-vad-silero-iree-cartridge, all under dtag-cartrdige-forge), all of which
target linuxX64 explicitly. Without this, adopting SKaiNET-audio in place
of their own duplicated WAV I/O and mel-spectrogram code would silently
drop linuxX64 support.

Verified: ./gradlew linuxX64Test green across all six modules. (The
pre-existing wasmJsBrowserTest failure -- missing headless Chrome -- is
unrelated: reproduces identically on unmodified develop.)

Fixes #2

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012BmAYE4tZ7HsULEW8todNP
@michalharakal

Copy link
Copy Markdown
Contributor Author

Superseded by #5, which adopts sk.ainet.multiplatform from SKaiNET-build-logic -- linuxX64 (and every other target) now comes from a shared convention instead of a per-module hand-list, so this specific fix is no longer needed on its own. Closing in favor of #5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add linuxX64 target to all modules

1 participant