From 1784a139947f7e663d867f9d6fc843e454861c93 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 23 Aug 2024 15:50:13 +0900 Subject: [PATCH] README.md: mention WASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a594f40f7..3b506ff1a 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,9 @@ in compiling WebAssembly code. Supported CMake flags are: sysroot libraries, don't build or use fresh libraries for tests. * `-DWASI_SDK_TARGETS=..` - a list of targets to build, by default all WASI targets are compiled. +* `-DWASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR=ON` - install compiler-rt + to the compiler's resource directory. might be convenient if you want to + use the toolchain (eg. `./build/install/bin/clang`) in-place. If you'd like to build distribution artifacts you can use the `dist` target like so: