高效率推进 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:
@@ -13,6 +13,8 @@ if [[ ! -d "$linuxcnc_root" ]]; then
|
||||
fi
|
||||
trap 'rm -rf "$build_dir"' EXIT
|
||||
|
||||
python_plugin_shim=$(./list-linuxcnc-wasm-safe-shims.sh python_plugin.cc)
|
||||
|
||||
common_flags=(
|
||||
-std=c++17
|
||||
-DULAPI
|
||||
@@ -26,7 +28,7 @@ common_flags=(
|
||||
)
|
||||
|
||||
"$cxx" "${common_flags[@]}" \
|
||||
core/wasm_shims/pythonplugin/python_plugin.cc \
|
||||
"$python_plugin_shim" \
|
||||
core/wasm_shims/pythonplugin/python_plugin_probe_main.cc \
|
||||
-o "$build_dir/python_plugin_probe"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user