-
Notifications
You must be signed in to change notification settings - Fork 725
Open
Labels
cabal-install: cmd/buildre: ghc-optionsConcerning passing options to GHCConcerning passing options to GHCre: project-fileConcerning cabal.project filesConcerning cabal.project filestype: discussion
Description
Describe the bug
It seems the flag only affects "local" packages. For "global" packages the flag is either ignored when checking if we need to rebuild or completely.
To Reproduce
Steps to reproduce the behavior:
cabal unpack hasktags
cd hasktags
# Build with library-profiling set to auto
cabal build --enable-profiling --enable-executable-profiling --enable-library-profiling --library-profiling-detail=auto
... # Builds libs +executable
# Change library profiling detail
cabal build --enable-profiling --enable-executable-profiling --enable-library-profiling --library-profiling-detail=none
<Only hasktags but not the dependencies are rebuild>
Expected behavior
I would have expected this to work similar to ghc-options where it causes packages to be rebuilt with the appropriate profiling flags set.
System information
- Operating system
cabal,ghcversions
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cabal-install: cmd/buildre: ghc-optionsConcerning passing options to GHCConcerning passing options to GHCre: project-fileConcerning cabal.project filesConcerning cabal.project filestype: discussion