WebAssembly / WebAssembly/binaryen

Provide a pkg-config file?

Open
#5,201 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Could Binaryen produce a pkg-config file when it is built? I currently maintain a bespoke set of flags for various OS and build envs that need to be provided when including Binaryen in our Binaryen.ml bindings project and in the Grain executables, but OCaml has great support for loading all of those from pkg-config if the files exist. It'd be great if anyone writing bindings for Binaryen could just rely on the pkg-config metadata.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No specific files or tests are named. Start by locating Binaryen's build configuration and existing package metadata, then determine where a pkg-config file should be generated for consumers and bindings. Done means builds produce usable metadata containing the flags needed to include and link Binaryen.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.