arm64のJetsonでLLVMのビルドが普通に通ったぞ!?

Emscripten – Building Emscripten from Source
https://emscripten.org/docs/building_from_source/index.html#installing-from-source

パッケージのLLVMやClangは使わず、LLVMとbinaryenをビルドしてemscriptenを公式リポジトリからクローンすれば動いた。

https://github.com/llvm/llvm-project

cd build/
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS='lld;clang' -DLLVM_TARGETS_TO_BUILD="host;WebAssembly" -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF
cmake --build . 

https://github.com/WebAssembly/binaryen

cmake . && make

https://github.com/emscripten-core/emscripten

Leave a comment

Your email address will not be published. Required fields are marked *