Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: loongarch64 disable compile unit test binaries #226

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

mhduiy
Copy link
Contributor

@mhduiy mhduiy commented Jun 24, 2024

loongarch64 do not compile unit-test

Log: loongarch64 disable compile unit test binaries

deepin-ci-robot added a commit to linuxdeepin/qt6integration that referenced this pull request Jun 24, 2024
Synchronize source files from linuxdeepin/qt5integration.

Source-pull-request: linuxdeepin/qt5integration#226
loongarch64 dont compile unit-test

Log: loongarch64 disable compile unit test binaries
@mhduiy mhduiy changed the title chore: loongarch64 disable compile unit test binaries fix: loongarch64 disable compile unit test binaries Jun 24, 2024
deepin-ci-robot added a commit to linuxdeepin/qt6integration that referenced this pull request Jun 24, 2024
Synchronize source files from linuxdeepin/qt5integration.

Source-pull-request: linuxdeepin/qt5integration#226
@mhduiy mhduiy closed this Jun 24, 2024
@mhduiy mhduiy reopened this Aug 20, 2024
deepin-ci-robot added a commit to linuxdeepin/qt6integration that referenced this pull request Aug 20, 2024
Synchronize source files from linuxdeepin/qt5integration.

Source-pull-request: linuxdeepin/qt5integration#226
@deepin-ci-robot
Copy link
Contributor

deepin pr auto review

关键摘要:

  • CMakeLists.txt文件中,对BUILD_TESTS的判断条件进行了修改,增加了对CMAKE_SYSTEM_PROCESSOR的检查。这可能是为了确保在特定硬件平台上不编译测试代码。

是否建议立即修改:

  • 否,这个提交没有明显的语法错误或逻辑问题。但是,如果有更多的上下文,比如stylesstyleplugins目录的编译依赖,可能需要进一步审查以确保这些更改不会引入新的问题。

建议:

  • 确保添加了对CMAKE_SYSTEM_PROCESSOR的检查是有意义的,并且与项目的构建流程和测试策略相匹配。
  • 如果BUILD_TESTS条件的修改是为了适应特定的硬件平台,建议添加注释说明为什么需要这样做,以便其他开发者理解这一变更的原因。
  • 考虑将if(BUILD_TESTS AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch")条件分解为更小的、易于理解的条件,以提高代码的可读性。

@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, mhduiy

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 21, 2024

TAG Bot

New tag: 5.6.34
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #239

@mhduiy mhduiy merged commit 994e2b1 into linuxdeepin:master Aug 21, 2024
32 of 34 checks passed
mhduiy pushed a commit to linuxdeepin/qt6integration that referenced this pull request Aug 21, 2024
Synchronize source files from linuxdeepin/qt5integration.

Source-pull-request: linuxdeepin/qt5integration#226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants