123 Star 0 Fork 24

src-openEuler/python-xgboost

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-set-lib-install-dir 813 Bytes
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2025-05-08 15:26 +08:00 . update to version 1.7.6
From 1fa491b12359de2ebd357e47fef293e3e62c585c Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Thu, 8 May 2025 15:03:09 +0800
Subject: [PATCH] set lib install dir
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 8a1b1b7..cae4187 100644
--- a/setup.py
+++ b/setup.py
@@ -256,7 +256,7 @@ class InstallLib(install_lib.install_lib):
dst = os.path.join(self.install_dir, 'xgboost', 'lib', lib_name())
libxgboost_path = lib_name()
-
+ BUILD_TEMP_DIR = os.path.join(CURRENT_DIR, 'build', 'temp.linux-aarch64-cpython-311')
assert BUILD_TEMP_DIR is not None
dft_lib_dir = os.path.join(CURRENT_DIR, os.path.pardir, 'lib')
build_dir = os.path.join(BUILD_TEMP_DIR, 'xgboost', 'lib')
--
2.48.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-xgboost.git
git@gitee.com:src-openeuler/python-xgboost.git
src-openeuler
python-xgboost
python-xgboost
master

搜索帮助