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

Move library modules to src/ #20

Merged
merged 2 commits into from
Mar 1, 2017
Merged

Move library modules to src/ #20

merged 2 commits into from
Mar 1, 2017

Conversation

maoe
Copy link
Member

@maoe maoe commented Feb 25, 2017

The motivation behind this change is to

  • avoid unnecessary recompilation for lib, exe, and tests
  • fix the warning stack prints like below
Warning: The following modules should be added to exposed-modules
or other-modules in /Users/maoe/src/github.com/haskell/ghc-events/ghc-events.cabal:
    - In ghc-events component:
        GHC.RTS.EventParserUtils
        GHC.RTS.EventTypes
        GHC.RTS.Events
        GHC.RTS.Events.Analysis
        GHC.RTS.Events.Analysis.Capability
        GHC.RTS.Events.Analysis.SparkThread
        GHC.RTS.Events.Analysis.Thread
        GHC.RTS.Events.Merge
        GHC.RTS.EventsIncremental- In test-versions component:
        GHC.RTS.EventParserUtils
        GHC.RTS.EventTypes
        GHC.RTS.Events
        GHC.RTS.EventsIncremental
        Utils- In write-merge component:
        GHC.RTS.EventParserUtils
        GHC.RTS.EventTypes
        GHC.RTS.Events
        GHC.RTS.EventsIncremental
        Utils

Mitsutoshi Aoe added 2 commits February 26, 2017 07:03
The motivation behind this change is to
* avoid unnecessary recompilation for lib, exe, and tests
* fix the warning stack prints like below

Warning: The following modules should be added to exposed-modules
or other-modules in /Users/maoe/src/github.com/haskell/ghc-events/ghc-events.cabal:
    - In ghc-events component:
        GHC.RTS.EventParserUtils
        GHC.RTS.EventTypes
        GHC.RTS.Events
        GHC.RTS.Events.Analysis
        GHC.RTS.Events.Analysis.Capability
        GHC.RTS.Events.Analysis.SparkThread
        GHC.RTS.Events.Analysis.Thread
        GHC.RTS.Events.Merge
        GHC.RTS.EventsIncremental- In test-versions component:
        GHC.RTS.EventParserUtils
        GHC.RTS.EventTypes
        GHC.RTS.Events
        GHC.RTS.EventsIncremental
        Utils- In write-merge component:
        GHC.RTS.EventParserUtils
        GHC.RTS.EventTypes
        GHC.RTS.Events
        GHC.RTS.EventsIncremental
        Utils
@Mikolaj
Copy link
Member

Mikolaj commented Feb 26, 2017

Well spotted. LGTM.

@kvelicka
Copy link
Contributor

kvelicka commented Mar 1, 2017

Good job!

@maoe
Copy link
Member Author

maoe commented Mar 1, 2017

I believe this is not controversial and I've confirmed threadscope builds fine with this. I'm going to merge this now.

@maoe maoe merged commit 5099edf into haskell:master Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants