mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Toolchain: Add LLVM patch and script for building it
This contains all the bits and pieces necessary to build a Clang binary that will correctly compile SerenityOS. I had some trouble with getting LLVM building with a single command, so for now, I decided to build each LLVM component in a separate command invocation. In the future, we can also make the main llvm build step architecture-independent, but that would come with extra work to make library and include paths work. The binutils build invocation and related boilerplate is duplicated because we only use `objdump` from GNU binutils in the Clang toolchain, so most features can be disabled.
This commit is contained in:
parent
5d617be462
commit
15e217ea68
4 changed files with 1299 additions and 1 deletions
|
@ -71,6 +71,7 @@ echo SYSROOT is "$SYSROOT"
|
|||
|
||||
mkdir -p "$DIR/Tarballs"
|
||||
|
||||
# Note: The version number and hash in BuildClang.sh needs to be kept in sync with this.
|
||||
BINUTILS_VERSION="2.37"
|
||||
BINUTILS_MD5SUM="1e55743d73c100b7a0d67ffb32398cdb"
|
||||
BINUTILS_NAME="binutils-$BINUTILS_VERSION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue