Skip to content

Conversation

@wjt
Copy link
Contributor

@wjt wjt commented Jan 6, 2026

Previously the documentation stated that mold is not widely packaged as of 2023. It is now 2026 and it is more widely packaged. Update this section.

@Calinou Calinou added enhancement area:engine details Issues and PRs related to the Engine Details section of the documentation topic:buildsystem labels Jan 8, 2026
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can also add Arch Linux here (pacman -Sy --noconfirm --needed mold).

Previously the documentation stated that mold is not widely packaged as of 2023. It is now 2026 and it is more widely packaged. Update this section.
Comment on lines +550 to +570
.. tabs::
.. tab:: Debian/Ubuntu

- Download mold binaries from its `releases page <https://github.com/rui314/mold/releases/latest>`__.
- Extract the ``.tar.gz`` file, then move the extracted folder to a location such as ``.local/share/mold``.
- Add ``$HOME/.local/share/mold/bin`` to your user's ``PATH`` environment variable.
For example, you can add the following line at the end of your ``$HOME/.bash_profile`` file:
::

::
sudo apt-get update
sudo apt-get install -y mold

.. tab:: Fedora

::

sudo dnf install -y mold

.. tab:: Arch Linux

::

PATH="$HOME/.local/share/mold/bin:$PATH"
pacman -Sy --noconfirm --needed mold

- Open a new terminal (or run ``source "$HOME/.bash_profile"``),
then use the following SCons command when compiling Godot:
Once mold is installed, use the following SCons command when compiling Godot:
Copy link
Contributor Author

@wjt wjt Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added Arch Linux to this section.

I have to say that I am not sure there is really any value in listing out the install instruction for every distro - if you have reached this point in the document you presumably know how to install the mold package with your distro's package manager. Maybe we can just say instead:

As of January 2026, a ``mold`` package is available in many distributions'
package managers. Once mold is installed, use the following SCons command when
compiling Godot:

@skyace65
Copy link
Contributor

I'm ok with distro specific instructions, you never know if it's someone's first time trying to compile something, or download software via command line, especially with how common flathub is these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:engine details Issues and PRs related to the Engine Details section of the documentation enhancement topic:buildsystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants