summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-12-01 09:46:53 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-25 20:05:31 -0400
commit54affbfa2d3bb550d0a991518d6e7f9a4e51e91f (patch)
tree7ea4878a79d515d3c2013f6aa310e56991d73233
parent28402eed1bd0ec27d1dd5b663304a741de0ce2c3 (diff)
downloadhaskell-54affbfa2d3bb550d0a991518d6e7f9a4e51e91f.tar.gz
hadrian: Fix whitespace
Previously this region of Settings.Packages was incorrectly indented.
-rw-r--r--hadrian/src/Settings/Packages.hs65
1 files 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