Build infrastructure: - Update build-pcbnew.sh with stub library compilation - Update build-wxuniversal-wasm.sh with library symlinks and stubs - Add stub libraries for libgit2 and curl (network ops via JS) - Add WASM-specific CMake Find modules Documentation: - Add KICAD_WASM_BUILD.md with complete modification list - Document 68 KiCad files modified for WASM support - Document disabled features and reasons - Document stub libraries and wxWidgets changes Submodule updates: - kicad: Add WASM/Emscripten build support (wasm-port branch) - wxwidgets: Add KiCad compatibility fixes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
616 B
Docker
29 lines
616 B
Docker
# Use ARM64-native image for Apple Silicon (M1/M2/M3/M4)
|
|
FROM emscripten/emsdk:4.0.2-arm64
|
|
|
|
# Install build tools required for KiCad WASM build
|
|
RUN apt-get update && apt-get install -y \
|
|
cmake \
|
|
autoconf \
|
|
automake \
|
|
libtool \
|
|
meson \
|
|
ninja-build \
|
|
pkg-config \
|
|
curl \
|
|
git \
|
|
python3 \
|
|
python3-dev \
|
|
protobuf-compiler \
|
|
swig \
|
|
unixodbc-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /workspace
|
|
|
|
# Entry point that sources Emscripten environment
|
|
COPY docker/entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
CMD ["bash"]
|