From d25b6851bbd63b6a65fb7cd08b37c6bc74df9855 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Mon, 6 Jul 2020 18:44:07 +0200 Subject: Hadrian: ghc-gmp.h shouldn't be a compiler dependency --- hadrian/src/Rules/Generate.hs | 3 --- 1 file changed, 3 deletions(-) (limited to 'hadrian') diff --git a/hadrian/src/Rules/Generate.hs b/hadrian/src/Rules/Generate.hs index 5f226f438d..2ac01b4f48 100644 --- a/hadrian/src/Rules/Generate.hs +++ b/hadrian/src/Rules/Generate.hs @@ -50,13 +50,10 @@ derivedConstantsFiles = compilerDependencies :: Expr [FilePath] compilerDependencies = do stage <- getStage - isGmp <- (== "gmp") <$> getBignumBackend ghcPath <- expr $ buildPath (vanillaContext stage compiler) - ghcBignumPath <- expr $ buildPath (vanillaContext stage ghcBignum) rtsPath <- expr (rtsBuildPath stage) libDir <- expr $ stageLibPath stage mconcat [ return $ (libDir -/-) <$> derivedConstantsFiles - , notStage0 ? isGmp ? return [ghcBignumPath -/- "include/ghc-gmp.h"] , notStage0 ? return ((rtsPath -/-) <$> libffiHeaderFiles) , return $ fmap (ghcPath -/-) [ "primop-can-fail.hs-incl" -- cgit v1.2.1