Files
wasm-simulator/list-linuxcnc-wasm-safe-shims.sh

17 lines
584 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
# LinuxCNC source basis: wasm-safe shim probe sources are limited to the
# linuxcnc_wasm_safe_probe_shims CMake set, whose files each carry nearby
# source-basis comments for the LinuxCNC Python, dlopen, HAL, tooldata, NML,
# RTAPI, and Boost.Python edges they replace for browser builds.
filter=${1:-}
./list-cmake-set-sources.sh linuxcnc_wasm_safe_probe_shims | ./list-filtered-existing-paths.sh \
--project-relative \
"$filter" \
"missing wasm-safe shim source" \
"missing wasm-safe shim in CMake list"