Should Cabal build foreign source files in parallel as well?
Open
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Currently, Cabal does not build foreign source files (C++/C/ASM/CMM) in a parallel manner when building with `-j`. This can be a problem when we try to build a Haskell package which bundles a non-trivial C/C++ project. Would Cabal folks review a PR which adds parallel building for foreign sources, or is the extra complexity not worth the benefits?
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating Cabal's build scheduling logic for foreign C, C++, ASM, and CMM sources, then determine the dependency and ordering requirements; done means a reviewed design and tests demonstrating safe parallel foreign-source builds under -j.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, haskell
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100