From 54affbfa2d3bb550d0a991518d6e7f9a4e51e91f Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 1 Dec 2021 09:46:53 -0500 Subject: hadrian: Fix whitespace Previously this region of Settings.Packages was incorrectly indented. --- hadrian/src/Settings/Packages.hs | 65 ++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index aa61147ccd..0eb887e662 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -351,39 +351,38 @@ rtsPackageArgs = package rts ? do -- We're after pur performance here. So make sure fast math and -- vectorization is enabled. - , input "**/Hash.c" ? pure - [ "-O3" ] - - , inputs ["**/Evac.c", "**/Evac_thr.c"] ? arg "-funroll-loops" - - , speedHack ? - inputs [ "**/Evac.c", "**/Evac_thr.c" - , "**/Scav.c", "**/Scav_thr.c" - , "**/Compact.c", "**/GC.c" ] ? arg "-fno-PIC" - -- @-static@ is necessary for these bits, as otherwise the NCG - -- generates dynamic references. - , speedHack ? - inputs [ "**/Updates.c", "**/StgMiscClosures.c" - , "**/PrimOps.c", "**/Apply.c" - , "**/AutoApply.c" ] ? pure ["-fno-PIC", "-static"] - - -- inlining warnings happen in Compact - , inputs ["**/Compact.c"] ? arg "-Wno-inline" - - -- emits warnings about call-clobbered registers on x86_64 - , inputs [ "**/StgCRun.c" - , "**/win32/ConsoleHandler.c", "**/win32/ThrIOManager.c"] ? arg "-w" - -- The above warning suppression flags are a temporary kludge. - -- While working on this module you are encouraged to remove it and fix - -- any warnings in the module. See: - -- https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions#Warnings - - , (not <$> flag CcLlvmBackend) ? - inputs ["**/Compact.c"] ? arg "-finline-limit=2500" - - , input "**/RetainerProfile.c" ? flag CcLlvmBackend ? - arg "-Wno-incompatible-pointer-types" - ] + , input "**/Hash.c" ? pure [ "-O3" ] + + , inputs ["**/Evac.c", "**/Evac_thr.c"] ? arg "-funroll-loops" + + , speedHack ? + inputs [ "**/Evac.c", "**/Evac_thr.c" + , "**/Scav.c", "**/Scav_thr.c" + , "**/Compact.c", "**/GC.c" ] ? arg "-fno-PIC" + -- @-static@ is necessary for these bits, as otherwise the NCG + -- generates dynamic references. + , speedHack ? + inputs [ "**/Updates.c", "**/StgMiscClosures.c" + , "**/PrimOps.c", "**/Apply.c" + , "**/AutoApply.c" ] ? pure ["-fno-PIC", "-static"] + + -- inlining warnings happen in Compact + , inputs ["**/Compact.c"] ? arg "-Wno-inline" + + -- emits warnings about call-clobbered registers on x86_64 + , inputs [ "**/StgCRun.c" + , "**/win32/ConsoleHandler.c", "**/win32/ThrIOManager.c"] ? arg "-w" + -- The above warning suppression flags are a temporary kludge. + -- While working on this module you are encouraged to remove it and fix + -- any warnings in the module. See: + -- https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions#Warnings + + , (not <$> flag CcLlvmBackend) ? + inputs ["**/Compact.c"] ? arg "-finline-limit=2500" + + , input "**/RetainerProfile.c" ? flag CcLlvmBackend ? + arg "-Wno-incompatible-pointer-types" + ] mconcat [ builder (Cabal Flags) ? mconcat -- cgit v1.2.1