feat: Support mips64 linglong build#574
Conversation
Add mips64 linglong.yaml to support build linglong package. Log: Support build mips64 linglong package.
|
TAG Bot New tag: 6.5.41 |
|
TAG Bot New tag: 6.5.42 |
|
CLA Assistant Lite bot: You can retrigger this bot by commenting recheck in this Pull Request |
deepin pr auto review这是一个新添加的linglong.yaml文件,用于构建mips64架构的deepin-manual包。我来对代码进行审查:
改进建议:
if ! sed -i "s|ExecStart=/usr/bin/dman --dbus|ExecStart=dman --dbus|g" $PWD/misc/deepin-manual.service; then
echo "Failed to modify service file"
exit 1
fi
# 检查必要的构建工具
if ! command -v cmake &> /dev/null; then
echo "cmake is required but not installed"
exit 1
fi
# 清理构建文件
rm -rf build
cmake --build build --target install > "${PREFIX}/install.log" 2>&1
sources:
- kind: file
url: https://pools.uniontech.com/desktop-professional-V25/pool/main/q/qt6-tools/assistant-qt6_6.8.0-0deepin3_mips64el.deb
version: "6.8.0-0deepin3"
digest: 57fe3a41ae98855bea2f46a967dadb0b7411f2e456a5e19817bf6b446bc36b90
# 检查构建是否成功
if [ $? -ne 0 ]; then
echo "Build failed"
exit 1
fi
build: |
export CC=gcc
export CXX=g++
export CFLAGS="-O2"
export CXXFLAGS="-O2"
bash ./install_dep linglong/sources "${PREFIX}"
# ... 其他构建命令
package:
id: org.deepin.manual
name: "deepin-manual"
version: 6.5.40.1
kind: app
description: |
Manual for deepin OS.
keywords:
- manual
- documentation
- help
homepage: https://github.com/linuxdeepin/deepin-manual
maintainer:
name: Deepin Team
email: support@deepin.org这些改进可以提高构建的可靠性、可维护性和用户体验。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dengbo11, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Add mips64 linglong.yaml to support build linglong package.
Log: Support build mips64 linglong package.