summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-11-04 18:27:31 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-09 10:02:46 -0500
commit79a26df1475505ee1e87eb7fda04e5fefdf6aa4c (patch)
treea8d1845dfbcaf6f86252932899529f465c585549
parentbc498fdfa482dfe796e3a12ac8f9d71913930740 (diff)
downloadhaskell-79a26df1475505ee1e87eb7fda04e5fefdf6aa4c.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.
-rw-r--r--hadrian/bindist/Makefile1
-rw-r--r--hadrian/src/Rules/Generate.hs1
-rw-r--r--rts/include/ghc.mk1
3 files changed, 0 insertions, 3 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile
index 92fa53e2e3..84fb7f8bdd 100644
--- a/hadrian/bindist/Makefile
+++ b/hadrian/bindist/Makefile
@@ -142,7 +142,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 782ae63803..13147aeec9 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/rts/include/ghc.mk b/rts/include/ghc.mk
index a04d5dbc1c..f76f549984 100644
--- a/rts/include/ghc.mk
+++ b/rts/include/ghc.mk
@@ -272,7 +272,6 @@ $(includes_SETTINGS) : rts/include/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)")' >> $@