按推荐建议,继续执行
结论:为 vendored LinuxCNC 的 inifile.cc 增加直接源码编译探针,使 source-manifest 中所有 .c/.cc 文件都有 standalone native 源码级编译检查。
This commit is contained in:
@@ -479,6 +479,10 @@ Current verified progress:
|
||||
compiled as C with `gcc` so its LinuxCNC C linkage is preserved. The
|
||||
standalone `rtapi.h` shim was made C/C++ compatible for this C-source
|
||||
boundary without changing vendored LinuxCNC files.
|
||||
- `inifile.cc` now has its own direct source compile probe in addition to the
|
||||
existing INI parser harness. With this probe, every `.c` and `.cc` file
|
||||
listed in `tools/source-manifest.txt` has a native source-level compile
|
||||
check under the standalone build boundary.
|
||||
|
||||
## Phase 4: Port INI Parsing Without Editing Upstream
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ check_exitcode() {
|
||||
}
|
||||
|
||||
check_exitcode linuxcnc_interp_state_probe
|
||||
check_exitcode linuxcnc_inifile_source_probe
|
||||
check_exitcode linuxcnc_tp_api_probe
|
||||
check_exitcode linuxcnc_tp_api_probe.run
|
||||
for name in \
|
||||
|
||||
@@ -486,6 +486,12 @@ build_binary_target \
|
||||
NO_LINK_FLAGS \
|
||||
-lfmt
|
||||
|
||||
build_object_target \
|
||||
linuxcnc_inifile_source_probe \
|
||||
"$BUILD_DIR/linuxcnc_inifile_source_probe.o" \
|
||||
"$VENDOR_DIR/src/emc/ini/inifile.cc" \
|
||||
COMMON_INI_FLAGS
|
||||
|
||||
build_binary_target \
|
||||
linuxcnc_interp_state_probe \
|
||||
"$BUILD_DIR/linuxcnc_interp_state_probe" \
|
||||
|
||||
Reference in New Issue
Block a user