diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-07-15 00:22:22 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-07-15 00:22:22 +0100 |
commit | 399487551085083f014e242302fc027012c2c8ef (patch) | |
tree | c6ed69ce787ecf8e86dc700ccfe3e228486447da | |
parent | a8fa4c8219fdf7d56269ed832741ef14ec5c0f10 (diff) | |
download | haskell-wip/hadrian-make.tar.gz |
don't build unoptwip/hadrian-make
-rw-r--r-- | compiler/GHC/Parser.y | 1 | ||||
-rw-r--r-- | hadrian/src/Settings/Packages.hs | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/compiler/GHC/Parser.y b/compiler/GHC/Parser.y index 280bbbfe43..940fb81fef 100644 --- a/compiler/GHC/Parser.y +++ b/compiler/GHC/Parser.y @@ -12,6 +12,7 @@ {-# LANGUAGE DataKinds #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE ScopedTypeVariables #-} +{-# OPTIONS_GHC -fno-ignore-interface-pragmas -fcmm-sink #-} -- | This module provides the generated Happy parser for Haskell. It exports -- a number of parsers which may be used in any library that uses the GHC API. diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index 042668cb9d..084e609f0a 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -54,17 +54,17 @@ packageArgs = do , builder (Ghc . CompileHs) ? mconcat [ debugAssertions ? notStage0 ? arg "-DDEBUG" - , inputs ["**/GHC.hs", "**/GHC/Driver/Make.hs"] ? arg "-fprof-auto" - , input "**/Parser.hs" ? - pure ["-fno-ignore-interface-pragmas", "-fcmm-sink"] + -- , inputs ["**/GHC.hs", "**/GHC/Driver/Make.hs"] ? arg "-fprof-auto" + -- , input "**/Parser.hs" ? + -- pure ["-fno-ignore-interface-pragmas", "-fcmm-sink"] -- Enable -haddock and -Winvalid-haddock for the compiler , arg "-haddock" - , notStage0 ? arg "-Winvalid-haddock" + , notStage0 ? arg "-Winvalid-haddock" ] -- These files take a very long time to compile with -O1, -- so we use -O0 for them just in Stage0 to speed up the -- build but not affect Stage1+ executables - , inputs ["**/GHC/Hs/Instances.hs", "**/GHC/Driver/Session.hs"] ? stage0 ? - pure ["-O0"] ] + -- , inputs ["**/GHC/Hs/Instances.hs", "**/GHC/Driver/Session.hs"] ? stage0 ? + -- pure ["-O0"] ] , builder (Cabal Setup) ? mconcat [ arg "--disable-library-for-ghci" |