mirror of https://github.com/WebAssembly/wasi-sdk
Due to [a change] in LLVM, Clang will expect to find the `libclang_rt.builtins-wasm32.a` file in a path that only contains the major version (`16`) instead of the entire version (`16.0.0`) as was previously the case. This change modifies the `CMAKE_INSTALL_PREFIX` to use Clang's major version only. [a change]: https://reviews.llvm.org/D125860threads-prerelease
parent
a219cbdd9c
commit
adef23bc03
@ -0,0 +1,4 @@
|
||||
#/bin/bash
|
||||
LLVM_PROJ_DIR=${1:-./src/llvm-project}
|
||||
MAJOR=`grep "set(LLVM_VERSION_MAJOR" $LLVM_PROJ_DIR/llvm/CMakeLists.txt | awk '{print substr($2, 1, length($2) - 1)}'`
|
||||
echo $MAJOR
|
Loading…
Reference in new issue