python-xgboost/xgboost-add-sw64-mips64el-loongarch64-riscv64-support.patch
zhangshaoning 98b5ad5a76 Add sw_64 loongarch64 riscv64 and mips64 support
(cherry picked from commit 13940a7903336c6ebe54781ea1d9785b19ab2213)
2025-03-24 10:59:26 +08:00

13 lines
507 B
Diff

diff -Naur a/xgboost/make/config.mk b/xgboost/make/config.mk
--- a/xgboost/make/config.mk 2024-12-10 21:40:12.760506475 +0800
+++ b/xgboost/make/config.mk 2024-12-10 21:54:02.450601816 +0800
@@ -43,7 +43,7 @@
# Settings for power and arm arch
#----------------------------
ARCH := $(shell uname -a)
-ifneq (,$(filter $(ARCH), armv6l armv7l powerpc64le ppc64le aarch64))
+ifneq (,$(filter $(ARCH), armv6l armv7l powerpc64le ppc64le aarch64 riscv64 loongarch64 sw_64 mips64))
USE_SSE=0
else
USE_SSE=1