Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal
- rem Clang/LLVM をMinGWでコンパイルする手順
- rem 詳しくは公式サイト: http://clang.llvm.org/get_started.html
- rem Libxml2, Subversion は導入しなくても何とかなる(たぶん)
- set llvm_src=..\llvm
- set msysroot=C:\MinGW\msys\1.0
- path %WINDIR%\system32;
- path %PATH%;C:\MinGW\bin
- path %PATH%;%PROGRAMFILES%\Gow\bin
- path %PATH%;%PROGRAMFILES%\SlikSvn\bin
- path %PATH%;%USERPROFILE%\opt\cmake\bin
- path %PATH%;%USERPROFILE%\opt\PortablePython_2.7.3.2\App
- path %PATh%;%msysroot%\local\bin
- set opt=^
- -DCMAKE_INSTALL_PREFIX=%msysroot%\local\llvm ^
- -DCMAKE_BUILD_TYPE=Release ^
- -DLLVM_TARGETS_TO_BUILD=X86 ^
- -DLIBXML2_INCLUDE_DIR=%msysroot%\local\include\libxml2 ^
- -DLIBXML2_LIBRARIES=%msysroot%\local\lib\libxml2.lib
- rem cmake -G "MinGW Makefiles" %opt% "%llvm_src%"
- mingw32-make
- mingw32-make check
- mingw32-make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement