Disable tests on RISC-V (riscv64)

[..]
TEST 1/27 amax:samax [OK]
TEST 2/27 ismax:negative_step_2 [OK]
TEST 3/27 ismax:positive_step_2 [OK]
TEST 4/27 ismin:negative_step_2 [FAIL]
  ERR: test_ismin.c:62  expected 9, got 1
TEST 5/27 ismin:positive_step_2 [FAIL]
  ERR: test_ismin.c:49  expected 9, got 50
TEST 6/27 drotmg:drotmg_D1_big_D2_big_flag_zero [OK]
TEST 7/27 drotmg:rotmg_D1eqD2_X1eqX2 [OK]
TEST 8/27 drotmg:rotmg_issue1452 [OK]
TEST 9/27 drotmg:rotmg [OK]
TEST 10/27 axpy:caxpy_inc_0 [OK]
TEST 11/27 axpy:saxpy_inc_0 [OK]
TEST 12/27 axpy:zaxpy_inc_0 [OK]
TEST 13/27 axpy:daxpy_inc_0 [OK]
TEST 14/27 zdotu:zdotu_offset_1 [OK]
TEST 15/27 zdotu:zdotu_n_1 [OK]
TEST 16/27 dsdot:dsdot_n_1 [FAIL]
  ERR: test_dsdot.c:47  expected -2.393e-03, got -2.393e-03 (diff -1.035e-10, tol 1.000e-13)
TEST 17/27 swap:cswap_inc_0 [OK]
TEST 18/27 swap:sswap_inc_0 [OK]
TEST 19/27 swap:zswap_inc_0 [OK]
TEST 20/27 swap:dswap_inc_0 [OK]
TEST 21/27 rot:csrot_inc_0 [OK]
TEST 22/27 rot:srot_inc_0 [OK]
TEST 23/27 rot:zdrot_inc_0 [OK]
TEST 24/27 rot:drot_inc_0 [OK]
TEST 25/27 potrf:smoketest_trivial [OK]
TEST 26/27 potrf:bug_695 [OK]
TEST 27/27 kernel_regress:skx_avx [OK]
RESULTS: 27 tests (24 ok, 3 failed, 0 skipped) ran in 1799 ms
make[1]: *** [Makefile:45: run_test] Error 3

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-05-04 10:59:26 +03:00
parent 5f85e9d9dc
commit 51f4fdc3fc
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,8 @@ Patch4: https://github.com/xianyi/OpenBLAS/commit/ee2e758278b5d82b7242f5
# RISC-V 64-bit support (generated from risc-v upstream branch)
Patch10: riscv64.patch
# Disable tests on RISC-V
Patch11: openblas-0.3.0-disable-tests.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@ -255,6 +257,7 @@ cd OpenBLAS-%{version}
%ifarch riscv64
%patch10 -p1 -b .riscv64
%patch11 -p1 -b .disable-tests
%endif
# Fix source permissions