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

Add "lib" as an available comptype #3652

Closed
wants to merge 1 commit into from

Conversation

tfausak
Copy link
Contributor

@tfausak tfausak commented Dec 14, 2017

No description provided.

@tfausak
Copy link
Contributor Author

tfausak commented Dec 14, 2017

Wait... I'm not sure this does what I think it does. My goal is to build only the library -- not any executables. Is this the right way to do that?

@mgsloan
Copy link
Contributor

mgsloan commented Dec 14, 2017

@tfausak Unfortunately, it doesn't quite work - see #3653

Makes sense to document pkg:lib here, but note that there is no pkg:lib:something-else

@tfausak
Copy link
Contributor Author

tfausak commented Dec 14, 2017

Ah, gotcha.

Will pkg:lib:blah work with Cabal 2's multiple libraries per package idea?

@mgsloan
Copy link
Contributor

mgsloan commented Dec 14, 2017

Perhaps so! I don't think that's plumbed through stack quite yet

EDIT: nvm, it exists - #3361 - but no ability to specifically build just one internal library I think.

@decentral1se
Copy link
Member

I think this all boils down to haskell/cabal#2780!? Nice maze there ... not sure I made it out the right way. If that is the blocking issue, should we close here and move over to a ticket to track when this will be possible?

@mgsloan
Copy link
Contributor

mgsloan commented Feb 10, 2018

Tracked by #3486 . It sounds like some form of per component build is possible with Cabal 2.0, but how to do that and how it will affect efficiency is unclear.

@mgsloan mgsloan closed this Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants