Skip to content

Commit

Permalink
Build the GHC package in stage 3 too
Browse files Browse the repository at this point in the history
This fixes the problem with the nightly builds not including the GHC
package.
  • Loading branch information
Simon Marlow committed Oct 16, 2006
1 parent 64d2248 commit eea8fd5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions compiler/Makefile
Expand Up @@ -192,7 +192,7 @@ else
GHC_PROG=$(odir)/ghc-$(ProjectVersion)
endif

ifneq "$(stage)" "2"
ifeq "$(stage)" "1"
HS_PROG = $(GHC_PROG)
endif

Expand Down Expand Up @@ -822,13 +822,11 @@ coreSyn/CorePrep_HC_OPTS += -auto-all
#-----------------------------------------------------------------------------
# Building the GHC package

# The GHC package is made from the stage 2 build. Fortunately the
# package build system framework more or less does the right thing for
# us here.

# All this section is stage-2 only!
ifeq "$(stage)" "2"
# The GHC package is made from the stage 2 build and later.
# Fortunately the package build system framework more or less does the
# right thing for us here.

ifneq "$(findstring $(stage), 2 3)" ""
PACKAGE = ghc
HIERARCHICAL_LIB = NO
VERSION = $(ProjectVersion)
Expand Down

0 comments on commit eea8fd5

Please sign in to comment.