haskell / haskell/cabal

When building a dependency, its (unusedd) internal libraries are also built

Open
#10,711 0 comments 0 reactions 0 assignees View on GitHub
needs triage type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

```
% time cabal build vector
Configuration is affected by the following files:
- cabal.project
- cabal.project.local
Build profile: -w ghc-9.12.1 -O1
In order, the following will be built (use -v for more details):
- vector-0.13.2.0 (lib) (requires build)
- vector-0.13.2.0 (lib:benchmarks-O2) (requires build)
```

The `lib:benchmarks-O2` is used only by benchmarks, but it's still built. The `vector:lib:vector` target is not recognised.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.