mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 21:57:18 +00:00
Toolchain: Build Clang with RISC-V support
This commit is contained in:
parent
e21af23754
commit
0b91d36a1e
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 0b91d36a1e
Pull-request: https://github.com/SerenityOS/serenity/pull/20482
Reviewed-by: https://github.com/BertalanD ✅
6 changed files with 28 additions and 14 deletions
|
@ -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" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue