Add `-DWASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR=ON` to default instruct… (#658)

…ions

For an in-place build this is what'll be necessary to get a fully
working compiler.
main
Alex Crichton 19 hours ago committed by GitHub
parent 7aebf56a21
commit 421e13c214
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -76,7 +76,8 @@ cmake -G Ninja -B build/sysroot -S . \
-DCMAKE_INSTALL_PREFIX=build/install \
-DCMAKE_TOOLCHAIN_FILE=build/install/share/cmake/wasi-sdk-p2.cmake \
-DCMAKE_C_COMPILER_WORKS=ON \
-DCMAKE_CXX_COMPILER_WORKS=ON
-DCMAKE_CXX_COMPILER_WORKS=ON \
-DWASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR=ON
cmake --build build/sysroot --target install
```

Loading…
Cancel
Save