Add mold linker

This commit is contained in:
doylet 2024-05-29 20:46:59 +10:00
parent fc854d991b
commit 321c522987

View File

@ -1577,6 +1577,37 @@ def get_manifest(is_windows):
# --------------------------------------------------------------------------
if not is_windows:
version = "2.31.0"
exe_path = "bin/mold"
download_url = f"https://github.com/rui314/mold/releases/download/v{version}/mold-{version}-x86_64-linux.tar.gz"
download_checksum = "f0b28cc2aa39be1384e4d82693ba3e65150865514939e333b7252d50d0f4a46a"
checksum = "557c1f19b575e42714771727afa6c4f7fa9b98e41c65f281f7d6cd8f9863a817"
symlink = []
result.append({
"label": "Mold",
"manifests": [
{
"download_url": download_url,
"download_checksum": download_checksum,
"version": version,
"unzip_method": 'default',
"executables": [
{
"path": exe_path,
"symlink": symlink,
"add_to_devenv_path": True,
"checksum": checksum,
}
],
"add_to_devenv_script": [],
}
],
})
# --------------------------------------------------------------------------
if not is_windows:
version = "4.9.1"
exe_path = "ccache"
@ -1586,7 +1617,7 @@ def get_manifest(is_windows):
symlink = []
result.append({
"label": "ccache",
"label": "CCache",
"manifests": [
{
"download_url": download_url,