1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:37:35 +00:00

Toolchain: Build Clang with RISC-V support

This commit is contained in:
kleines Filmröllchen 2023-08-10 20:34:47 +02:00 committed by Daniel Bertalan
parent e21af23754
commit 0b91d36a1e
6 changed files with 28 additions and 14 deletions

View file

@ -15,7 +15,7 @@ echo "$DIR"
PREFIX="$DIR/Local/clang/"
BUILD="$DIR/../Build/"
USERLAND_ARCHS="x86_64"
ARCHS="$USERLAND_ARCHS aarch64"
ARCHS="$USERLAND_ARCHS aarch64 riscv64"
MD5SUM="md5sum"
REALPATH="realpath"
@ -296,6 +296,7 @@ pushd "$DIR/Build/clang"
-G Ninja \
-DSERENITY_x86_64-pc-serenity_SYSROOT="$BUILD/x86_64clang/Root" \
-DSERENITY_aarch64-pc-serenity_SYSROOT="$BUILD/aarch64clang/Root" \
-DSERENITY_riscv64-pc-serenity_SYSROOT="$BUILD/riscv64clang/Root" \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DSERENITY_MODULE_PATH="$DIR/CMake" \
-C "$DIR/CMake/LLVMConfig.cmake" \