fix: Use precompiled Valkey binary from download.valkey.io
All checks were successful
BotServer CI / build (push) Successful in 7m53s
All checks were successful
BotServer CI / build (push) Successful in 7m53s
- Update 3rdparty.toml to download valkey-9.0.2-jammy-x86_64.tar.gz - Remove source compilation approach (no gcc/make required) - Update installer to handle precompiled binaries directly - Fix symlinks for redis compatibility Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9453ff4c65
commit
4e4aca0986
2 changed files with 6 additions and 7 deletions
|
|
@ -38,11 +38,9 @@ sha256 = ""
|
||||||
|
|
||||||
[components.cache]
|
[components.cache]
|
||||||
name = "Valkey Cache (Redis-compatible)"
|
name = "Valkey Cache (Redis-compatible)"
|
||||||
# Valkey requires compilation from source - no prebuilt binaries available
|
# Precompiled binary from download.valkey.io
|
||||||
# The installer will run 'make' to build valkey-server and valkey-cli
|
url = "https://download.valkey.io/releases/valkey-9.0.2-jammy-x86_64.tar.gz"
|
||||||
# Requires: gcc, make (usually available on most Linux systems)
|
filename = "valkey-9.0.2-jammy-x86_64.tar.gz"
|
||||||
url = "https://github.com/valkey-io/valkey/archive/refs/tags/8.0.2.tar.gz"
|
|
||||||
filename = "valkey-8.0.2.tar.gz"
|
|
||||||
sha256 = ""
|
sha256 = ""
|
||||||
|
|
||||||
[components.llm]
|
[components.llm]
|
||||||
|
|
|
||||||
|
|
@ -313,8 +313,9 @@ impl PackageManager {
|
||||||
binary_name: Some("valkey-server".to_string()),
|
binary_name: Some("valkey-server".to_string()),
|
||||||
pre_install_cmds_linux: vec![],
|
pre_install_cmds_linux: vec![],
|
||||||
post_install_cmds_linux: vec![
|
post_install_cmds_linux: vec![
|
||||||
"ln -sf {{BIN_PATH}}/src/valkey-server {{BIN_PATH}}/valkey-server 2>/dev/null || true".to_string(),
|
"chmod +x {{BIN_PATH}}/valkey-server 2>/dev/null || true".to_string(),
|
||||||
"ln -sf {{BIN_PATH}}/src/valkey-cli {{BIN_PATH}}/valkey-cli 2>/dev/null || true".to_string(),
|
"chmod +x {{BIN_PATH}}/valkey-cli 2>/dev/null || true".to_string(),
|
||||||
|
"chmod +x {{BIN_PATH}}/valkey-benchmark 2>/dev/null || true".to_string(),
|
||||||
"ln -sf {{BIN_PATH}}/valkey-server {{BIN_PATH}}/redis-server 2>/dev/null || true".to_string(),
|
"ln -sf {{BIN_PATH}}/valkey-server {{BIN_PATH}}/redis-server 2>/dev/null || true".to_string(),
|
||||||
"ln -sf {{BIN_PATH}}/valkey-cli {{BIN_PATH}}/redis-cli 2>/dev/null || true".to_string(),
|
"ln -sf {{BIN_PATH}}/valkey-cli {{BIN_PATH}}/redis-cli 2>/dev/null || true".to_string(),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue