Source: pkg-rocm-tools Version: 0.8.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that pkg-rocm-tools could not be built reproducibly. This is because the generated manual page contains values based on the number of CPUs and amount of RAM on the system: │ │ │ ├── ./usr/share/man/man1/rocm-qemu-run.1.gz │ │ │ │ │ .TP │ │ │ │ │ \fB\-m\fR MEM │ │ │ │ │ -Guest RAM (default: 60301) │ │ │ │ │ +Guest RAM (default: 60312) │ │ │ │ │ .HP Patch attached that changes the output to deterministic text values — they remain dynamic defaults, however. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/bin/rocm-qemu-run 2025-02-26 10:08:00.193109446 +0000 --- b/bin/rocm-qemu-run 2025-02-26 10:10:06.584543536 +0000 @@ -47,10 +47,10 @@ Options: -h Show this help - -c CPUS Number of guest CPUs (default: $Ncores) + -c CPUS Number of guest CPUs (default: 75% of CPU cores) -d DIR Mount host dir DIR as /shared in the guest -g GPU PCI slot ID of GPU to pass through (eg: 09:00.0) - -m MEM Guest RAM (default: $Nmem) + -m MEM Guest RAM (default: 75% of memory) -p SSHPORT Forward host port PORT to guest port 22 -s Boot the VM in snapshot mode (changes are discarded)