godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

long Link times for initial build, or modifications to the api, please support the mold linker

Open enetheru opened this issue 11 months ago • 0 comments

Godot version

4.2

godot-cpp version

4.2

System information

windows 11 - mingw64

Issue description

Initial compilation of the godot-cpp takes upto 17 minutes to link when I make modifications to the api, or clean build. In godot proper you can specify linker=<bfd,gold,lld,mold> which allows you to change the linker to mold, and others.

PR for godot: https://github.com/godotengine/godot/pull/63278

it would be awesome if the godot-cpp scons scripts also supported this to cut down on iteration times.

Steps to reproduce

any compilation of godot-cpp

Minimal reproduction project

no project needed.

enetheru avatar Feb 28 '24 01:02 enetheru