feat: add reproducible build parameters#168
Merged
18202781743 merged 1 commit intolinuxdeepin:masterfrom Nov 14, 2025
Merged
Conversation
1. Added CMAKE_SKIP_BUILD_RPATH=ON flag to DEB_CMAKE_EXTRA_FLAGS 2. Modified dh_auto_configure to include DEB_CMAKE_EXTRA_FLAGS in CMake configuration 3. This ensures reproducible builds by skipping RPATH embedding during compilation 4. Improves package consistency across different build environments Influence: 1. Verify that builds are reproducible across different systems 2. Test package installation and runtime functionality 3. Check that library paths are resolved correctly without embedded RPATH 4. Validate that the build process completes successfully with new flags feat: 添加可重复编译参数 1. 向 DEB_CMAKE_EXTRA_FLAGS 添加 CMAKE_SKIP_BUILD_RPATH=ON 标志 2. 修改 dh_auto_configure 以在 CMake 配置中包含 DEB_CMAKE_EXTRA_FLAGS 3. 通过在编译期间跳过 RPATH 嵌入来确保可重复构建 4. 提高不同构建环境中包的一致性 Influence: 1. 验证在不同系统上的构建是否可重复 2. 测试包安装和运行时功能 3. 检查在没有嵌入 RPATH 的情况下库路径是否正确解析 4. 验证构建过程是否使用新标志成功完成
Contributor
|
Warning
|
Contributor
deepin pr auto review我来对这个diff进行审查:
改进建议:
总的来说,这是一个好的改动,提高了构建的可重现性和安全性,代码组织也更加合理。 |
BLumia
approved these changes
Nov 14, 2025
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, BLumia 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Influence:
feat: 添加可重复编译参数
Influence: