haskell / haskell/cabal

Should Cabal build foreign source files in parallel as well?

Open
#7,127 9 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.