mirror of https://github.com/WebAssembly/wasi-sdk
llvm: update to LLVM 16.0.0 (#314)
* llvm-project: update to 16.0.0 release This changes updates the `src/llvm-project` submodule to the `HEAD` of `release/16.x`, the same commit used to [release] the LLVM 16.0.0 binaries. [release]: https://github.com/llvm/llvm-project/releases/tag/llvmorg-16.0.0 * fix: use only Clang's major version in install prefix 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/D125860 * review: only use `llvm_version_major.sh` Since the `Makefile` can get by with only knowing Clang's major version, this change removes `llvm_version.sh` and sets `CLANG_VERSION` to use only the major part.pull/316/head
parent
e2666e548b
commit
46fe12f3a1
@ -1,6 +0,0 @@
|
||||
#/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)}'`
|
||||
MINOR=`grep "set(LLVM_VERSION_MINOR" $LLVM_PROJ_DIR/llvm/CMakeLists.txt | awk '{print substr($2, 1, length($2) - 1)}'`
|
||||
PATCH=`grep "set(LLVM_VERSION_PATCH" $LLVM_PROJ_DIR/llvm/CMakeLists.txt | awk '{print substr($2, 1, length($2) - 1)}'`
|
||||
echo $MAJOR.$MINOR.$PATCH
|
@ -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
|
@ -1 +1 @@
|
||||
Subproject commit 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a
|
||||
Subproject commit 08d094a0e457360ad8b94b017d2dc277e697ca76
|
Loading…
Reference in new issue