Skip to content

Commit

Permalink
re-enable SVML regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed May 2, 2023
1 parent 2bf3e26 commit 391f974
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ if %ERRORLEVEL% neq 0 exit 1
cmake --build .
if %ERRORLEVEL% neq 0 exit 1

REM bin\opt -S -vector-library=SVML -mcpu=haswell -O3 %RECIPE_DIR%\numba-3016.ll | bin\FileCheck %RECIPE_DIR%\numba-3016.ll
REM if %ERRORLEVEL% neq 0 exit 1
:: SVML regression test (cf. #52 and numba/numba#3016)
bin\opt -S -vector-library=SVML -mcpu=haswell -O3 %RECIPE_DIR%\numba-3016.ll | bin\FileCheck %RECIPE_DIR%\numba-3016.ll
if %ERRORLEVEL% neq 0 exit 1

cd ..\llvm\test
..\..\build\bin\llvm-lit.py -vv Transforms ExecutionEngine Analysis CodeGen/X86
3 changes: 2 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ else
fi

if [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]]; then
# bin/opt -S -vector-library=SVML $TEST_CPU_FLAG -O3 $RECIPE_DIR/numba-3016.ll | bin/FileCheck $RECIPE_DIR/numba-3016.ll || exit $?
# SVML regression test (cf. #52 and numba/numba#3016)
bin/opt -S -vector-library=SVML $TEST_CPU_FLAG -O3 $RECIPE_DIR/numba-3016.ll | bin/FileCheck $RECIPE_DIR/numba-3016.ll || exit $?

if [[ "$target_platform" == linux* ]]; then
ln -s $(which $CC) $BUILD_PREFIX/bin/gcc
Expand Down

0 comments on commit 391f974

Please sign in to comment.