From 391f9740d14bbef3302480a40a9d9ce26bd864cc Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 2 May 2023 16:17:30 +1100 Subject: [PATCH] re-enable SVML regression test --- recipe/bld.bat | 5 +++-- recipe/build.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/recipe/bld.bat b/recipe/bld.bat index 53fe8ef0..180efa20 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -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 diff --git a/recipe/build.sh b/recipe/build.sh index e009aaea..567c7942 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -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