Skip to content

Added duckdb recipe#5082

Closed
MRYingLEE wants to merge 6 commits intoemscripten-forge:mainfrom
MRYingLEE:main
Closed

Added duckdb recipe#5082
MRYingLEE wants to merge 6 commits intoemscripten-forge:mainfrom
MRYingLEE:main

Conversation

@MRYingLEE
Copy link
Copy Markdown

@MRYingLEE MRYingLEE commented Mar 11, 2026

This pull request adds a new recipe for building the DuckDB Python bindings for the emscripten-wasm32 platform. The main changes include introducing a build script and patching logic to enable proper WASM side module support, as well as providing a recipe file with metadata and dependency specifications.

Emscripten cross-compilation support for DuckDB Python bindings:

  • Added build.sh script to configure and build DuckDB for emscripten-wasm32, including setting CMake flags for static extension bundling, disabling features not supported in WASM, and ensuring correct linker flags for WASM side module output.
  • Introduced patch_cmake.py to patch CMakeLists.txt, enabling shared/module library support, adding the SIDE_MODULE=1 linker flag, and guarding out unsupported GNU ld flags for WASM builds.

Recipe and metadata additions:

  • Created recipe.yaml specifying package metadata, source URLs and checksums, build and runtime dependencies, test checks, and maintainers for the new emscripten-wasm32 DuckDB Python package.

Copilot AI review requested due to automatic review settings March 11, 2026 13:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@IsabelParedes
Copy link
Copy Markdown
Member

Hi @MRYingLEE !
Thank you for your PR, just a heads up, there was already another PR open for this recipe.

@IsabelParedes IsabelParedes added the duplicate This issue or pull request already exists label Mar 12, 2026
@IsabelParedes
Copy link
Copy Markdown
Member

IsabelParedes commented Apr 9, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants