Skip to content
Snippets Groups Projects
Commit 37ed9a3d authored by noword's avatar noword
Browse files

fix mistakes in docs

LLVM_TARGETS_TO_BUILD should split with ';' not ','
parent 8c3a3a4a
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ For Windows, see [COMPILE-WINDOWS.md](COMPILE-WINDOWS.md) ...@@ -38,7 +38,7 @@ For Windows, see [COMPILE-WINDOWS.md](COMPILE-WINDOWS.md)
pass a semicolon-separated list of targets to LLVM_TARGETS_TO_BUILD, pass a semicolon-separated list of targets to LLVM_TARGETS_TO_BUILD,
like follows if we only want AArch64 & X86. like follows if we only want AArch64 & X86.
$ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="AArch64, X86" -G "Unix Makefiles" .. $ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="AArch64;X86" -G "Unix Makefiles" ..
$ make -j8 $ make -j8
You can also compile static a library with: You can also compile static a library with:
......
...@@ -29,7 +29,7 @@ For *nix OS, see [COMPILE-NIX.md](COMPILE-NIX.md) ...@@ -29,7 +29,7 @@ For *nix OS, see [COMPILE-NIX.md](COMPILE-NIX.md)
pass a semicolon-separated list of targets to LLVM_TARGETS_TO_BUILD, pass a semicolon-separated list of targets to LLVM_TARGETS_TO_BUILD,
like follows if we only want AArch64 & X86. like follows if we only want AArch64 & X86.
$ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="AArch64, X86" -G "NMake Makefiles" .. $ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="AArch64;X86" -G "NMake Makefiles" ..
$ nmake $ nmake
To build LIB file, run: To build LIB file, run:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment