ghc.git
6 years agoRemove a bitrotted hack for OpenBSD and NetBSD regarding the dyn way.
PHO [Thu, 14 Mar 2013 07:13:45 +0000 (16:13 +0900)] 
Remove a bitrotted hack for OpenBSD and NetBSD regarding the dyn way.

On OpenBSD and NetBSD, we were accidentally passing "-optl-pthread" to
the gcc to build dynamic libraries because of a bitrotted hack for
those OSes, which resulted in a weird situation where every dynamic
library is named "ptl-pthread" and placed at "$(TOP)".

The hack in question were to work around a linkage problem with
libHSffi, but we no longer build it and just use libffi these days so
the hack can safely be removed.

6 years agoRemove readIface's unused argument
Ian Lynagh [Sun, 17 Mar 2013 01:28:49 +0000 (01:28 +0000)] 
Remove readIface's unused argument

6 years agoUpdate Cabal
Ian Lynagh [Sun, 17 Mar 2013 00:37:32 +0000 (00:37 +0000)] 
Update Cabal

6 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Sat, 16 Mar 2013 22:58:02 +0000 (22:58 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

6 years agoFix the handling of Opt_Static
Ian Lynagh [Sat, 16 Mar 2013 21:35:29 +0000 (21:35 +0000)] 
Fix the handling of Opt_Static

There were some cases where we weren't unsetting it when turning the
Dyn way on.

6 years agoFix searching for object files when doing TH
Ian Lynagh [Sat, 16 Mar 2013 20:03:25 +0000 (20:03 +0000)] 
Fix searching for object files when doing TH

We were finding vanilla object files when TH needed dynamic object files.

6 years agoA little polishing
Ian Lynagh [Sat, 16 Mar 2013 19:15:05 +0000 (19:15 +0000)] 
A little polishing

6 years agoDisable DYNAMIC_GHC_PROGRAMS on Windows
Ian Lynagh [Fri, 15 Mar 2013 23:11:59 +0000 (00:11 +0100)] 
Disable DYNAMIC_GHC_PROGRAMS on Windows

It doesn't work yet

6 years agoPartial support for dynamic ghc on Windows
Ian Lynagh [Fri, 15 Mar 2013 23:07:50 +0000 (00:07 +0100)] 
Partial support for dynamic ghc on Windows

6 years agoImplement type family instance support for ":info" (#4175)
Patrick Palka [Thu, 7 Mar 2013 16:39:10 +0000 (11:39 -0500)] 
Implement type family instance support for ":info" (#4175)

v2: added a couple of comments

6 years agoSet the way to 'dynamic' when running GHCi if GHCi is dynamically linked
Ian Lynagh [Thu, 14 Mar 2013 20:05:42 +0000 (20:05 +0000)] 
Set the way to 'dynamic' when running GHCi if GHCi is dynamically linked

6 years agoBy default, use the dynamic way for programs in the GHC tree
Ian Lynagh [Wed, 13 Mar 2013 21:29:27 +0000 (21:29 +0000)] 
By default, use the dynamic way for programs in the GHC tree

In particular, this means that GHCi will use DLLs, rather than loading
object files itself.

6 years agoImplement nullary type classes (#7642)
Simon Peyton Jones [Wed, 13 Mar 2013 21:10:20 +0000 (21:10 +0000)] 
Implement nullary type classes (#7642)

This is a slightly refined version of a patch by shachaf,
done by Krzysztof Gogolewski <krz.gogolewski@gmail.com>.

6 years agoRemove tabs and trailing whitespace from TcTyClsDecls
Krzysztof Gogolewski [Sun, 10 Mar 2013 21:53:33 +0000 (22:53 +0100)] 
Remove tabs and trailing whitespace from TcTyClsDecls

6 years agoFinish adding support for 2 DLLs in the ghc package; fixes #5987
Ian Lynagh [Tue, 12 Mar 2013 21:12:38 +0000 (22:12 +0100)] 
Finish adding support for 2 DLLs in the ghc package; fixes #5987

6 years agoFollow changes in Cabal
Ian Lynagh [Tue, 12 Mar 2013 18:21:55 +0000 (18:21 +0000)] 
Follow changes in Cabal

6 years agoMerge branch 'master' of win:c:/ghc/git/cygwin/.
Ian Lynagh [Tue, 12 Mar 2013 18:19:22 +0000 (18:19 +0000)] 
Merge branch 'master' of win:c:/ghc/git/cygwin/.

6 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Tue, 12 Mar 2013 00:41:41 +0000 (00:41 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

6 years agoTypo-fix for panic.
Edward Z. Yang [Tue, 12 Mar 2013 00:22:24 +0000 (17:22 -0700)] 
Typo-fix for panic.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoUpdate Cabal
Ian Lynagh [Mon, 11 Mar 2013 20:12:36 +0000 (20:12 +0000)] 
Update Cabal

6 years agoMore advice about profiling CAFs.
Edward Z. Yang [Mon, 11 Mar 2013 20:12:25 +0000 (13:12 -0700)] 
More advice about profiling CAFs.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoFix building the GHC package DLL on Windows
Ian Lynagh [Sun, 10 Mar 2013 16:57:23 +0000 (17:57 +0100)] 
Fix building the GHC package DLL on Windows

We now put a handful of modules in a separate DLL.
For now the list is hand-written, but we could automate it in the
future.

6 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
David Waern [Sun, 10 Mar 2013 19:24:42 +0000 (12:24 -0700)] 
Merge branch 'master' of darcs.haskell.org/ghc

6 years agoFix construction of ALL_ALEX_OPTS and ALL_AS_OPTS
Max Bolingbroke [Sun, 3 Feb 2013 18:05:25 +0000 (18:05 +0000)] 
Fix construction of ALL_ALEX_OPTS and ALL_AS_OPTS

Signed-off-by: David Waern <david.waern@gmail.com>
6 years agoRemove some commented out SPECIALIZE pragmas
Ian Lynagh [Sun, 10 Mar 2013 01:27:34 +0000 (01:27 +0000)] 
Remove some commented out SPECIALIZE pragmas

As far as I can see, they've never been enabled

6 years agoBuilding with -dynamic-too now works, so enable it by default
Ian Lynagh [Sat, 9 Mar 2013 23:11:56 +0000 (23:11 +0000)] 
Building with -dynamic-too now works, so enable it by default

It's only actually used if both the v and dyn ways are built

6 years agoRemove unnecessary warnings suppressions, fixes ticket #7756; thanks monoidal for...
Edward Z. Yang [Sun, 10 Mar 2013 04:16:58 +0000 (20:16 -0800)] 
Remove unnecessary warnings suppressions, fixes ticket #7756; thanks monoidal for submitting.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoFix -dynamic-too with -boot files
Ian Lynagh [Sat, 9 Mar 2013 20:49:28 +0000 (20:49 +0000)] 
Fix -dynamic-too with -boot files

It was looking for Foo.dyn_hi rather than Foo.dyn_hi-boot, and so
falling back to the slow way

6 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Sat, 9 Mar 2013 20:00:33 +0000 (20:00 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

6 years agoSlight tidy-up to Pedro's work on Typeable
Simon Peyton Jones [Sat, 9 Mar 2013 16:34:03 +0000 (16:34 +0000)] 
Slight tidy-up to Pedro's work on Typeable

6 years agoRemove unnecessary DynFlags arg to mkCgIdInfo
Simon Peyton Jones [Sat, 9 Mar 2013 16:33:32 +0000 (16:33 +0000)] 
Remove unnecessary DynFlags arg to mkCgIdInfo

6 years agoRemove stale, commented-out code about heap checks
Simon Peyton Jones [Sat, 9 Mar 2013 16:32:48 +0000 (16:32 +0000)] 
Remove stale, commented-out code about heap checks

6 years agoRemove warning-suppression (not needed)
Simon Peyton Jones [Sat, 9 Mar 2013 16:32:08 +0000 (16:32 +0000)] 
Remove warning-suppression (not needed)

6 years agoDon't pass -dynamic-too to GHC when compiling C files
Ian Lynagh [Sat, 9 Mar 2013 13:28:03 +0000 (13:28 +0000)] 
Don't pass -dynamic-too to GHC when compiling C files

6 years agoSimplify away some old -dynamic-too stuff from the previous approach
Ian Lynagh [Fri, 8 Mar 2013 22:45:28 +0000 (22:45 +0000)] 
Simplify away some old -dynamic-too stuff from the previous approach

6 years agoRe-enable a flag-consistency check
Ian Lynagh [Fri, 8 Mar 2013 22:05:27 +0000 (22:05 +0000)] 
Re-enable a flag-consistency check

I'm not sure why it caused problems before, but it's fine now.

6 years agoRemove a now-redundant hack
Ian Lynagh [Fri, 8 Mar 2013 22:05:12 +0000 (22:05 +0000)] 
Remove a now-redundant hack

6 years agoFix -dynamic-too: Outputt to the dyn file when output_spec is SpecificFile
Ian Lynagh [Fri, 8 Mar 2013 20:44:37 +0000 (20:44 +0000)] 
Fix -dynamic-too: Outputt to the dyn file when output_spec is SpecificFile

6 years agoAdd some extra sanity checking to the (l)hs->o rules
Ian Lynagh [Fri, 8 Mar 2013 14:38:47 +0000 (14:38 +0000)] 
Add some extra sanity checking to the (l)hs->o rules

6 years agoChange how -dynamic-too works
Ian Lynagh [Fri, 8 Mar 2013 14:02:22 +0000 (14:02 +0000)] 
Change how -dynamic-too works

We now run the tail of the pipeline twice, rather than trying to
do both ways in lockstep.

6 years agoSplit the Hsc phase into two subphases
Ian Lynagh [Fri, 8 Mar 2013 01:52:25 +0000 (01:52 +0000)] 
Split the Hsc phase into two subphases

The goal is that the second subphase will be run twice when using
-dynamic-too

6 years agoA couple more small refactorings
Ian Lynagh [Thu, 7 Mar 2013 20:21:09 +0000 (20:21 +0000)] 
A couple more small refactorings

6 years agoFix pretty printing of human-readable integers (#7750)
Patrick Palka [Thu, 7 Mar 2013 20:19:57 +0000 (15:19 -0500)] 
Fix pretty printing of human-readable integers (#7750)

6 years agoRemove unused functions cmmConstrTag, cmmGetTag
Simon Peyton Jones [Sat, 9 Mar 2013 12:33:40 +0000 (12:33 +0000)] 
Remove unused functions cmmConstrTag, cmmGetTag

Patch offered by Boris Sukholitko <boriss@gmail.com>
Trac #7757

6 years agoRemove cg_tag from CgIdInfo
Boris Sukholitko [Sat, 9 Mar 2013 09:46:52 +0000 (11:46 +0200)] 
Remove cg_tag from CgIdInfo

6 years agoDetabify StgCmmEnv
Boris Sukholitko [Sat, 9 Mar 2013 09:32:32 +0000 (11:32 +0200)] 
Detabify StgCmmEnv

6 years agoDetabify StgCmmMonad
Boris Sukholitko [Sat, 9 Mar 2013 08:35:52 +0000 (10:35 +0200)] 
Detabify StgCmmMonad

6 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Fri, 8 Mar 2013 12:17:35 +0000 (12:17 +0000)] 
Merge branch 'master' of darcs.haskell.org/ghc

6 years agoDo not generate duplicate instances with AutoDeriveTypeable
Jose Pedro Magalhaes [Fri, 8 Mar 2013 10:42:39 +0000 (10:42 +0000)] 
Do not generate duplicate instances with AutoDeriveTypeable

6 years agoProperly instantiate the kind of the tycon when deriving Typeable (FIX #7704)
Jose Pedro Magalhaes [Fri, 8 Mar 2013 08:35:11 +0000 (08:35 +0000)] 
Properly instantiate the kind of the tycon when deriving Typeable (FIX #7704)

6 years agoMake AutoDeriveTypeable imply DeriveDataTypeable
Jose Pedro Magalhaes [Fri, 8 Mar 2013 08:04:37 +0000 (08:04 +0000)] 
Make AutoDeriveTypeable imply DeriveDataTypeable

6 years agoFollow defaultErrorHandler change, fixes #7752.
Edward Z. Yang [Fri, 8 Mar 2013 00:00:28 +0000 (16:00 -0800)] 
Follow defaultErrorHandler change, fixes #7752.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoClosures must be zeroed even without LDV-profiling. Partially fixes #7747
Edward Z. Yang [Thu, 7 Mar 2013 22:28:54 +0000 (14:28 -0800)] 
Closures must be zeroed even without LDV-profiling. Partially fixes #7747

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoFix #7722: iOS runtime loader quirk.
David Terei [Thu, 7 Mar 2013 21:29:00 +0000 (13:29 -0800)] 
Fix #7722: iOS runtime loader quirk.

Patch from Stephen Blackheath!

6 years agoRemove old ltx and verbatim utils
Ian Lynagh [Thu, 7 Mar 2013 18:03:51 +0000 (18:03 +0000)] 
Remove old ltx and verbatim utils

6 years agoRefactor the pipeline/hsc interaction
Ian Lynagh [Thu, 7 Mar 2013 16:19:24 +0000 (16:19 +0000)] 
Refactor the pipeline/hsc interaction

It would probably still benefit from some tidying up, but it's now
much more opaque, with the control flow easier to understand.

6 years agoSatisfy the invariant on CmmUnsafeForeignCall arguments
Simon Marlow [Tue, 5 Mar 2013 12:35:23 +0000 (12:35 +0000)] 
Satisfy the invariant on CmmUnsafeForeignCall arguments

There was potentially a bug here, but no actual failures were
identified in the wild.

See Note [Register Parameter Passing]

6 years agocomments
Simon Marlow [Tue, 5 Mar 2013 12:34:23 +0000 (12:34 +0000)] 
comments

6 years agoadd a comment about LD_STAGE0
Simon Marlow [Tue, 26 Feb 2013 14:00:08 +0000 (14:00 +0000)] 
add a comment about LD_STAGE0

6 years agoEnsure that isStrictDmd is False for Absent (fixes Trac #7737)
Simon Peyton Jones [Tue, 5 Mar 2013 09:26:27 +0000 (09:26 +0000)] 
Ensure that isStrictDmd is False for Absent (fixes Trac #7737)

The demand <HyperStr, Absent> for a let-bound value is bit
strange; it means that the context will diverge, but this
argument isn't used. We don't want to use call-by-value here,
even though it's semantically sound if all bottoms mean
the same.

The fix is easy; just make "isStrictDmd" a bit more perspicuous.
See Note [Strict demands] in Demand.lhs

6 years agoTypofix.
Edward Z. Yang [Mon, 4 Mar 2013 23:12:30 +0000 (15:12 -0800)] 
Typofix.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoRemove the VCS column from 'packages'
Ian Lynagh [Mon, 4 Mar 2013 18:22:19 +0000 (18:22 +0000)] 
Remove the VCS column from 'packages'

It's now always 'git'.

6 years agoRemove the darcs support from sync-all
Ian Lynagh [Mon, 4 Mar 2013 18:03:02 +0000 (18:03 +0000)] 
Remove the darcs support from sync-all

6 years agoRemove a couple of lingering references to the dead BootingFromHc variable
Ian Lynagh [Mon, 4 Mar 2013 17:49:18 +0000 (17:49 +0000)] 
Remove a couple of lingering references to the dead BootingFromHc variable

6 years agoDon't test BootingFromHc when setting SupportsSplitObjs
Ian Lynagh [Mon, 4 Mar 2013 17:08:22 +0000 (17:08 +0000)] 
Don't test BootingFromHc when setting SupportsSplitObjs

We no longer set BootingFromHc

6 years agoRemove unused 'PackageSourceURL' from build system
Ian Lynagh [Mon, 4 Mar 2013 01:47:38 +0000 (01:47 +0000)] 
Remove unused 'PackageSourceURL' from build system

6 years agoRemove unused CTAGS from build system
Ian Lynagh [Mon, 4 Mar 2013 01:44:19 +0000 (01:44 +0000)] 
Remove unused CTAGS from build system

6 years agoRemove some out-of-date comments
Ian Lynagh [Mon, 4 Mar 2013 01:43:10 +0000 (01:43 +0000)] 
Remove some out-of-date comments

6 years agoRemove the FLEX support from the build system
Ian Lynagh [Mon, 4 Mar 2013 01:42:27 +0000 (01:42 +0000)] 
Remove the FLEX support from the build system

Most of it was commented out anyway

6 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Mon, 4 Mar 2013 09:42:36 +0000 (09:42 +0000)] 
Merge branch 'master' of darcs.haskell.org/ghc

6 years agoRearrange the typechecking of arrows, especially arrow "forms"
Simon Peyton Jones [Mon, 4 Mar 2013 09:40:56 +0000 (09:40 +0000)] 
Rearrange the typechecking of arrows, especially arrow "forms"

The typechecking of arrow forms (in GHC 7.6) is known to be bogus, as
described in Trac #5609, because it marches down tuple types that may
not yet be fully worked out, depending on when constraint solving
happens.  Moreover, coercions are generated and simply discarded.  The
fact that it works at all is a miracle.

This refactoring is based on a conversation with Ross, where we
rearranged the typing of the argument stack, so that the arrows
have the form
   a (env, (arg1, (arg2, ...(argn, ())))) res
rather than
   a (arg1, (arg2, ...(argn, env))) res
as it was before.

This is vastly simpler to typecheck; just look at the beautiful,
simple type checking of arrow forms now!

We need a new HsCmdCast to capture the coercions generated from
the argument stack.

This leaves us in a better position to tackle the open arrow tickets
 * Trac #5777 still fails.  (I was hoping this patch would cure it.)
 * Trac #5609 is too complicated for me to grok.  Ross?
 * Trac #344
 * Trac #5333

6 years agoAdd more notes on hacking and filing bugs to README.md
Austin Seipp [Mon, 4 Mar 2013 06:24:56 +0000 (00:24 -0600)] 
Add more notes on hacking and filing bugs to README.md

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoRewrite HACKING and convert to markdown.
Austin Seipp [Mon, 4 Mar 2013 06:24:31 +0000 (00:24 -0600)] 
Rewrite HACKING and convert to markdown.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoFix accidentally commited debug form of FIND_LLVM_PROG.
David Terei [Mon, 4 Mar 2013 01:59:42 +0000 (17:59 -0800)] 
Fix accidentally commited debug form of FIND_LLVM_PROG.

6 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Mon, 4 Mar 2013 00:40:38 +0000 (00:40 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

6 years agoComments and type signatures only
Simon Peyton Jones [Sun, 3 Mar 2013 23:04:35 +0000 (23:04 +0000)] 
Comments and type signatures only

6 years agoTreat equalities with incompatible kinds as "irreducible" constraints
Simon Peyton Jones [Sun, 3 Mar 2013 23:04:09 +0000 (23:04 +0000)] 
Treat equalities with incompatible kinds as "irreducible" constraints

Originally we had the invariant that CTyEqCan and CFunEqCan have LHS
and RHS with compatible kinds.  This is important because if they have
different kinds, then a substitution using the CTyEqCan can give rise
to an ill-kinded type, which in turn makes typeKind crash, and this
led to Trac #7696.  (The possibility of this happening really only
occurred when we introduced kind polymorphism.)

I thought at first this was going to be really awkward to solve, but
happily it turned out to be easy.  We already have CIrredEvCan
constraints, which are "stuck"; we can't use them and we can't solve
them.  Yet. After some substitution from solving other constraints we
may be able to make progress.

So for equality constraints where the LHS and RHS don't have compatible kinds
(although perhaps not YET compatible, eg k and *, just needing to
unify k := *), we now generate a CIrredEvCan, plus the necessary kind
equality constraint.

This entailed some refactoring of course, but only in TcCanonical.  In
particular, the emitKindConstraint code has gone, in favour of a kind
check in canEqLeaf.  See Note [Equalities with incompatible kinds] in
TcCanonical, and Note [CIrredEvCan constraints] in TcRnTypes

6 years agoMake sure that Constraint is unrelated to other kinds in tcIsSubKind
Simon Peyton Jones [Sun, 3 Mar 2013 22:49:23 +0000 (22:49 +0000)] 
Make sure that Constraint is unrelated to other kinds in tcIsSubKind

This was causing the bug reported in Trac #7697

6 years agoAutomatically add the $(exeext) to program names
Ian Lynagh [Sun, 3 Mar 2013 22:49:41 +0000 (22:49 +0000)] 
Automatically add the $(exeext) to program names

We now define _PROGNAME, and _PROG is automatically defined with
$(exeext). This will shortly automatically use the right exeext
depending on what stage it is being compiled with (exeext may be
different for different stages when cross-compiling).

6 years agoUse the automatic variables for touchy too
Ian Lynagh [Sun, 3 Mar 2013 22:37:57 +0000 (22:37 +0000)] 
Use the automatic variables for touchy too

6 years agoAutomatically define _INPLACE variables for perl programs too
Ian Lynagh [Sun, 3 Mar 2013 22:29:57 +0000 (22:29 +0000)] 
Automatically define _INPLACE variables for perl programs too

and use them for split

6 years agoinstallation fixes
Ian Lynagh [Sun, 3 Mar 2013 21:26:25 +0000 (21:26 +0000)] 
installation fixes

6 years agoRemove the _INSTALL_IN support in the build system
Ian Lynagh [Sun, 3 Mar 2013 21:09:58 +0000 (21:09 +0000)] 
Remove the _INSTALL_IN support in the build system

It doesn't seem to do anything that _INSTALL and _INSTALL_INPLACE
can't do.

6 years agoUse unlit_INPLACE rather than UNLIT in the build system
Ian Lynagh [Sun, 3 Mar 2013 20:27:51 +0000 (20:27 +0000)] 
Use unlit_INPLACE rather than UNLIT in the build system

6 years agoUse more of the automatically generated INPLACE variables
Ian Lynagh [Sun, 3 Mar 2013 20:20:06 +0000 (20:20 +0000)] 
Use more of the automatically generated INPLACE variables

6 years agoDefine $(prog)_INPLACE variables automatically, and start using them
Ian Lynagh [Sun, 3 Mar 2013 18:49:23 +0000 (18:49 +0000)] 
Define $(prog)_INPLACE variables automatically, and start using them

6 years agoWhitespace only
Ian Lynagh [Sun, 3 Mar 2013 18:32:10 +0000 (18:32 +0000)] 
Whitespace only

6 years agoExport dopt_set, dopt_unset
Ian Lynagh [Sun, 3 Mar 2013 17:35:02 +0000 (17:35 +0000)] 
Export dopt_set, dopt_unset

We don't need them, but GHC API users might.

6 years agoRemove some unused build system variables
Ian Lynagh [Sun, 3 Mar 2013 17:33:11 +0000 (17:33 +0000)] 
Remove some unused build system variables

6 years agoFix missing backticks and parentheses in error messages; fixes #7734
Ian Lynagh [Sun, 3 Mar 2013 16:30:23 +0000 (16:30 +0000)] 
Fix missing backticks and parentheses in error messages; fixes #7734

Patch from monoidal

6 years agoAdd missing parenthesis
Ian Lynagh [Sun, 3 Mar 2013 13:43:49 +0000 (13:43 +0000)] 
Add missing parenthesis

6 years agoFix build when dph is not in the tree; fixes #7733
Ian Lynagh [Sun, 3 Mar 2013 13:41:46 +0000 (13:41 +0000)] 
Fix build when dph is not in the tree; fixes #7733

Patch from Stephen Blackheath.

6 years agoAdd PACKAGES_STAGE0 to build-dirs too; fixes #7700
Ian Lynagh [Sun, 3 Mar 2013 13:35:41 +0000 (13:35 +0000)] 
Add PACKAGES_STAGE0 to build-dirs too; fixes #7700

This is sometimes needed when cross-compiling, as some packages may be
built in stage 0 but not stage 1.

In order to make everything work out, this also removes the requirement
that the build-dirs are in dependency order

6 years agoTypofix.
Edward Z. Yang [Sun, 3 Mar 2013 00:13:04 +0000 (16:13 -0800)] 
Typofix.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoUpdate source pointer.
Edward Z. Yang [Sun, 3 Mar 2013 00:05:00 +0000 (16:05 -0800)] 
Update source pointer.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoMake codeOutput and friends return the filename that they have created
Ian Lynagh [Sat, 2 Mar 2013 23:49:41 +0000 (23:49 +0000)] 
Make codeOutput and friends return the filename that they have created

6 years agoMake codeOutput panic if hscTarget is HscInterpreted
Ian Lynagh [Sat, 2 Mar 2013 21:30:29 +0000 (21:30 +0000)] 
Make codeOutput panic if hscTarget is HscInterpreted

Doesn't look like it causes any failures in the full test suite, so
presumably it's fine!

6 years agoSimplify the definition of getOutputFilename
Ian Lynagh [Sat, 2 Mar 2013 19:16:38 +0000 (19:16 +0000)] 
Simplify the definition of getOutputFilename

6 years agoDon't redundantly set hscTarget to the same value it already was
Ian Lynagh [Sat, 2 Mar 2013 17:39:43 +0000 (17:39 +0000)] 
Don't redundantly set hscTarget to the same value it already was

6 years agoAdd iOS specific module layout entry to LLVM codegen; fixes #7721
Ian Lynagh [Sat, 2 Mar 2013 15:12:03 +0000 (15:12 +0000)] 
Add iOS specific module layout entry to LLVM codegen; fixes #7721

Patch from Stephen Blackheath