From 872bd77dda95ff67340588ee5b5653a9f289d369 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 20 Jul 2009 14:50:53 +0000 Subject: [PATCH] remove unused $(HscIfaceFileVersion) --- compiler/ghc.mk | 2 -- compiler/main/DynFlags.hs | 1 - mk/config.mk.in | 19 ------------------- 3 files changed, 22 deletions(-) diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 400b6b3..4a042cb 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -51,8 +51,6 @@ $(compiler_CONFIG_HS) : mk/config.mk mk/project.mk @echo "cBooterVersion = \"$(GhcVersion)\"" >> $@ @echo "cStage :: String" >> $@ @echo "cStage = show (STAGE :: Int)" >> $@ - @echo "cHscIfaceFileVersion :: String" >> $@ - @echo "cHscIfaceFileVersion = \"$(HscIfaceFileVersion)\"" >> $@ @echo "cSplitObjs :: String" >> $@ @echo "cSplitObjs = \"$(SupportsSplitObjs)\"" >> $@ @echo "cGhcWithInterpreter :: String" >> $@ diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 20ac77e..17dc60c 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -2366,7 +2366,6 @@ compilerInfo = [("Project name", String cProjectName), ("Project version", String cProjectVersion), ("Booter version", String cBooterVersion), ("Stage", String cStage), - ("Interface file version", String cHscIfaceFileVersion), ("Have interpreter", String cGhcWithInterpreter), ("Object splitting", String cSplitObjs), ("Have native code generator", String cGhcWithNativeCodeGen), diff --git a/mk/config.mk.in b/mk/config.mk.in index ac00599..8c33bb2 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -205,25 +205,6 @@ BeConservative = NO BuildingParallel=$(subst mp,YES,$(filter mp,$(WAYS))) BuildingGranSim=$(subst mg,YES,$(filter mg,$(WAYS))) -# Interface file version (hi-boot files only) -# -# A GHC built with HscIfaceFileVersion=n will look for -# M.hi-boot-n, and only then for -# M.hi-boot. -# (It'll be happy with the latter if the former doesn't exist.) -# -# -# This variable is used ONLY for hi-boot files. Its only purpose is -# to allow you to have a single directory with multiple .hi-boot files -# for the same module, each corresponding to a different version of -# GHC. -# -# HscIfaceFileVersion is propagated to hsc via -# compiler/main/Config.hs, which is automatically generated by -# compiler/Makefile. - -HscIfaceFileVersion=6 - #------------------------------------------------------------------------------ # Options for Libraries -- 1.7.10.4