Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2023 00:55:52 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ead75c8a3e87 - main - games/veloren-weekly: reduce memory usage during build
Message-ID:  <202304290055.33T0tqd3003080@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ead75c8a3e872596c885687c1dd48ae41dba78f7

commit ead75c8a3e872596c885687c1dd48ae41dba78f7
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-28 21:15:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-29 00:54:04 +0000

    games/veloren-weekly: reduce memory usage during build
    
    Suggested by:   diizzy
---
 games/veloren-weekly/files/patch-nodebug | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/games/veloren-weekly/files/patch-nodebug b/games/veloren-weekly/files/patch-nodebug
new file mode 100644
index 000000000000..9fc648e5a459
--- /dev/null
+++ b/games/veloren-weekly/files/patch-nodebug
@@ -0,0 +1,30 @@
+Don't generate debuginfo as the binaries will be stripped
+
+--- Cargo.toml.orig	2023-04-25 17:26:27 UTC
++++ Cargo.toml
+@@ -79,25 +79,6 @@ panic = "abort" # don't need unwinding so we can skip 
+ lto = true
+ debug = false
+ panic = "abort" # don't need unwinding so we can skip including the landing pads for that
+-# line tables so we can have useful backtraces for in-house crates
+-[profile.release.package."veloren-network"]
+-debug = 1
+-[profile.release.package."veloren-network-protocol"]
+-debug = 1
+-[profile.release.package."veloren-common"]
+-debug = 1
+-[profile.release.package."veloren-common-systems"]
+-debug = 1
+-[profile.release.package."veloren-client"]
+-debug = 1
+-[profile.release.package."veloren-server"]
+-debug = 1
+-[profile.release.package."veloren-server-cli"]
+-debug = 1
+-[profile.release.package."veloren-voxygen"]
+-debug = 1
+-[profile.release.package."veloren-world"]
+-debug = 1
+ 
+ # used for cargo bench
+ [profile.bench]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304290055.33T0tqd3003080>