Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
14029 commits behind the upstream repository.
  • Alp Mestanogullari's avatar
    7f8bf98e
    Hadrian: fix source-dist rule · 7f8bf98e
    Alp Mestanogullari authored and Marge Bot's avatar Marge Bot committed
    The first problem was that the list of files/dirs to embed or ignore was not
    up-to-date. The second problem was that the 'Cwd' option used when running the
    Tar builder in the source-dist rule didn't actually change the current directory
    and was therefore failing. Finally, the source-dist rule did not pre-generate
    Haskell modules derived from .x (alex) and .y (happy) files, like the Make
    build system does -- this is now fixed.
    
    We might be doing too much work for that last step (we seem to be building
    many things until we get to generating the source distribution), but extracting
    the distribution and running
    
        ./configure && hadrian/build.sh --flavour=quickest -j
    
    from there does work for me now.
    7f8bf98e
    History
    Hadrian: fix source-dist rule
    Alp Mestanogullari authored and Marge Bot's avatar Marge Bot committed
    The first problem was that the list of files/dirs to embed or ignore was not
    up-to-date. The second problem was that the 'Cwd' option used when running the
    Tar builder in the source-dist rule didn't actually change the current directory
    and was therefore failing. Finally, the source-dist rule did not pre-generate
    Haskell modules derived from .x (alex) and .y (happy) files, like the Make
    build system does -- this is now fixed.
    
    We might be doing too much work for that last step (we seem to be building
    many things until we get to generating the source distribution), but extracting
    the distribution and running
    
        ./configure && hadrian/build.sh --flavour=quickest -j
    
    from there does work for me now.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
SourceDist.hs 5.09 KiB