git: 59c21ed6e811 - main - release: Bump default VM size for riscv64 to 6 GB

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Fri, 28 Jun 2024 22:51:12 UTC
The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=59c21ed6e811c753f7806766ba45a5bfa71ae2ed

commit 59c21ed6e811c753f7806766ba45a5bfa71ae2ed
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2024-06-28 22:47:11 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-06-28 22:47:11 +0000

    release: Bump default VM size for riscv64 to 6 GB
    
    Due to issues with the riscv64 toolchain, some binaries end up
    significantly larger on riscv64 than they should be.  This results
    in riscv64 VM images -- and at present *only* riscv64 images -- not
    fitting within the default 5 GB filesystem size.
    
    Bump the default size for riscv64 to 6 GB until the toolchain issues
    can be resolved.
    
    MFC after:      1 week
    Sponsored by:   Amazon
---
 release/Makefile.vm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/release/Makefile.vm b/release/Makefile.vm
index f5dc6af67189..d8914d305e2f 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -6,7 +6,11 @@
 
 VMTARGETS=	vm-image
 VMFORMATS?=	vhd vmdk qcow2 raw
+.if ${TARGET_ARCH} == riscv64
+VMSIZE?=	6144m
+.else
 VMSIZE?=	5120m
+.endif
 VMFS?=		ufs
 VMFSLIST?=	ufs zfs
 SWAPSIZE?=	1g