Skip to content

Commit 43f5e55

Browse files
mayeutmattip
authored andcommitted
fixes
1 parent 5f0c1f2 commit 43f5e55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/build_steps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ function do_build_lib {
192192
;;
193193
*-s390x)
194194
local bitness=64
195+
local target="ZARCH_GENERIC"
195196
;;
196197
*-ppc64le)
197198
local bitness=64
@@ -221,7 +222,10 @@ function do_build_lib {
221222
git config --global --add safe.directory '*'
222223
pushd OpenBLAS
223224
patch_source
225+
# force failure when fortran compiler is no detected
226+
sed -i.bak -e 's/info OpenBLAS: Detecting fortran compiler failed/error OpenBLAS: Detecting fortran compiler failed/g' Makefile
224227
echo start building
228+
225229
if [ "$plat" == "loongarch64" ]; then
226230
# https://github.com/OpenMathLib/OpenBLAS/blob/develop/.github/workflows/loongarch64.yml#L65
227231
echo -n > utest/test_dsdot.c

0 commit comments

Comments
 (0)