mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
7066b52777
So you can do: ``` $ HASURA_GRAPHQL_EE_LICENSE_KEY=... scripts/dev.sh graphql-engine-pro ``` along with the `--prof-*` modes etc. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8894 GitOrigin-RevId: 2257749b2936cbd3230beb23e774ac92989e2fbc
24 lines
937 B
Plaintext
24 lines
937 B
Plaintext
-- This configuration is used by `dev.sh graphql-engine --prof-heap-infomap`
|
|
-- and `--prof-ghc-debug`.
|
|
--
|
|
-- TODO COMING UP: We would like to turn on these flags always. But for now the
|
|
-- resulting binary size increase is too large. This will improve in GHC 9.4, but
|
|
-- also we may need to wait until further work on compressing IPE info lands.
|
|
-- (Likewise we might want to always link with -eventlog)
|
|
|
|
import: cabal/dev-sh-optimized.project.local
|
|
|
|
-- apply these to all LOCAL packages
|
|
-- TODO would be nice to refactor other dev-sh.project.local to use program-options' as well (and force cabal 3.8)
|
|
program-options
|
|
ghc-options: -fdistinct-constructor-tables -finfo-table-map
|
|
-- For each module, STG will be dumped to:
|
|
-- dist-newstyle/**/*.dump-stg-final
|
|
ghc-options: -ddump-stg-final -ddump-to-file
|
|
|
|
package graphql-engine
|
|
ghc-options: -eventlog
|
|
|
|
package graphql-engine-pro
|
|
ghc-options: -eventlog
|