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
|
||||
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 --ghc-options="-osuf p_o"
|
||||
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
||||
needs:
|
||||
- frontend:build
|
||||
before_script: *haskell
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# OPTIONS_GHC -fno-warn-redundant-constraints -fprof-auto #-}
|
||||
{-# OPTIONS_GHC -fno-warn-redundant-constraints -fprof-auto-top #-}
|
||||
|
||||
module Foundation.Authorization
|
||||
( evalAccess, evalAccessFor, evalAccessWith
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE UndecidableInstances #-} -- for `MemcachedKeyFavourites`
|
||||
{-# OPTIONS_GHC -fprof-auto #-}
|
||||
{-# OPTIONS_GHC -fprof-auto-top #-}
|
||||
|
||||
module Foundation.SiteLayout
|
||||
( siteLayout', siteLayout
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{-# OPTIONS_GHC -O0 -fasm -fprof-auto #-}
|
||||
{-# OPTIONS_GHC -O0 -fasm -fprof-auto-top #-}
|
||||
|
||||
module Foundation.Yesod.Middleware
|
||||
( yesodMiddleware
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{-# OPTIONS_GHC -fprof-auto #-}
|
||||
{-# OPTIONS_GHC -fprof-auto-top #-}
|
||||
|
||||
module Jobs
|
||||
( module Types
|
||||
|
||||
Loading…
Reference in New Issue
Block a user