diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-11-04 18:27:31 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-02-17 11:27:16 -0500 |
commit | 3957af39423195c0246921e7edf17809506b0e1e (patch) | |
tree | a074afd517eb7544be2c6ee0637ede5817093948 | |
parent | 32a39c8402dc3cf9a37180720ecc7a5a180e0164 (diff) | |
download | haskell-3957af39423195c0246921e7edf17809506b0e1e.tar.gz |
Don't expose bignum backend in ghc --info (#20495)
GHC is bignum backend agnostic and shouldn't report this information as
in the future ghc-bignum will be reinstallable potentially with a
different backend that GHC is unaware of. Moreover as #20495 shows the
returned information may be wrong currently.
(cherry picked from commit 79a26df1475505ee1e87eb7fda04e5fefdf6aa4c)
-rw-r--r-- | hadrian/bindist/Makefile | 1 | ||||
-rw-r--r-- | hadrian/src/Rules/Generate.hs | 1 | ||||
-rw-r--r-- | includes/ghc.mk | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile index 41cf5d0c29..80af54e597 100644 --- a/hadrian/bindist/Makefile +++ b/hadrian/bindist/Makefile @@ -141,7 +141,6 @@ lib/settings : @echo ',("LLVM opt command", "$(SettingsOptCommand)")' >> $@ @echo ',("LLVM clang command", "$(SettingsClangCommand)")' >> $@ @echo - @echo ',("bignum backend", "$(BIGNUM_BACKEND)")' >> $@ @echo ',("Use interpreter", "$(GhcWithInterpreter)")' >> $@ @echo ',("Support SMP", "$(GhcWithSMP)")' >> $@ @echo ',("RTS ways", "$(GhcRTSWays)")' >> $@ diff --git a/hadrian/src/Rules/Generate.hs b/hadrian/src/Rules/Generate.hs index 6949fab7b5..a1d2092ab8 100644 --- a/hadrian/src/Rules/Generate.hs +++ b/hadrian/src/Rules/Generate.hs @@ -334,7 +334,6 @@ generateSettings = do , ("LLVM opt command", expr $ settingsFileSetting SettingsFileSetting_OptCommand) , ("LLVM clang command", expr $ settingsFileSetting SettingsFileSetting_ClangCommand) - , ("BigNum backend", getBignumBackend) , ("Use interpreter", expr $ yesNo <$> ghcWithInterpreter) , ("Support SMP", expr $ yesNo <$> targetSupportsSMP) , ("RTS ways", unwords . map show <$> getRtsWays) diff --git a/includes/ghc.mk b/includes/ghc.mk index 72ef0c2ae7..31d7a17f2a 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -253,7 +253,6 @@ $(includes_SETTINGS) : includes/Makefile | $$(dir $$@)/. @echo ',("LLVM opt command", "$(SettingsOptCommand)")' >> $@ @echo ',("LLVM clang command", "$(SettingsClangCommand)")' >> $@ @echo - @echo ',("bignum backend", "$(BIGNUM_BACKEND)")' >> $@ @echo ',("Use interpreter", "$(GhcWithInterpreter)")' >> $@ @echo ',("Support SMP", "$(GhcWithSMP)")' >> $@ @echo ',("RTS ways", "$(GhcRTSWays)")' >> $@ |