cmake -GNinja ../../llvm-project/compiler-rt/lib/builtins -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_ASM_COMPILER=clang -DCMAKE_C_COMPILER_TARGET=wasm32-wasi -DCMAKE_CXX_COMPILER_TARGET=wasm32-wasi -DCMAKE_ASM_COMPILER_TARGET=wasm32-wasi -DCMAKE_INSTALL_PREFIX=$HOME/llvm_toolchains/native/lib/clang/15.0.0 -DCMAKE_SYSTEM_NAME=wasi -DCMAKE_C_FLAGS="-fuse-ld=lld" -DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DCMAKE_LINKER=lld -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=On -DCOMPILER_RT_BAREMETAL_BUILD=On -DCOMPILER_RT_HAS_FPIC_FLAG=OFF -DCOMPILER_RT_OS_DIR=wasi -DCMAKE_SYSROOT=$CROSSPATH/wasm32-wasi -DCMAKE_SYSTEM_PROCESSOR=wasi -DCMAKE_C_COMPILER_TARGET=wasm32-wasi -DCOMPILER_RT_DEFAULT_TARGET_ARCH=wasm32 -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON