2015-01-23 23:07:56 +08:00
|
|
|
@rem Let CMake know about the LLVM install path, for find_package()
|
|
|
|
set CMAKE_PREFIX_PATH=%LIBRARY_PREFIX%
|
|
|
|
|
|
|
|
@rem Ensure there are no build leftovers (CMake can complain)
|
|
|
|
if exist ffi\build rmdir /S /Q ffi\build
|
|
|
|
|
|
|
|
@rem Apply patches
|
2015-04-02 17:06:19 +08:00
|
|
|
patch -p1 < %RECIPE_DIR%/../../misc/llvmlite-add-all-targets.patch
|
2015-01-23 23:07:56 +08:00
|
|
|
|
|
|
|
%PYTHON% -S setup.py install
|
|
|
|
if errorlevel 1 exit 1
|