From 3f2d2f11b1adfdfed86d512e1527d7543ef0776e Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 30 Aug 2026 04:22:01 +0800 Subject: [PATCH] openkal-llvm-runtime 0.5.0 Repins the C library to openkal-musl 0.9.0, which answers truncate(2), repins openkal-linux 0.7.1 and openkal-macos 0.6.1, and makes a build able to state which version of the C library it holds. For a program above this package: std::filesystem::copy_file reported `Resource temporarily unavailable' for two ordinary files, and std::filesystem::resize_file worked for no path at all. Reported in mcpplibs/openkal-linux#13. Measured before this commit: the CN mirror asset returns 200, opens as an archive, and its sha256 is identical to the GitHub tag tarball. --- pkgs/o/openkal-llvm-runtime.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/o/openkal-llvm-runtime.lua b/pkgs/o/openkal-llvm-runtime.lua index ff4fde89..b7b1eebf 100644 --- a/pkgs/o/openkal-llvm-runtime.lua +++ b/pkgs/o/openkal-llvm-runtime.lua @@ -26,6 +26,13 @@ package = { xpm = { linux = { + ["0.5.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.5.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.5.0/openkal-llvm-runtime-0.5.0.tar.gz", + }, + sha256 = "aca5d253be9becc271362022f47a0f90795066b8c5ffc8ecc054f5d25ace0c04", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.4.0.tar.gz", @@ -84,6 +91,13 @@ package = { }, }, macosx = { + ["0.5.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.5.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.5.0/openkal-llvm-runtime-0.5.0.tar.gz", + }, + sha256 = "aca5d253be9becc271362022f47a0f90795066b8c5ffc8ecc054f5d25ace0c04", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.4.0.tar.gz", @@ -142,6 +156,13 @@ package = { }, }, windows = { + ["0.5.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.5.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.5.0/openkal-llvm-runtime-0.5.0.tar.gz", + }, + sha256 = "aca5d253be9becc271362022f47a0f90795066b8c5ffc8ecc054f5d25ace0c04", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.4.0.tar.gz",