File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,10 @@ let self =
6363 else "perf-cross-ncg"
6464 )
6565
66+ , # Extra flavour transformers to pass to Hadrian. For example, +debug_ghc or
67+ # +assertions to work on debugging the compiler.
68+ extraFlavourTransformers ? [ ]
69+
6670, # Whether to disable the large address space allocator
6771 # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
6872 disableLargeAddressSpace ? stdenv . targetPlatform . isDarwin && stdenv . targetPlatform . isAarch64 || stdenv . targetPlatform . isAndroid
388392 + lib . optionalString ( ( enableNativeBignum && hadrianHasNativeBignumFlavour ) || targetPlatform . isGhcjs || targetPlatform . isWasm ) "+native_bignum"
389393 + lib . optionalString ( targetPlatform . isGhcjs || targetPlatform . isWasm ) "+no_profiled_libs"
390394 + lib . optionalString enableIPE "+ipe"
395+ + lib . concatStrings extraFlavourTransformers
391396 } --docs=no-sphinx -j --verbose"
392397 # This is needed to prevent $GCC from emitting out of line atomics.
393398 # Those would then result in __aarch64_ldadd1_sync and others being referenced, which
You can’t perform that action at this time.
0 commit comments