Commit 31f18a1
committed
feat: add reproducible build flags
Added CMAKE_SKIP_BUILD_RPATH=ON flag to DEB_CMAKE_EXTRA_FLAGS for
reproducible builds
This change ensures that build paths are not embedded in binaries,
making builds more deterministic
The flag is passed to dh_auto_configure command to apply during CMake
configuration
This improves package reproducibility across different build
environments
Influence:
1. Verify that builds produce identical binaries when built in different
directories
2. Test that RPATH is not embedded in compiled binaries
3. Check that package functionality remains unchanged
4. Validate build process completes successfully with the new flag
feat: 添加可重复编译参数
在DEB_CMAKE_EXTRA_FLAGS中添加CMAKE_SKIP_BUILD_RPATH=ON标志以实现可重复
编译
此更改确保构建路径不会嵌入到二进制文件中,使构建更加确定性
该标志通过dh_auto_configure命令传递给CMake配置过程
这提高了在不同构建环境中软件包的可重复性
Influence:
1. 验证在不同目录中构建时是否产生相同的二进制文件
2. 测试编译后的二进制文件中是否未嵌入RPATH
3. 检查软件包功能是否保持不变
4. 验证构建过程在使用新标志后能否成功完成1 parent 62ed432 commit 31f18a1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
0 commit comments