Repository navigation
Add design doc for using git subtree to manage external libraries - #27593
Conversation
2014a37 to
6888a75
Compare
6888a75 to
ff1598e
Compare
Covers external libraries in `system/lib/` as candidates for `git subtree`, recommending `mimalloc` as the initial pilot and primary example, followed by `musl` and LLVM runtime libraries. This was done successfully in wasi-libc: WebAssembly/wasi-libc#797 See: emscripten-core#27515
ff1598e to
ef126a5
Compare
| | **`llvm-libc`** | `system/lib/llvm-libc` | [llvm/llvm-project](https://github.com/llvm/llvm-project) | Fork + `update_llvm_libc.py` | **Medium Priority**. Same monorepo considerations as `compiler-rt`. | | ||
| | **`openmp`** | `system/lib/openmp` | [llvm/llvm-project](https://github.com/llvm/llvm-project) | Fork + `update_openmp.py` | **Medium Priority**. Same monorepo considerations as `compiler-rt`. | | ||
| | **`dlmalloc`** | `system/lib/dlmalloc.c` | Doug Lea (v2.8.6) | Vendored single file | **Low Priority / Skip**. Upstream is inactive; heavily customized for Emscripten. | | ||
| | **`stb_image`** | `system/lib/stb_image.c` | [nothings/stb](https://github.com/nothings/stb) | Vendored single file | **Low Priority**. Low update frequency; single file. | |
There was a problem hiding this comment.
Yes, although we don't current have any of those in-tree, to update.
We could potentially bring them in-tree I guess?
|
Nice! One thing to watch out for is squash-merging these PRs when they set up the
|
Covers external libraries in
system/lib/as candidates forgit subtree, recommendingmimallocas the initial pilot andprimary example, followed by
musland LLVM runtime libraries.This was done successfully in wasi-libc:
WebAssembly/wasi-libc#797
See: #27515