Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin 2.1.0 #425

Merged
merged 6 commits into from
Dec 2, 2024
Merged

Kotlin 2.1.0 #425

merged 6 commits into from
Dec 2, 2024

Conversation

drewhamilton
Copy link
Owner

Closes #403.

@drewhamilton
Copy link
Owner Author

> Task :mpp:transformCommonMainDependenciesMetadata
e: KLIB resolver: Could not find "/home/runner/work/Poko/Poko/sample/mpp/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlin-kotlin-stdlib-2.1.0-Beta2-commonMain-ITmP6A.klib" in [/home/runner/.local/share/kotlin/daemon]

> Task :mpp:compileCommonMainKotlinMetadata FAILED
w: KLIB resolver: Skipping '/home/runner/work/Poko/Poko/sample/mpp/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlin-kotlin-stdlib-2.1.0-Beta2-commonMain-ITmP6A.klib'. Incompatible ABI version. The current default is '1.8.0', found '1.201.0'. The library was produced by '2.1.0-dev-7621' compiler.

Looking at this locally, that exact filename is present, so the "could not find" error message is strange. But maybe the warning is a hint. Did klib ABI compat break between 2.0.21 and 2.1.0-Beta2?

@drewhamilton drewhamilton force-pushed the drew/kotlin-2.1.0 branch 2 times, most recently from ca125fb to bd21308 Compare November 4, 2024 21:34
* KSP 2.1.0-Beta2-1.0.25
* KCT fork 0.6.0-alpha01
* Update yarn lock
* Update compatibility testing matrix
* KSP 2.1.0-Beta2-1.0.26
* KCT Fork 0.7.0-alpha01
* KSP 2.1.0-RC2-1.0.28
* KSP 2.1.0-1.0.29
JakeWharton and others added 2 commits December 2, 2024 10:26
Kotlin 2.1.0 updates LLVM from version 11 to version 16, which are incompatible.
@drewhamilton drewhamilton marked this pull request as ready for review December 2, 2024 15:51
@drewhamilton
Copy link
Owner Author

@JakeWharton found that 2.1.0 updates LLVM to an incompatible version, hence the error.

@drewhamilton drewhamilton enabled auto-merge (squash) December 2, 2024 15:54
@drewhamilton drewhamilton merged commit 1f8a881 into main Dec 2, 2024
6 checks passed
@drewhamilton drewhamilton deleted the drew/kotlin-2.1.0 branch December 2, 2024 16:08
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.

Kotlin 2.1.0 support
2 participants