mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-11-22 21:57:17 +00:00
9 lines
705 B
TOML
9 lines
705 B
TOML
[build.env]
|
|
passthrough = ["RUST_BACKTRACE", "BTM_GENERATE"]
|
|
|
|
[target.x86_64-unknown-netbsd]
|
|
pre-build = [
|
|
# Last updated on 2026-10-27
|
|
"apt-get update && apt-get install -y --no-install-recommends curl=8.5.0-2ubuntu10.16 xz-utils=5.6.1+really5.4.5-1ubuntu0.4 && td=$(mktemp -d) && mkdir -p \"$td/netbsd\" && curl -4 --retry 3 -sSfL 'http://ftp.fr.netbsd.org/pub/NetBSD/NetBSD-9.5/amd64/binary/sets/base.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib ./lib && curl -4 --retry 3 -sSfL 'http://ftp.fr.netbsd.org/pub/NetBSD/NetBSD-9.5/amd64/binary/sets/comp.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib && cp \"$td\"/netbsd/usr/lib/libkvm* /usr/local/x86_64-unknown-netbsd/lib/ && rm -rf \"$td\"",
|
|
]
|