参考所有分组,完成尽量多的内容:结论为 build-wasm 显式关闭 smoke 后端

This commit is contained in:
cnc
2026-06-03 22:24:57 +08:00
parent 3d368b2564
commit f8902b3f8d
4 changed files with 9 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ wasm_build_next_signature=$(mktemp "${TMPDIR:-/tmp}/cnc_sim_wasm_build.signature
printf 'COMPILER_LAUNCHER=%s\n' "$cmake_compiler_launcher_mode"
printf 'CMAKE_LISTS='
sha256sum core/CMakeLists.txt
printf 'CONFIGURE_RULE_VERSION=1\n'
printf 'CONFIGURE_RULE_VERSION=2\n'
} > "$wasm_build_next_signature"
configure_wasm=1
if [[ ! -f "$wasm_build_signature" ]] || ! cmp -s "$wasm_build_signature" "$wasm_build_next_signature"; then
@@ -184,6 +184,7 @@ emcmake cmake -S core -B build/wasm \
-DCNC_SIM_LINUXCNC_ROOT="$linuxcnc_root" \
-DCNC_SIM_LINUXCNC_WASM_SOURCE_MANIFEST="$manifest" \
-DCNC_SIM_ENABLE_LINUXCNC_WASM_SAFE_PROBE=ON \
-DCNC_SIM_ENABLE_SMOKE_BACKEND=OFF \
"${cmake_compiler_launcher_args[@]}"
fi
mv "$wasm_build_next_signature" "$wasm_build_signature"