高效率推进 LinuxCNC 源码对齐流程
说明:集中 LinuxCNC 源码清单与 wasm/native probe 的路径解析,补强 manifest、shim、source-link 检查,并保持 LinuxCNC 源码后端对齐验证流程可复用。 验证:./test-native.sh;./test-linuxcnc-source-link.sh;./test-all-native.sh;wasm source/probe 相关脚本。
This commit is contained in:
@@ -11,11 +11,8 @@ if [[ ! -d "$linuxcnc_root" ]]; then
|
||||
echo "missing LinuxCNC root: $linuxcnc_root" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [[ ! -f "$linuxcnc_root/src/emc/rs274ngc/rs274ngc_pre.cc" ]]; then
|
||||
echo "missing LinuxCNC source: src/emc/rs274ngc/rs274ngc_pre.cc" >&2
|
||||
exit 1
|
||||
fi
|
||||
trap 'rm -rf "$build_dir"' EXIT
|
||||
rs274ngc_pre_source=$(LINUXCNC_ROOT="$linuxcnc_root" ./list-linuxcnc-source-files.sh src/emc/rs274ngc/rs274ngc_pre.cc)
|
||||
|
||||
common_flags=(
|
||||
-std=c++17
|
||||
@@ -30,7 +27,7 @@ common_flags=(
|
||||
)
|
||||
|
||||
"$cxx" "${common_flags[@]}" \
|
||||
-c "$linuxcnc_root/src/emc/rs274ngc/rs274ngc_pre.cc" \
|
||||
-c "$rs274ngc_pre_source" \
|
||||
-o "$build_dir/rs274ngc_pre.o"
|
||||
|
||||
echo "linuxcnc wasm rs274ngc_pre object probe passed"
|
||||
|
||||
Reference in New Issue
Block a user