ci(publish): embed Apple kernel archives into the Apple klibs; kernel matrix native-cinterop tier (#959) - #964
Merged
Conversation
|
📖 Documentation Preview The documentation has been built successfully for this PR. Generated Files:
Artifacts:
This comment will be updated automatically when the PR is updated. |
aharakal
previously approved these changes
Aug 11, 2026
michalharakal
dismissed
aharakal’s stale review
August 11, 2026 14:55
The merge-base changed after approval.
aharakal
previously approved these changes
Aug 11, 2026
michalharakal
dismissed
aharakal’s stale review
August 11, 2026 15:00
The merge-base changed after approval.
michalharakal
force-pushed
the
feature/ios-kernel-publish-matrix-959
branch
from
August 11, 2026 15:10
d680c5d to
c48ede6
Compare
|
📖 Documentation Preview The documentation has been built successfully for this PR. Generated Files:
Artifacts:
This comment will be updated automatically when the PR is updated. |
aharakal
previously approved these changes
Aug 11, 2026
michalharakal
dismissed
aharakal’s stale review
August 11, 2026 16:05
The merge-base changed after approval.
… matrix native-cinterop tier (#959) publish.yml: the macos build-native leg builds the three Mach-O static archives (device/simulator/macos) with an nm/objdump sdot assertion — clang treats an unknown target-feature string as a warning, so a typo'd dispatch attribute (#958) would otherwise ship silently scalar — uploads them fail-loud as native-static-apple, and the publish job verifies and injects them via -PskainetKernels{IosArm64,IosSimulatorArm64,MacosArm64}Dir, the same verified-artifact-or-fail contract as the Linux ELF archives. Kernel support matrix: new native-cinterop tier (priority 100, Native·linux + Native·apple, the 7 packed-quant formats). Native·linux was under-reported as scalar — NativeKnKernelProvider has served it since the cinterop embedding landed. Narrative doc + KDoc now state the manual installNativeKernels() contract and the Apple A12 fallback. Refs #920
michalharakal
force-pushed
the
feature/ios-kernel-publish-matrix-959
branch
from
August 11, 2026 16:08
c48ede6 to
b10977b
Compare
|
📖 Documentation Preview The documentation has been built successfully for this PR. Generated Files:
Artifacts:
This comment will be updated automatically when the PR is updated. |
aharakal
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second of two PRs for #959 (iOS kernel track of #920). Stacked on #962 (which is stacked on #961) — becomes a one-commit diff as those merge.
build-nativeleg builds the three Apple archives via the feat(backend-native-cpu): iOS/macOS Kotlin/Native targets with embedded kernel archives (#959) #962 Gradle lanes, assertssdotis present withobjdump(clang only warns on an unknown target-feature string, so a typo'dtarget("dotprod")attribute would otherwise ship silently-scalar archives), and uploads them fail-loud asnative-static-apple. The publish jobtest -f-verifies all three and injects-PskainetKernelsIosArm64Dir/-PskainetKernelsIosSimulatorArm64Dir/-PskainetKernelsMacosArm64Dir— the same verified-artifact-or-fail contract as the Linux ELF archives (ci(publish): build & publish the skainet-backend-jni-cpu AAR on release (#946) #947 precedent: the YAML is only fully provable at the next tag; the fail-loud gates are the mitigation).native-cinteroptier (priority 100,Native·linux+Native·apple, Q8_0/Q4_0/Q4_K/Q5_K/Q6_K/Q5_0/Q5_1 — exactly whatNativeKnKernelProviderwires). This also fixes theNative·linuxcolumn, which has been under-reported asscalarsince the cinterop provider landed. Regenerated adoc included.installNativeKernels()contract spelled out);installNativeKernels()KDoc documents Apple availability, the A12 dispatch fallback, and the Accelerate coexistence (disjoint formats).Verified:
jvmTestgreen (matrix test + JSON regen),generateKernelMatrixoutput committed.