python-xgboost/xgboost-add-sw64-mips64el-loongarch64-riscv64-support.patch

13 lines
507 B
Diff
Raw Permalink Normal View History

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
2022-01-21 09:33:03 +00:00
@@ -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))
2022-01-21 09:33:03 +00:00
USE_SSE=0
else
USE_SSE=1