Commit c37db5d
committed
feat: add reproducible build parameters
Added CMAKE_SKIP_BUILD_RPATH flag to enable reproducible builds
This change ensures consistent binary output across different build
environments
by preventing the inclusion of build-specific paths in the compiled
binaries
The flag is added to DEB_CMAKE_EXTRA_FLAGS which is then passed to the
configure command
Influence:
1. Verify that builds produce identical binaries when built in different
environments
2. Test that the application still functions correctly with the new
build flag
3. Check that RPATH is not embedded in the resulting binaries
4. Validate that the build process completes successfully with the new
parameter
feat: 添加可重复编译参数
添加 CMAKE_SKIP_BUILD_RPATH 标志以启用可重复构建
此更改通过防止在编译的二进制文件中包含特定于构建的路径
确保在不同构建环境中产生一致的二进制输出
该标志被添加到 DEB_CMAKE_EXTRA_FLAGS 中,然后传递给配置命令
Influence:
1. 验证在不同环境中构建时是否产生相同的二进制文件
2. 测试应用程序在使用新构建标志后是否仍能正常运行
3. 检查生成的二进制文件中是否未嵌入 RPATH
4. 验证构建过程在使用新参数后是否成功完成1 parent 4fb8325 commit c37db5d
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 | + | |
0 commit comments