1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-31 17:37:46 +00:00

Ports: Upgrade LLVM to version 13.0.0

With this update, we now use our custom `serenity` Clang target, which
means that all system-specific compilation options (e.g. default PIE,
header search paths) will be handled automatically.

This port has been tested to build `Source/little` on all 4
toolchain-architecture pairs. Furthermore, `lib(std)c++` headers are
picked up correctly and our AK headers can be included without any
issues.

Due to recent kernel fixes related to memory-mapped files, the LLD
linker can now be used by default, so there's no need to also build the
GCC port alongside this.

Although our patches cover building libLLVM as a shared library, this is
currently not enabled by default, as DynamicLoader is very slow in
dealing with such a large number of relocations.
This commit is contained in:
Daniel Bertalan 2021-11-21 08:25:51 +01:00 committed by Brian Gianforcaro
parent f29f9762a2
commit e88ca09609
8 changed files with 159 additions and 60 deletions

View file

@ -95,7 +95,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libxml2`](libxml2/) | libxml2 | 2.9.12 | http://www.xmlsoft.org/ |
| [`libzip`](libzip/) | libzip | 1.7.3 | https://libzip.org/ |
| [`links`](links/) | Links web browser | 2.22 | http://links.twibright.com/ |
| [`llvm`](llvm/) | LLVM | 12.0.0 | https://llvm.org/ |
| [`llvm`](llvm/) | LLVM | 13.0.0 | https://llvm.org/ |
| [`lua`](lua/) | Lua | 5.3.5 | https://www.lua.org/ |
| [`lure`](lure/) | Lure of the Temptress | 1.1 | https://www.scummvm.org/games/#games-lure |
| [`m4`](m4/) | GNU M4 | 1.4.9 | https://www.gnu.org/software/m4/ |