From c3b2d69452417e5c07053c8eaad98d6dc038fd8b Mon Sep 17 00:00:00 2001 From: Zvonko Kaiser Date: Thu, 3 Jul 2025 15:31:00 +0000 Subject: [PATCH] gpu: NVRC static build We had the proper config.toml configuration for static builds but were building the glibc target and not the musl target. Signed-off-by: Zvonko Kaiser --- tools/osbuilder/rootfs-builder/nvidia/nvidia_rootfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/osbuilder/rootfs-builder/nvidia/nvidia_rootfs.sh b/tools/osbuilder/rootfs-builder/nvidia/nvidia_rootfs.sh index add8f37b90..205bc3a3c7 100644 --- a/tools/osbuilder/rootfs-builder/nvidia/nvidia_rootfs.sh +++ b/tools/osbuilder/rootfs-builder/nvidia/nvidia_rootfs.sh @@ -49,8 +49,8 @@ setup_nvidia-nvrc() { pushd "${PROJECT}" > /dev/null || exit 1 - cargo build --release --target="${machine_arch}"-unknown-linux-gnu - cp target/"${machine_arch}"-unknown-linux-gnu/release/NVRC ../../destdir/bin/. + cargo build --release --target="${machine_arch}"-unknown-linux-musl + cp target/"${machine_arch}"-unknown-linux-musl/release/NVRC ../../destdir/bin/. popd > /dev/null || exit 1