summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-03-31 14:15:48 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-10 05:31:14 -0400
commit2cdc95f9c068421a55c634933ab2d8596eb992fb (patch)
tree65fd82a66c8054143d3a49037bc3d841a405d98d /hadrian
parent085983e63bfe6af23f8b85fbfcca8db4872d2f60 (diff)
downloadhaskell-2cdc95f9c068421a55c634933ab2d8596eb992fb.tar.gz
Don't produce platformConstants file
It isn't used for anything anymore
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/doc/make.md11
-rw-r--r--hadrian/src/Base.hs1
-rw-r--r--hadrian/src/Settings/Builders/DeriveConstants.hs1
3 files changed, 0 insertions, 13 deletions
diff --git a/hadrian/doc/make.md b/hadrian/doc/make.md
index b047baed1d..6d20d42503 100644
--- a/hadrian/doc/make.md
+++ b/hadrian/doc/make.md
@@ -141,17 +141,6 @@ time you fire up a build. This is not possible with the Make build system.
all the options that hadrian supports and what they correspond to in the Make
build system.
-- Generate the `platformConstants` file to be used for stage 1/2 GHC
-
- ``` sh
- # Make
- make inplace/lib/platformConstants
-
- # Hadrian
- build _build/stage0/lib/platformConstants
- build _build/stage1/lib/platformConstants
- ```
-
- Generate the `settings` file to be used for stage 1/2 GHC
``` sh
diff --git a/hadrian/src/Base.hs b/hadrian/src/Base.hs
index 9e096f412b..205bd7518f 100644
--- a/hadrian/src/Base.hs
+++ b/hadrian/src/Base.hs
@@ -109,7 +109,6 @@ ghcLibDeps :: Stage -> Action [FilePath]
ghcLibDeps stage = mapM (\f -> stageLibPath stage <&> (-/- f))
[ "llvm-targets"
, "llvm-passes"
- , "platformConstants"
, "settings"
]
diff --git a/hadrian/src/Settings/Builders/DeriveConstants.hs b/hadrian/src/Settings/Builders/DeriveConstants.hs
index 856e85aac0..63813050b4 100644
--- a/hadrian/src/Settings/Builders/DeriveConstants.hs
+++ b/hadrian/src/Settings/Builders/DeriveConstants.hs
@@ -8,7 +8,6 @@ import Settings.Builders.Common
deriveConstantsPairs :: [(String, String)]
deriveConstantsPairs =
[ ("DerivedConstants.h", "--gen-header")
- , ("platformConstants", "--gen-haskell-value")
]
deriveConstantsBuilderArgs :: Args