Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Commit

Permalink
Make the test rule depend on ghc-compact, to make this library's test…
Browse files Browse the repository at this point in the history
…s pass (#677)

This fixes all the failing ghc-compact tests (quite likely all of them, since they presumably all need the library), and also removes some leftover from the previous PR #676.
  • Loading branch information
alpmestan authored and snowleopard committed Sep 6, 2018
1 parent 1bbc4b3 commit f8d3f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/Settings/Default.hs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ testsuitePackages = do
return $ [ checkApiAnnotations
, checkPpr
, ghci
, ghcCompact
, ghcPkg
, hp2ps
, hsc2hs
Expand Down
9 changes: 1 addition & 8 deletions src/Settings/Packages.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,8 @@ packageArgs = do

-- This fixes the 'unknown symbol stat' issue.
-- See: https://github.com/snowleopard/hadrian/issues/259.
, builder (Ghc CompileCWithGhc) ? arg "-optc-O2"
, builder (Ghc CompileCWithGhc) ? arg "-optc-O2" ]

-- See https://ghc.haskell.org/trac/ghc/ticket/15286 and
-- https://phabricator.haskell.org/D4880
, builder (Ghc CompileHs) ? mconcat
[ input "//Natural.hs" ? pure ["-fno-omit-interface-pragmas"]
, input "//Num.hs" ? pure ["-fno-ignore-interface-pragmas"]
]
]
------------------------------ bytestring ------------------------------
, package bytestring ?
builder (Cabal Flags) ? intLib == integerSimple ? arg "integer-simple"
Expand Down

0 comments on commit f8d3f9b

Please sign in to comment.