Skip to content

Commit 7a65d6c

Browse files
authored
Change lld target to lldWasm target Emscripten build (#532)
1 parent 7d9be77 commit 7a65d6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/emscripten.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ jobs:
327327
-DLLVM_ENABLE_THREADS=OFF \
328328
-G Ninja \
329329
../llvm
330-
emmake ninja libclang clangInterpreter clangStaticAnalyzerCore lld -j ${{ env.ncpus }}
330+
emmake ninja libclang clangInterpreter clangStaticAnalyzerCore lldWasm -j ${{ env.ncpus }}
331331
fi
332332
cd ../
333333
rm -rf $(find . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")

Emscripten-build-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ emcmake cmake -DCMAKE_BUILD_TYPE=Release \
7272
../llvm
7373
emmake make libclang -j $(nproc --all)
7474
emmake make clangInterpreter clangStaticAnalyzerCore -j $(nproc --all)
75-
emmake make lld -j $(nproc --all)
75+
emmake make lldWasm -j $(nproc --all)
7676
```
7777

7878
Once this finishes building we need to take note of where we built our llvm build. This can be done by executing the following

docs/Emscripten-build-instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ executing the following
8888
../llvm
8989
emmake make libclang -j $(nproc --all)
9090
emmake make clangInterpreter clangStaticAnalyzerCore -j $(nproc --all)
91-
emmake make lld -j $(nproc --all)
91+
emmake make lldWasm -j $(nproc --all)
9292
9393
Once this finishes building we need to take note of where we built our
9494
llvm build. This can be done by executing the following

0 commit comments

Comments
 (0)