File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ cmake -G "Ninja" ^
3434 %SRC_DIR% /llvm
3535if %ERRORLEVEL% neq 0 exit 1
3636
37- cmake --build .
37+ cmake --build . --target install
3838if %ERRORLEVEL% neq 0 exit 1
3939
4040REM bin\opt -S -vector-library=SVML -mcpu=haswell -O3 %RECIPE_DIR%\numba-3016.ll | bin\FileCheck %RECIPE_DIR%\numba-3016.ll
4141REM if %ERRORLEVEL% neq 0 exit 1
4242
4343cd ..\llvm\test
4444python ..\..\build\bin\llvm-lit.py -vv Transforms ExecutionEngine Analysis CodeGen/X86
45+ if %ERRORLEVEL% neq 0 exit 1
Original file line number Diff line number Diff line change 1- set -x
1+ #! /bin/bash
2+ set -ex
23
34# Make osx work like linux.
45sed -i.bak " s/NOT APPLE AND ARG_SONAME/ARG_SONAME/g" llvm/cmake/modules/AddLLVM.cmake
@@ -73,10 +74,10 @@ if [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]]; then
7374
7475 if [[ " $target_platform " == linux* ]]; then
7576 ln -s $( which $CC ) $BUILD_PREFIX /bin/gcc
77+ # check-llvm takes >1.5h to build & run on osx
78+ ninja -j${CPU_COUNT} check-llvm
7679 fi
7780
78- ninja -j${CPU_COUNT} check-llvm
79-
8081 cd ../llvm/test
8182 python ../../build/bin/llvm-lit -vv Transforms ExecutionEngine Analysis CodeGen/X86
8283fi
You can’t perform that action at this time.
0 commit comments