X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=distrib%2Fhc-build;h=1540e1575752e0959d3ff72ff8aa807a824fbf17;hp=606badf063a35d734a0d0af4daee160e09e44428;hb=c883f6969ad957637649f3af1a2b6977555bdd32;hpb=10aa0194ea4a6b7de6efbbb489787a7846542b2d diff --git a/distrib/hc-build b/distrib/hc-build index 606badf..1540e15 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -48,7 +48,7 @@ echo "*** Building compiler..." $MAKE -C glafp-utils boot all $MAKE -C ghc boot -$MAKE -C libraries boot all +$MAKE -C libraries boot all GhcBootLibs=YES $MAKE -C ghc all MAKEFLAGS= @@ -83,12 +83,18 @@ find libraries hslibs | grep '\.[oa]$' | xargs rm -f $MAKE -C ghc/includes boot && $MAKE -C ghc/includes all $MAKE -C ghc/rts boot && $MAKE -C ghc/rts all -# Now build a new set of libraries -$MAKE -C libraries boot all +# Now build a new set of libraries (GhcBootLibs only for now) +$MAKE -C libraries boot all GhcBootLibs=YES + +# Build all of ghc/lib +$MAKE -C ghc/lib clean && $MAKE -C ghc/lib boot all # Build all of ghc/utils $MAKE -C ghc/utils clean && $MAKE -C ghc/utils boot all +# Build the rest of the libraries +$MAKE -C libraries boot all + # Now we can build hslibs (hsc2hs is required, so must be after ghc/utils) $MAKE -C hslibs boot all