Commit 413823d
committed
feat: add reproducible build parameters
1. Added CMAKE_SKIP_BUILD_RPATH=ON flag to enable reproducible builds
2. This flag prevents embedding build machine specific paths in binaries
3. Modified dh_auto_configure to include DEB_CMAKE_EXTRA_FLAGS
4. Ensures consistent binary output across different build environments
Influence:
1. Test building the package on different machines to verify
reproducibility
2. Compare binary checksums from different build environments
3. Verify that RPATH is not embedded in the compiled binaries
4. Test package installation and functionality after the change
5. Ensure build process completes successfully with the new flag
feat: 添加可重复编译参数
1. 添加 CMAKE_SKIP_BUILD_RPATH=ON 标志以启用可重复构建
2. 该标志防止在二进制文件中嵌入特定于构建机器的路径
3. 修改 dh_auto_configure 以包含 DEB_CMAKE_EXTRA_FLAGS
4. 确保在不同构建环境中获得一致的二进制输出
Influence:
1. 在不同机器上测试软件包构建以验证可重复性
2. 比较来自不同构建环境的二进制校验和
3. 验证编译后的二进制文件中未嵌入 RPATH
4. 测试更改后的软件包安装和功能
5. 确保构建过程使用新标志后能成功完成1 parent e6fcc84 commit 413823d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
0 commit comments