Lines Matching +full:clang +full:- +full:build
5 To build LLVM libc on Windows, first build Clang using the following steps.
9 successful clang build.
21 [Ninja](https://github.com/ninja-build/ninja/releases). (Optional, included
24 crucial as it allows you to use build tools like CMake and Ninja:
27 …"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" a…
34 [Git](https://git-scm.com/download/win) for Windows. Check out the LLVM
38 git clone https://github.com/llvm/llvm-project.git
41 7. Ensure you have access to Clang, either by downloading from
43 [building it yourself](https://clang.llvm.org/get_started.html).
47 In this section, Clang will be used to compile LLVM
48 libc, and finally, build and test the libc.
50 8. Create a empty build directory in `C:\src` or your preferred directory and
54 mkdir libc-build
55 cd libc-build
58 9. Run the following CMake command to generate build files. LLVM libc must be built
59 by Clang, so ensure Clang is specified as the C and C++ compiler.
62 …-G Ninja ../llvm-project/llvm -DCMAKE_C_COMPILER=C:/src/clang-build/bin/clang-cl.exe -DCMAKE_CXX_C…
71 -DLLVM_LIBC_MPFR_INSTALL_PATH=<path/mpfr/install/dir>
83 10. Build LLVM libc using: