[GHC] #13686: Compile a few modules for profiling unconditionally

#13686: Compile a few modules for profiling unconditionally -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: 8.4.1 Component: Build System | Version: 8.2.1-rc2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When GHC is built without enabling profiling of the libraries, it is utterly impossible to compile anything ''with'' profiling. I would like to compile just enough libraries with profiling, unconditionally, to be able to compile any module with profiling as long as it satisfies approximately three conditions: 1. It uses `NoImplicitPrelude`. 2. It does not import any modules from a boot package. 3. It does not use `TemplateHaskell` (I'm not sure if this is necessary, but I wouldn't be surprised if it were). To make this work, I think we would need to compile at least `GHC.Types` and the `Data.Typeable.Internal` for profiling in all cases. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13686 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13686: Compile a few modules for profiling unconditionally -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Build System | Version: 8.2.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by dfeuer: @@ -14,0 +14,4 @@ + + The point of this is that it would be convenient to be able to work on + small profiling issues without having to build a tree specifically for the + job: a `devel2` or `quick` build would be sufficient. New description: When GHC is built without enabling profiling of the libraries, it is utterly impossible to compile anything ''with'' profiling. I would like to compile just enough libraries with profiling, unconditionally, to be able to compile any module with profiling as long as it satisfies approximately three conditions: 1. It uses `NoImplicitPrelude`. 2. It does not import any modules from a boot package. 3. It does not use `TemplateHaskell` (I'm not sure if this is necessary, but I wouldn't be surprised if it were). To make this work, I think we would need to compile at least `GHC.Types` and the `Data.Typeable.Internal` for profiling in all cases. The point of this is that it would be convenient to be able to work on small profiling issues without having to build a tree specifically for the job: a `devel2` or `quick` build would be sufficient. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13686#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13686: Compile a few modules for profiling unconditionally -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Build System | Version: 8.2.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by dfeuer: @@ -13,1 +13,1 @@ - and the `Data.Typeable.Internal` for profiling in all cases. + and `Data.Typeable.Internal` for profiling in all cases. New description: When GHC is built without enabling profiling of the libraries, it is utterly impossible to compile anything ''with'' profiling. I would like to compile just enough libraries with profiling, unconditionally, to be able to compile any module with profiling as long as it satisfies approximately three conditions: 1. It uses `NoImplicitPrelude`. 2. It does not import any modules from a boot package. 3. It does not use `TemplateHaskell` (I'm not sure if this is necessary, but I wouldn't be surprised if it were). To make this work, I think we would need to compile at least `GHC.Types` and `Data.Typeable.Internal` for profiling in all cases. The point of this is that it would be convenient to be able to work on small profiling issues without having to build a tree specifically for the job: a `devel2` or `quick` build would be sufficient. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13686#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13686: Compile a few modules for profiling unconditionally -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Build System | Version: 8.2.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): In my opinion we should wait for Hadrian to implement this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13686#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC