Releases https://github.com/syoyo/llvm-project-mingw-build/releases uses GitHub Actions
https://github.com/syoyo/llvm-project-mingw-build/actions
- 20GB+ of disk size.
- Using highspeed disk(e.g. SSD or NVMe) preferred.
- ninja-build
- cmake
- C/C++ compiler
- llvm-mingw cross compiler
- https://github.com/mstorsjo/llvm-mingw : 20200325(LLVM 10.0) or newer
Clone llvm-project repo.
$ ./clone-repo.sh
- llvm-mingw cross compiler toolchain(
llvm-mingw-20200325-ubuntu-18.04.tar.xz
)
Set path to llvm-mingw in environment variable See github actions workflow file for details.
First we need to build native tools(e.g. clang-tblgen) on host.
$ ./build-native-tools.sh
Edit path to llvm-mignw in build-llvm-mingw-cross.sh
, then
$ ./build-llvm-mingw-cross.sh
Edit path to llvm-mignw in build-libcxx-mingw-cross.sh
, then
$ ./build-libcxx-mingw-cross.sh
You can build compiler-rt solely(no dependency with libclang, libllvm, etc). Only you need is llvm-mingw clang compiler.
Edit path to llvm-mignw in build-compiler-rt-mingw-cross.sh
, then
$ ./build-compiler-rt-mingw-cross.sh
- Create artiface and release using git tag.