| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
upatch-build: fix build failure on rust 1.89 Signed-off-by: renoseven <dev@renoseven.net> | 11 个月前 | |
upatch-build: optimize compiler error display and add execution of clean-cmd Problem: 1. When compiler executable is not found, the error message is not clear enough to help users identify the issue quickly. 2. The clean command specified by --clean-cmd argument is not executed after patch building, which may leave intermediate build artifacts. Solution: 1. Add context information to compiler lookup failure with friendly error message showing the compiler executable path that cannot be found. 2. Execute clean command after patch building process completes to ensure proper cleanup of build artifacts. Changes: - args.rs: Import Context trait and add with_context() to compiler lookup to provide detailed error message like 'Cannot find compiler executable {path}' - main.rs: Add clean command execution after restoring line macros and before final cleanup to ensure build artifacts are properly cleaned This improves user experience by providing clearer error messages and ensures consistent build environment cleanup. Signed-off-by: eshiner <zengfuliangjx@sina.cn> | 5 个月前 | |
upatch-build: adapt upatch-helper changes Arguments: 1. add '--clean-cmd' 2. remove '--work-dir' 3. rename '--elf-dir' to '--binary-dir' 4. rename '--elf' to '--binary' 5. add glob support for '--object-dir' 6. no longer check existence of '--object-dir' & '--binary-dir' BuildRoot: 1. add 'upatch-build.$pid' prefix to build root 2. create 'bin' & 'script' directory in build root Compilers: 1. detect compiler type [C / CXX] 2. add symlinks of compilers in build root 3. add build root to environment variable 'PATH' 4. add environment variable 'UPATCH_CC' & 'UPATCH_CXX' 5. override environment variable 'CC' & 'CXX' Dwarf: 1. rewrite dwarf parsing logic FileRelation: 1. rewrite elf type parsing logic 2. rewrite file relation parsing logic Signed-off-by: renoseven <dev@renoseven.net> | 1 年前 | |
upatch-build: rewrite compiler detection Dwarf: 1. remove dwarf::{Dwarf, Relocation} 2. add dwarf::{Producer, ProducerType, ProducerParser, ProducerIterator} 3. rewrite pruducer name parsing logic 4. rewrite producer vesrion parsing logic 5. support llvm assembler & clang compiler Compiler: 1. rename compiler::CompilerInfo -> compiler::Compiler 2. detection only compiles one test object 3. support cross compiler 4. support llvm linker Builder: 1. rewrite compiler detection logic 2. rewrite compiler version check logic 3. rewrite patch linking logic Signed-off-by: renoseven <dev@renoseven.net> | 1 年前 | |
upatch-build: fix build failure on rust 1.89 Signed-off-by: renoseven <dev@renoseven.net> | 11 个月前 | |
upatch-build: fix build failure on rust 1.89 Signed-off-by: renoseven <dev@renoseven.net> | 11 个月前 | |
upatch-build: optimize compiler error display and add execution of clean-cmd Problem: 1. When compiler executable is not found, the error message is not clear enough to help users identify the issue quickly. 2. The clean command specified by --clean-cmd argument is not executed after patch building, which may leave intermediate build artifacts. Solution: 1. Add context information to compiler lookup failure with friendly error message showing the compiler executable path that cannot be found. 2. Execute clean command after patch building process completes to ensure proper cleanup of build artifacts. Changes: - args.rs: Import Context trait and add with_context() to compiler lookup to provide detailed error message like 'Cannot find compiler executable {path}' - main.rs: Add clean command execution after restoring line macros and before final cleanup to ensure build artifacts are properly cleaned This improves user experience by providing clearer error messages and ensures consistent build environment cleanup. Signed-off-by: eshiner <zengfuliangjx@sina.cn> | 5 个月前 | |
upatch-build: fix apply patch to source error Fix issue where user patch built from source code with --override-line-macros Signed-off-by: eshiner <zengfuliangjx@sina.cn> | 5 个月前 | |
all: clean code Signed-off-by: renoseven <dev@renoseven.net> | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 2 年前 |