feat: add reproducible build parameters#76
Merged
18202781743 merged 1 commit intolinuxdeepin:masterfrom Nov 17, 2025
Merged
Conversation
1. Added CMAKE_SKIP_BUILD_RPATH=ON flag to DEB_CMAKE_EXTRA_FLAGS 2. This flag ensures the build process skips embedding RPATH information in binaries 3. Improves build reproducibility by removing host-specific paths from compiled artifacts 4. The flag is now automatically passed to all CMake configure commands Influence: 1. Test that packages build successfully with the new flag 2. Verify that binaries do not contain host-specific RPATH entries 3. Check that package functionality remains unchanged 4. Ensure cross-platform compatibility is maintained 5. Validate that build outputs are now more reproducible across different environments feat: 添加可重复编译参数 1. 向 DEB_CMAKE_EXTRA_FLAGS 添加 CMAKE_SKIP_BUILD_RPATH=ON 标志 2. 该标志确保构建过程跳过在二进制文件中嵌入 RPATH 信息 3. 通过从编译产物中移除主机特定路径来提高构建可重复性 4. 该标志现在会自动传递给所有 CMake 配置命令 Influence: 1. 测试使用新标志后包是否能成功构建 2. 验证二进制文件不包含主机特定的 RPATH 条目 3. 检查包功能是否保持不变 4. 确保跨平台兼容性得以维持 5. 验证构建输出在不同环境中现在更具可重复性
deepin pr auto review我来对这个git diff进行审查:
改进建议:
总体来说,这是一个合理的改动,主要目的是提高构建的可重现性,代码质量和安全性都得到了保持。 |
BLumia
approved these changes
Nov 17, 2025
|
[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.
in binaries
compiled artifacts
Influence:
different environments
feat: 添加可重复编译参数
Influence: