Page MenuHomeSolus

Initial commit of kotlin-native
ClosedPublic

Authored by serebit on Oct 26 2019, 11:42 PM.
Referenced Files
F11070402: D7503.diff
Sat, Aug 12, 12:16 AM
F11053860: D7503.diff
Fri, Aug 11, 12:07 AM
F10852161: D7503.id18331.diff
Jun 12 2023, 9:24 PM
F10845999: D7503.id18003.diff
Jun 11 2023, 3:17 AM
F10845747: D7503.id.diff
Jun 11 2023, 2:01 AM
F10834428: D7503.diff
Jun 7 2023, 10:13 AM
F10741641: D7503.id18331.diff
May 14 2023, 10:43 AM
Subscribers

Details

Summary

The inclusion of the kotlin-native compiler toolchain resolves T8438. This distribution of the toolchain includes the following targets:

  • Android arm32 and arm64
  • Linux arm32_hfp, arm64, mips32, mipsel32, x64, and wasm32
  • WebAssembly (wasm32)
Test Plan

Compiled and ran a hello world program using the linux_x64 target, and generated a klib interop file for libusb using the cinterop tool.

Diff Detail

Repository
R4853 kotlin-native
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

serebit added a project: Software.
serebit edited the test plan for this revision. (Show Details)
serebit edited the summary of this revision. (Show Details)
serebit edited the test plan for this revision. (Show Details)

Of note:

  • The buildscript uses the project's provided Gradle wrapper, and thus does not depend on the repository's version of Gradle. The current version of Gradle in the repository doesn't work correctly with this project, since it's so far behind (3.5.0 -> 5.5.0). If Solus's version of Gradle is updated to a more recent version, this requirement can be lifted.
  • Networking is required to allow Gradle to retrieve the wrapper and the project's JVM dependencies.
  • The compiler produces standalone executables, but requires a JDK to work correctly. It only requires JDK 8 or above, no specific versions.
  • There are additional experimental targets that I left disabled.
This revision is now accepted and ready to land.Nov 14 2019, 7:47 PM
This revision was automatically updated to reflect the committed changes.