Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
phadej opened this issue Jan 5, 2025 · 0 comments
Open

Comments

@phadej
Copy link
Collaborator

phadej commented Jan 5, 2025

% 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.

@phadej phadej changed the title When building a dependency, it's internal libraries are built When building a dependency, its (unusedd) internal libraries are also built Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant