2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-04 17:31:10 +08:00
artiq/conda/llvmlite-or1k/bld.bat
2015-02-05 19:57:32 +08:00

12 lines
360 B
Batchfile

@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
patch -p1 < %RECIPE_DIR%/../../patches/llvmlite/0001-add-all-targets.patch
%PYTHON% -S setup.py install
if errorlevel 1 exit 1