@@ -54,7 +54,7 @@ function clean_code {
5454 pushd OpenBLAS
5555 git fetch origin --tags
5656 git checkout $build_commit
57- git clean -fxd
57+ git clean -fxd
5858 git submodule update --init --recursive
5959 popd
6060}
@@ -164,13 +164,13 @@ function do_build_lib {
164164 ;;
165165 * -s390x)
166166 # The TargetList.txt has only ZARCH_GENERIC, Z13, Z14. Not worth
167- # messing with dynamic lists and targets .
167+ # messing with dynamic lists.
168168 local bitness=64
169+ local target=" ZARCH_GENERIC"
169170 ;;
170171 * -ppc64le)
171172 local bitness=64
172173 local target=" POWER8"
173- local dynamic_list=" POWER8 POWER10"
174174 ;;
175175 Linux-loongarch64)
176176 local target=" GENERIC"
@@ -199,6 +199,13 @@ function do_build_lib {
199199 echo -n > utest/test_dsdot.c
200200 echo " Due to the qemu versions 7.2 causing utest cases to fail,"
201201 echo " the utest dsdot:dsdot_n_1 have been temporarily disabled."
202+ elif [ " $plat " == " s390x" ]; then
203+ sed -i ' s/CTEST(samin, positive_step_1_N_70){/CTEST_SKIP(samin, positive_step_1_N_70){/g' ./utest/test_extensions/test_samin.c
204+ sed -i ' s/CTEST(samin, negative_step_1_N_70){/CTEST_SKIP(samin, negative_step_1_N_70){/g' ./utest/test_extensions/test_samin.c
205+ sed -i ' s/CTEST(damin, positive_step_1_N_70){/CTEST_SKIP(damin, positive_step_1_N_70){/g' ./utest/test_extensions/test_damin.c
206+ sed -i ' s/CTEST(damin, negative_step_1_N_70){/CTEST_SKIP(damin, negative_step_1_N_70){/g' ./utest/test_extensions/test_damin.c
207+ echo " the utest samin/damin have been temporarily disabled."
208+ echo " QEMU does not support the 'lper' /'lpdr' instructions used"
202209 fi
203210 if [ -n " $dynamic_list " ]; then
204211 CFLAGS=" $CFLAGS -fvisibility=protected -Wno-uninitialized" \
0 commit comments