mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1081] [MERGED] Gradle adjustments for libpkl #877
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1081
Author: @bioball
Created: 5/29/2025
Status: ✅ Merged
Merged: 5/30/2025
Merged by: @bioball
Base:
c-library← Head:libpkl-gradle📝 Commits (10+)
132a11aGradle adjustments for libpkl.gradle.kts699ac9fTemporarily add libpkl buildsd41fb72Fixes6de8f3cAdd debug loggingd66a822Also set java.library.pathbc903b0Also set LD_LIBRARY_PATH9ef6074Fix build depb986e47Fixes739ee79Add debug symbols, optimize build for release6757d2fRename Machine -> Target, more build adjustments📊 Changes
16 files changed (+1364 additions, -566 deletions)
View changed files
📝
.circleci/config.pkl(+5 -2)📝
.circleci/config.yml(+878 -60)📝
.circleci/jobs/BuildNativeJob.pkl(+13 -1)📝
buildSrc/src/main/kotlin/BuildInfo.kt(+26 -16)📝
buildSrc/src/main/kotlin/NativeImageBuild.kt(+56 -16)➕
buildSrc/src/main/kotlin/Target.kt(+82 -0)📝
buildSrc/src/main/kotlin/pklNativeExecutable.gradle.kts(+67 -136)📝
buildSrc/src/main/kotlin/pklNativeLifecycle.gradle.kts(+19 -50)📝
gradle/libs.versions.toml(+3 -0)📝
libpkl/gradle.lockfile(+58 -57)📝
libpkl/libpkl.gradle.kts(+156 -214)📝
libpkl/src/main/java/org/pkl/libpkl/LibPkl.java(+0 -14)📝
libpkl/src/nativeTest/kotlin/org/pkl/libpkl/JNATestClient.kt(+0 -0)📝
libpkl/src/nativeTest/kotlin/org/pkl/libpkl/LibPklLibrary.kt(+1 -0)📝
libpkl/src/nativeTest/kotlin/org/pkl/libpkl/MessagePackDebugRenderer.kt(+0 -0)📝
libpkl/src/nativeTest/kotlin/org/pkl/libpkl/NativeTest.kt(+0 -0)📄 Description
nativeTestsource set; they are now run with./gradlew testNativeand skipped in./gradlew test.NativeImageBuild: Addabstract val sharedLibrary: Property<Boolean>property toNativeImageBuildNativeImageBuild: MakemainClassoptionalTarget, which enumerates over all the target machines that we support buildingconfigure()extension methods)LibPkl.main, which is no longer neededlibpkltests in CircleCI (let's run these for now on this branch, but let's remove it prior to merging).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.