Closed spino17 closed 5 months ago
@llvm/issue-subscribers-clang-codegen
Author: Bhavya Bhatt (spino17)
This is not a WebAssembly problem; it seems to be caused by #90338. It looks fixes are being tried in https://github.com/llvm/llvm-project/commit/da116bd82c0a78d2022c34b56e45cf6e4f91eaed and https://github.com/llvm/llvm-project/commit/8a4cbeada930bf11fe740a2038bd5a3230712284. Given that they are fixing it now, I hope the build will clear soon, and I think we can close this.
Thanks a lot @aheejin for mentioning those. Just to make sure that I would change the line mentioned in https://github.com/llvm/llvm-project/commit/8a4cbeada930bf11fe740a2038bd5a3230712284
and rebuild it right ?
Yeah it looks that commit has fixed the issue.
Yeah, checked out just now! Thanks a lot for the help @aheejin . I believe working with stable source is much more safer given I just want to build clang library for AST.
I used the following command to build the LLVM for
WebAssembly
target on my mac:cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm -DLLVM_TARGETS_TO_BUILD="WebAssembly"
Themake
command after running the abovecmake
failed by having the following error:The output of command
clang --version
is