This improves the development experience for (WSL) Linux users. They can now run "./gradlew buildNative" without having a musl toolchain installed. In this case, only the dynamically linked executable will be built.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/83
**Author:** [@odenix](https://github.com/odenix)
**Created:** 2/7/2024
**Status:** ✅ Merged
**Merged:** 2/8/2024
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `check-musl`
---
### 📝 Commits (2)
- [`a5fbbde`](https://github.com/apple/pkl/commit/a5fbbdec2912ee4233d7e34a291e3cc28aaf2870) Only build static executable if musl toolchain is installed
- [`3bccd21`](https://github.com/apple/pkl/commit/3bccd214236af97c9290476a1b0d90cc6ecff0f9) Update BuildInfo.kt
### 📊 Changes
**3 files changed** (+7 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `buildSrc/src/main/kotlin/BuildInfo.kt` (+5 -0)
📝 `pkl-cli/pkl-cli.gradle.kts` (+1 -1)
📝 `pkl-core/pkl-core.gradle.kts` (+1 -1)
</details>
### 📄 Description
This improves the development experience for (WSL) Linux users. They can now run "./gradlew buildNative" without having a musl toolchain installed. In this case, only the dynamically linked executable will be built.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/83
Author: @odenix
Created: 2/7/2024
Status: ✅ Merged
Merged: 2/8/2024
Merged by: @bioball
Base:
main← Head:check-musl📝 Commits (2)
a5fbbdeOnly build static executable if musl toolchain is installed3bccd21Update BuildInfo.kt📊 Changes
3 files changed (+7 additions, -2 deletions)
View changed files
📝
buildSrc/src/main/kotlin/BuildInfo.kt(+5 -0)📝
pkl-cli/pkl-cli.gradle.kts(+1 -1)📝
pkl-core/pkl-core.gradle.kts(+1 -1)📄 Description
This improves the development experience for (WSL) Linux users. They can now run "./gradlew buildNative" without having a musl toolchain installed. In this case, only the dynamically linked executable will be built.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.