File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function get_plat_tag {
33
33
local mb_ml_ver=${MB_ML_VER:- 1}
34
34
local mb_ml_libc=${MB_ML_LIBC:- manylinux}
35
35
case $plat in
36
- i686|x86_64|arm64|universal2|intel|aarch64|s390x|ppc64le) ;;
36
+ i686|x86_64|arm64|universal2|intel|aarch64|s390x|ppc64le|loongarch64 ) ;;
37
37
* ) echo Did not recognize plat $plat ; return 1 ;;
38
38
esac
39
39
local uname=${2:- $(uname)}
@@ -148,6 +148,9 @@ function do_build_lib {
148
148
local bitness=64
149
149
local target=" POWER8"
150
150
;;
151
+ Linux-loongarch64)
152
+ local target=" GENERIC"
153
+ ;;
151
154
* ) echo " Strange plat value $plat " ; exit 1 ;;
152
155
esac
153
156
case $interface64 in
@@ -170,6 +173,12 @@ function do_build_lib {
170
173
pushd OpenBLAS
171
174
patch_source
172
175
echo start building
176
+ if [ " $plat " == " loongarch64" ]; then
177
+ # https://github.com/OpenMathLib/OpenBLAS/blob/develop/.github/workflows/loongarch64.yml#L65
178
+ echo -n > utest/test_dsdot.c
179
+ echo " Due to the qemu versions 7.2 causing utest cases to fail,"
180
+ echo " the utest dsdot:dsdot_n_1 have been temporarily disabled."
181
+ fi
173
182
if [ -v dynamic_list ]; then
174
183
CFLAGS=" $CFLAGS -fvisibility=protected -Wno-uninitialized" \
175
184
make BUFFERSIZE=20 DYNAMIC_ARCH=1 QUIET_MAKE=1 \
You can’t perform that action at this time.
0 commit comments