X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fhc-build;h=1540e1575752e0959d3ff72ff8aa807a824fbf17;hb=fd5a12e7f7c1bd928bc308dc9a3bc29593f74c0d;hp=06bb4d7923de5f3543f3f0db3170720da7215787;hpb=6d4b6cadaf37f60dd4ec7135dcf6fcfe10355801;p=ghc-hetmet.git diff --git a/distrib/hc-build b/distrib/hc-build index 06bb4d7..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,15 +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 ghc/lib +# 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