feat: install.sh —— 按 OS 取最新 release 安装;release 补发 CLI - #337
Merged
Conversation
install.sh(POSIX sh): - 识别平台 → linux-x86_64 / darwin-arm64;默认取 releases/latest (VERSION= 可指定版本),sha256 校验(sha256sum 或 macOS shasum) - PREFIX 默认 Linux=/usr、macOS=/usr/local(/usr 受 SIP 保护) - 装库 → <prefix>/lib + <prefix>/lib/kvspace(dispatch 前端的 dlopen 目录)、 CLI → <prefix>/bin、头 → <prefix>/include release 补发 CLI(此前 tarball 只有 lib/ 与 include/,装上无法运行): - linux job:make layout / runtime-rs 产 bin/kvlanglayout、bin/kvlang; kvspace CLI 由 ci/deps.sh 从 kvspace release 装入 /usr/bin - macos job:同三件 + 从 /tmp/kvspace/cli 构建 kvspace CLI - ci/deps.sh:解包时若含 bin/ 则装入 /usr/bin README:新增 Install 段(curl … | sh),原 Quick Start 标注为「从源码」。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
新增
install.sh(POSIX sh,curl … | sh可用)linux-x86_64/darwin-arm64;默认取 releases/latest(VERSION=可指定版本)sha256sum,macOS 退回shasum -a 256)PREFIX默认 Linux=/usr、macOS=/usr/local(该平台/usr受 SIP 保护)<prefix>/lib+<prefix>/lib/kvspace(dispatch 前端的 dlopen 目录);CLI →<prefix>/bin;头 →<prefix>/includerelease 补发 CLI(关键)
此前 tarball 只有
lib/与include/,没有任何可执行 —— 装上跑不起来。现在两个 job 都产出:kvlangmake runtime-rs/cargo build --manifest-path runtime-rs)kvlanglayoutkvspacecli/(linux 经ci/deps.sh从 kvspace release 装入;macOS 从源码构建)ci/deps.sh同步支持:解包时若含bin/则装入/usr/bin。README
新增 Install 段(
curl -fsSL …/install.sh | sh),原 Quick Start 改标「从 source」。🤖 Generated with Claude Code