chore(profiling): switch to prof-auto-top to hopefully fix build
Also build only once, again
This commit is contained in:
parent
cb1e715e9b
commit
07bde5b012
@ -155,8 +155,7 @@ yesod:build:profile:
|
|||||||
|
|
||||||
stage: yesod:build
|
stage: yesod:build
|
||||||
script:
|
script:
|
||||||
- stack build --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
||||||
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip --ghc-options="-osuf p_o"
|
|
||||||
needs:
|
needs:
|
||||||
- frontend:build
|
- frontend:build
|
||||||
before_script: *haskell
|
before_script: *haskell
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{-# LANGUAGE UndecidableInstances #-}
|
{-# LANGUAGE UndecidableInstances #-}
|
||||||
{-# OPTIONS_GHC -fno-warn-redundant-constraints -fprof-auto #-}
|
{-# OPTIONS_GHC -fno-warn-redundant-constraints -fprof-auto-top #-}
|
||||||
|
|
||||||
module Foundation.Authorization
|
module Foundation.Authorization
|
||||||
( evalAccess, evalAccessFor, evalAccessWith
|
( evalAccess, evalAccessFor, evalAccessWith
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{-# LANGUAGE UndecidableInstances #-} -- for `MemcachedKeyFavourites`
|
{-# LANGUAGE UndecidableInstances #-} -- for `MemcachedKeyFavourites`
|
||||||
{-# OPTIONS_GHC -fprof-auto #-}
|
{-# OPTIONS_GHC -fprof-auto-top #-}
|
||||||
|
|
||||||
module Foundation.SiteLayout
|
module Foundation.SiteLayout
|
||||||
( siteLayout', siteLayout
|
( siteLayout', siteLayout
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{-# OPTIONS_GHC -O0 -fasm -fprof-auto #-}
|
{-# OPTIONS_GHC -O0 -fasm -fprof-auto-top #-}
|
||||||
|
|
||||||
module Foundation.Yesod.Middleware
|
module Foundation.Yesod.Middleware
|
||||||
( yesodMiddleware
|
( yesodMiddleware
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{-# OPTIONS_GHC -fprof-auto #-}
|
{-# OPTIONS_GHC -fprof-auto-top #-}
|
||||||
|
|
||||||
module Jobs
|
module Jobs
|
||||||
( module Types
|
( module Types
|
||||||
|
|||||||
Reference in New Issue
Block a user