Open
remove ifarch for loongarch64 #19
pzbpzbpzbpzbAdd on Jan 8
remove ifarch for loongarch64 #19
Open
Total: 1 files changed+4-3
| @@ -2,16 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | Name: chatglm-cpp | 3 | Name: chatglm-cpp |
| 4 | Version: 0.2.4 | 4 | Version: 0.2.4 |
| 5 | -Release: 5 | 5 | +Release: 6 |
| 6 | License: MIT | 6 | License: MIT |
| 7 | Summary: Port of Chinese lagre model ChatGLM-6B & ChatGLM2-6B implemented based on C/C++ | 7 | Summary: Port of Chinese lagre model ChatGLM-6B & ChatGLM2-6B implemented based on C/C++ |
| 8 | 8 | ||
| 9 | URL: https://github.com/li-plus/chatglm.cpp | 9 | URL: https://github.com/li-plus/chatglm.cpp |
| 10 | Source0: https://github.com/li-plus/chatglm.cpp/releases/download/0.2.4/chatglm-cpp-%{version}.tar.gz | 10 | Source0: https://github.com/li-plus/chatglm.cpp/releases/download/0.2.4/chatglm-cpp-%{version}.tar.gz |
| 11 | 11 | ||
| 12 | -%ifarch loongarch64 | ||
| 13 | Patch0: 0001-Fix-build-error-for-loongarch64.patch | 12 | Patch0: 0001-Fix-build-error-for-loongarch64.patch |
| 14 | -%endif | ||
| 15 | 13 | ||
| 16 | BuildRequires: gcc,gcc-c++,cmake | 14 | BuildRequires: gcc,gcc-c++,cmake |
| 17 | Requires: sentencepiece | 15 | Requires: sentencepiece |
| @@ -51,6 +49,9 @@ popd | |||
| 51 | /usr/lib/static/libggml.a | 49 | /usr/lib/static/libggml.a |
| 52 | 50 | ||
| 53 | %changelog | 51 | %changelog |
| 52 | +* Thu Jan 08 2026 pzbpzbpzb <553029511@qq.com> - 0.2.4-6 | ||
| 53 | +- remove ifarch for loongarch64 | ||
| 54 | + | ||
| 54 | * Fri May 17 2024 zhangzikang <zhangzikang@kylinos.cn> - 0.2.4-5 | 55 | * Fri May 17 2024 zhangzikang <zhangzikang@kylinos.cn> - 0.2.4-5 |
| 55 | - Fix build error for loongarch64 | 56 | - Fix build error for loongarch64 |
| 56 | 57 | ||