[PR #2847] [MERGED] ci: Use mold linker for Linux builds #3024

Closed
opened 2026-02-27 22:02:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2847
Author: @MajorP93
Created: 4/26/2025
Status: Merged
Merged: 4/28/2025
Merged by: @squidbus

Base: mainHead: main


📝 Commits (1)

  • fd533f8 ci: Use mold linker for Linux builds

📊 Changes

1 file changed (+8 additions, -8 deletions)

View changed files

📝 .github/workflows/build.yml (+8 -8)

📄 Description

  • The default linker which happens to be BFD in Ubuntu 24.04 does not support Clang's ThinLTO which CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE=ON tries to enable.
  • Using mold linker fixes this and reduces build time a bit.
  • For consistency reasons we enable mold linker for GCC builds aswell.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2847 **Author:** [@MajorP93](https://github.com/MajorP93) **Created:** 4/26/2025 **Status:** ✅ Merged **Merged:** 4/28/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`fd533f8`](https://github.com/shadps4-emu/shadPS4/commit/fd533f8d2edb2f17c3f86da531cf996fd28dc03c) ci: Use mold linker for Linux builds ### 📊 Changes **1 file changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+8 -8) </details> ### 📄 Description * The default linker which happens to be BFD in Ubuntu 24.04 does not support Clang's ThinLTO which CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE=ON tries to enable. * Using mold linker fixes this and reduces build time a bit. * For consistency reasons we enable mold linker for GCC builds aswell. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3024
No description provided.