This is a LLVM 13.0.0 fork of the repository available at https://github.com/llvm/llvm-project.
The following example shows how to build the lld with ninja.
Important: You may want to ensure building the release config to reduce memory pressure during building.
$ mkdir build && cd build
$ cmake -G Ninja -DLLVM_ENABLE_PROJECTS=lld -DCMAKE_BUILD_TYPE=Release ../src/llvm
$ ninja # actually starts the build process. Might take a while.After that lld can be found inside the build folder.
Create a symlink to reference to it with the name ld.lld.
$ ln -s /path/to/repository/build/bin/lld ld.lldor add it to the PATH environment variable
$ export PATH=/path/to/repository/build/bin:$PATHNow you can link multivariant ELFs.