mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-14 10:01:01 +00:00
Update emscripten-build-llvm.sh
Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
32d4b2309c
commit
8990b2a486
@@ -20,7 +20,7 @@ LLVM_WASM="${PWD}/build/llvm-wasm"
|
|||||||
|
|
||||||
./clone-llvm.sh "${LLVM_SRC}"
|
./clone-llvm.sh "${LLVM_SRC}"
|
||||||
|
|
||||||
# Cross-compiling LLVM requires a native build of "llvm-tblgen" and "clang-tblgen"
|
# Cross-compiling LLVM requires a native build of "llvm-tblgen", "clang-tblgen" and "llvm-config"
|
||||||
if [ ! -d "${LLVM_NATIVE}" ]; then
|
if [ ! -d "${LLVM_NATIVE}" ]; then
|
||||||
cmake -G Ninja \
|
cmake -G Ninja \
|
||||||
-S "${LLVM_SRC}/llvm" \
|
-S "${LLVM_SRC}/llvm" \
|
||||||
|
|||||||
Reference in New Issue
Block a user