Sven Tennie pushed to branch wip/supersven/refactor-system-cxx-std-lib-hadrian-rules at Glasgow Haskell Compiler / GHC
Commits:
-
6b42a8f2
by Sven Tennie at 2026-05-27T11:45:08+02:00
1 changed file:
Changes:
| ... | ... | @@ -6,7 +6,6 @@ module Rules.Register ( |
| 6 | 6 | |
| 7 | 7 | import Base
|
| 8 | 8 | import Context
|
| 9 | -import Flavour
|
|
| 10 | 9 | import Oracles.Setting
|
| 11 | 10 | import Hadrian.BuildPath
|
| 12 | 11 | import Hadrian.Expression
|
| ... | ... | @@ -48,14 +47,6 @@ configurePackageRules = do |
| 48 | 47 | isGmp <- (== "gmp") <$> interpretInContext ctx getBignumBackend
|
| 49 | 48 | when isGmp $
|
| 50 | 49 | need [buildP -/- "include/ghc-gmp.h"]
|
| 51 | - when (pkg == text) $ do
|
|
| 52 | - simdutf <- textWithSIMDUTF <$> flavour
|
|
| 53 | - when simdutf $ do
|
|
| 54 | - -- This is required, otherwise you get Error: hadrian:
|
|
| 55 | - -- Encountered missing or private dependencies:
|
|
| 56 | - -- system-cxx-std-lib ==1.0
|
|
| 57 | - cxxStdLib <- systemCxxStdLibConfPath $ PackageDbLoc stage Inplace
|
|
| 58 | - need [cxxStdLib]
|
|
| 59 | 50 | Cabal.configurePackage ctx
|
| 60 | 51 | |
| 61 | 52 | root -/- "**/autogen/cabal_macros.h" %> \out -> do
|