Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

WIP: Relocation based build (inplace free) #445

Closed
wants to merge 232 commits into from

Commits on Oct 25, 2017

  1. Configuration menu
    Copy the full SHA
    f10e62b View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2017

  1. Configuration menu
    Copy the full SHA
    c4a297b View commit details
    Browse the repository at this point in the history
  2. [ghc-pkg] provie the --global-package-db flag

    This allows to run it during the build without the wrapper.
    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    1f76250 View commit details
    Browse the repository at this point in the history
  3. [ghc-cabal] Pass down the --global-package-db flag to ghc-pkg

    Again, if ghc-pkg is run without a wrapper, we need to provide it with the flag.
    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    713617c View commit details
    Browse the repository at this point in the history
  4. test

    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    cc3ca47 View commit details
    Browse the repository at this point in the history
  5. [Programs] install in $stage/bin

    No more /inplace/ logic.
    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    e955497 View commit details
    Browse the repository at this point in the history
  6. dead install for now.

    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    315b632 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b0359ed View commit details
    Browse the repository at this point in the history
  8. dead install

    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    1636836 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    500336f View commit details
    Browse the repository at this point in the history
  10. [Builders] most of them are in stage1/bin now, instead of stage0.

    This might need some rethinking, as we might want to rebuild them per stage (or copy?)
    
    We could e.g. build them in stage0, and just copy them into stage1 and stage2.
    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    c99ef5b View commit details
    Browse the repository at this point in the history
  11. [base] less in-place logic.

    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    0ecb089 View commit details
    Browse the repository at this point in the history
  12. [Rules] Copy rules for multiple stages

    This again should probably be done by having the package depend on the
    right files.
    
    ghc depends on settings, llvm-targets, platformConstants and the ghc/ghci-usage.txt files.
    hsc2hs depends on the template.
    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    89bd0fe View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    523139e View commit details
    Browse the repository at this point in the history
  14. [hsc2hs,ghc] drop inplace copy targets.

    hsc depends on the template-hsc.h, and ghc depends on settings, platformConstants, llvm-targets, ghc-usage.txt, ghci-usage.txt.
    
    As such they will bring the files in on their own, and the copy target logic is no longer required.
    angerman committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    e41f939 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2017

  1. buildPath -> contextPath

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    1afd1c2 View commit details
    Browse the repository at this point in the history
  2. Build ContextPath rewrite

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    88a2a2c View commit details
    Browse the repository at this point in the history
  3. reinstante /build folder

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    3206db3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2fcbde2 View commit details
    Browse the repository at this point in the history
  5. stage munging.

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    a2805b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d43007 View commit details
    Browse the repository at this point in the history
  7. contextInstallDir is libDir

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    8ba790d View commit details
    Browse the repository at this point in the history
  8. [libraries] proper pkgid

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    6977e5f View commit details
    Browse the repository at this point in the history
  9. [pkg-db] unify naming.

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    e096710 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    966e0c2 View commit details
    Browse the repository at this point in the history
  11. Paths

    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    7442787 View commit details
    Browse the repository at this point in the history
  12. Use the ghc-cabal from the next stage.

    E.g. buld ghc-cabal with stage0, it's part of the stage1 then.
    angerman committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    361f4b6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d2a2833 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2017

  1. Configuration menu
    Copy the full SHA
    7b38480 View commit details
    Browse the repository at this point in the history
  2. Logic for asking builders.

    angerman committed Oct 28, 2017
    Configuration menu
    Copy the full SHA
    afb84ba View commit details
    Browse the repository at this point in the history
  3. Prettify doWith

    angerman committed Oct 28, 2017
    Configuration menu
    Copy the full SHA
    fc3c06f View commit details
    Browse the repository at this point in the history
  4. buildPath, not contextPath

    angerman committed Oct 28, 2017
    Configuration menu
    Copy the full SHA
    dbb69d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79dd24c View commit details
    Browse the repository at this point in the history
  6. Fix build path

    angerman committed Oct 28, 2017
    Configuration menu
    Copy the full SHA
    91ad2d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2017

  1. Configuration menu
    Copy the full SHA
    dfb361b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93b6f2a View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2017

  1. [ghc-cabal] always stage1.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    ae97422 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    256e1f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a05791b View commit details
    Browse the repository at this point in the history
  4. PlatformH logic.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    3ade23d View commit details
    Browse the repository at this point in the history
  5. [rts] it's a package.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    f49ab6c View commit details
    Browse the repository at this point in the history
  6. Register and copy logic.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    d26a5b6 View commit details
    Browse the repository at this point in the history
  7. Adds copyBootPackages logic.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    97c60bc View commit details
    Browse the repository at this point in the history
  8. Drop trace.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    1067d26 View commit details
    Browse the repository at this point in the history
  9. Fix hsc2hs to stage1

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    cfaf8ea View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    54ed0e4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9cc5092 View commit details
    Browse the repository at this point in the history
  12. Oops.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    e1321ac View commit details
    Browse the repository at this point in the history
  13. [genprimop] cleanup.

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    926ff3a View commit details
    Browse the repository at this point in the history
  14. -ghc-version, only with stage1 and later.

    The "already" installed ghc, will likely have the rts to consult. And `-ghc-version` requires GHC 8.4 or later at least.
    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    8559f25 View commit details
    Browse the repository at this point in the history
  15. More ask logic for builders.

    Now we can interrogate ghc for it's `--info` as well.
    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    2ba1ef1 View commit details
    Browse the repository at this point in the history
  16. [package conf] depend on setings and platformConstants

    Otherwise the ghc that's pointed to the pacakge.conf won't know how to register packages.
    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    73c9b77 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0dcb5dc View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9aa2ace View commit details
    Browse the repository at this point in the history
  19. [register] need setup-config

    Still ugly.
    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    66c776d View commit details
    Browse the repository at this point in the history
  20. fix pkgFile path

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    daec6c9 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    191430b View commit details
    Browse the repository at this point in the history
  22. [rts] it's a cabal package!

    angerman committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    1934788 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2017

  1. Configuration menu
    Copy the full SHA
    37b6b91 View commit details
    Browse the repository at this point in the history
  2. Inject .cmm and .s sources as needed.

    Until this is fixed in cabal, there is no other way.
    angerman committed Oct 31, 2017
    Configuration menu
    Copy the full SHA
    7d95f46 View commit details
    Browse the repository at this point in the history
  3. [Evac_thr] drop PARALLEL_GC.

    This is now included in the Evac_thr file, and doesn't need to be handled special anymore.
    angerman committed Oct 31, 2017
    Configuration menu
    Copy the full SHA
    944c894 View commit details
    Browse the repository at this point in the history
  4. Drop debug.

    angerman committed Oct 31, 2017
    Configuration menu
    Copy the full SHA
    90dd2fb View commit details
    Browse the repository at this point in the history
  5. Adds Builder boot file

    To solve mutual recursion issues.
    angerman committed Oct 31, 2017
    Configuration menu
    Copy the full SHA
    a02a9ff View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2017

  1. Builder with boot!

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    25fedd8 View commit details
    Browse the repository at this point in the history
  2. Staged cabal logic.

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    02df95c View commit details
    Browse the repository at this point in the history
  3. simplify pkgId lookup

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    3765f80 View commit details
    Browse the repository at this point in the history
  4. staged deps

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    311b9a6 View commit details
    Browse the repository at this point in the history
  5. Use cabalData

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    0b3d01a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    32c4489 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'master' into angerman/feature/reloc

    # Conflicts:
    #	src/Hadrian/Builder.hs
    #	src/Hadrian/Haskell/Cabal.hs
    #	src/Oracles/ModuleFiles.hs
    #	src/Rules/Compile.hs
    #	src/Rules/Dependencies.hs
    #	src/Rules/Install.hs
    #	src/Settings/Builders/Cc.hs
    #	src/Settings/Packages/Base.hs
    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    e5cf931 View commit details
    Browse the repository at this point in the history
  8. fix boot file

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    e87768a View commit details
    Browse the repository at this point in the history
  9. Cleanup Registration Rules

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    e264555 View commit details
    Browse the repository at this point in the history
  10. Fix package Id

    angerman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    a283101 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2017

  1. [dependencies] hadrian should *always* be compiled with the source-tr…

    …ee Cabal.
    
    As such I would argue that there should be no version bounds on the Cabal lib.
    angerman committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    4905eef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c6ac16 View commit details
    Browse the repository at this point in the history
  3. [GHC] Split packages.

    angerman committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    9869a60 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8819da9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    799e5bd View commit details
    Browse the repository at this point in the history
  6. Meh

    angerman committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    2d6bf90 View commit details
    Browse the repository at this point in the history
  7. parseCabal now with Context

    angerman committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    8e83afd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    efc8bc7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ee6f407 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2017

  1. Configuration menu
    Copy the full SHA
    d3a0dc0 View commit details
    Browse the repository at this point in the history
  2. [Package Data] DEP_LIB_DIR

    I'm unable to find any reference in the ghc source tree wrt DEP_LIB_DIRS_SINGLE_QUOTED
    angerman committed Nov 4, 2017
    Configuration menu
    Copy the full SHA
    19d984b View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2017

  1. Move Way into TYpes

    angerman committed Nov 5, 2017
    Configuration menu
    Copy the full SHA
    011ea7a View commit details
    Browse the repository at this point in the history
  2. Move Expression into Types

    angerman committed Nov 5, 2017
    Configuration menu
    Copy the full SHA
    afac41c View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2017

  1. Adds CabalFlags builder.

    A virtual builder to collect flags.
    angerman committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    44e1988 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b16999a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    649f455 View commit details
    Browse the repository at this point in the history
  4. break retain cycles.

    angerman committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    9b38535 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    acc5e7b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    615192d View commit details
    Browse the repository at this point in the history
  7. Cleanup parse

    angerman committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    e75834c View commit details
    Browse the repository at this point in the history
  8. Adds Types

    angerman committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    06c2969 View commit details
    Browse the repository at this point in the history
  9. Proper arguments.

    angerman committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    ab61392 View commit details
    Browse the repository at this point in the history
  10. Propper "need" dependency

    angerman committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    776ad49 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    40c3424 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2017

  1. Use CabalFlags

    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    12a0c56 View commit details
    Browse the repository at this point in the history
  2. Fix GMP

    do not depend on the pkgDataFile anymore.
    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    d732756 View commit details
    Browse the repository at this point in the history
  3. Cleanup Generate a bit.

    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    d512b30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94d8ab9 View commit details
    Browse the repository at this point in the history
  5. Cleanup

    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    c5e465c View commit details
    Browse the repository at this point in the history
  6. Drop backets

    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    b38fcd4 View commit details
    Browse the repository at this point in the history
  7. Drop stage0PackageDbDir

    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    5de0279 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f34c547 View commit details
    Browse the repository at this point in the history
  9. Lower stages.

    I'm still not convinced this is right. We do not have a stage2 now anymore, which feels wrong.
    
    Stage0/[bin,lib} - your stage 1 compiler built with the bootstrap compiler. (and so are the libs. Part of the libs is copied from the bootstrap compiler, and still points to the bootstrap compilers location)
    
    Stage1/{bin,lib} - your stage 2 compiler, built with the stage1 compielr from `stage0/bin/ghc`, all libs are built with the stage1 compiler from `stage0/bin/ghc`.
    
    Freeze stage1 now means, you basically ahve to freeze _build/stage0, because you actually want to build everything in stage1.
    angerman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    788214a View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2017

  1. Less custom logic.

    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    2d72f8e View commit details
    Browse the repository at this point in the history
  2. Adds packageDatabaseArgs

    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    a0d0728 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of git://github.com/snowleopard/hadrian into an…

    …german/feature/reloc
    
    # Conflicts:
    #	src/Rules/Compile.hs
    #	src/Settings.hs
    #	src/Settings/Builders/Ghc.hs
    #	src/Settings/Packages/Base.hs
    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    02e9db0 View commit details
    Browse the repository at this point in the history
  4. More needs

    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    fe47851 View commit details
    Browse the repository at this point in the history
  5. Do not force in-tree-gmp

    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    7b37f15 View commit details
    Browse the repository at this point in the history
  6. Drop ghc-cabal

    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    0253a7d View commit details
    Browse the repository at this point in the history
  7. Add phony "stage2" target.

    angerman committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    15f2c7f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2017

  1. Configuration menu
    Copy the full SHA
    01f5ebd View commit details
    Browse the repository at this point in the history
  2. Adds Data.Bitcode

    The llvm-ng backend.
    angerman committed Nov 10, 2017
    Configuration menu
    Copy the full SHA
    3a357f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2017

  1. Merge branch 'master' of git://github.com/snowleopard/hadrian into an…

    …german/feature/reloc
    
    # Conflicts:
    #	hadrian.cabal
    angerman committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    aa81fd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da424b3 View commit details
    Browse the repository at this point in the history
  3. Warning clean up

    angerman committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    764d008 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2017

  1. Adds binary-dist support

    angerman committed Nov 12, 2017
    Configuration menu
    Copy the full SHA
    610351a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    
    # Conflicts:
    #	cabal.project
    #	src/Settings/Packages/GhcCabal.hs
    angerman committed Nov 12, 2017
    Configuration menu
    Copy the full SHA
    36a0356 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    angerman committed Nov 12, 2017
    Configuration menu
    Copy the full SHA
    1e9fd7c View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2017

  1. Add QuickCrossNG flavour

    angerman committed Nov 13, 2017
    Configuration menu
    Copy the full SHA
    66b1c43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b920077 View commit details
    Browse the repository at this point in the history
  3. Better SemiMonoProp guards

    angerman committed Nov 13, 2017
    Configuration menu
    Copy the full SHA
    3387b7f View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2017

  1. No more GhcCabal

    angerman committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    681128e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5a7983 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ebbd32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d5bfac View commit details
    Browse the repository at this point in the history
  5. No more cUtil!

    angerman committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    6633cb7 View commit details
    Browse the repository at this point in the history
  6. Adds Hsc2Hs package flags.

    Use the `in-ghc-tree` flag to build a relocatable hsc2hs in the ghc/bin folder.
    angerman committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    c14cf2c View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    angerman committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    cc5f8a9 View commit details
    Browse the repository at this point in the history
  2. Drop install directory hack

    With haskell/cabal/#4892 this should not be necessary anymore.
    angerman committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    e2ab408 View commit details
    Browse the repository at this point in the history
  3. Make --build-root a configure flag.

    This resulted in quite a messy untangling of recursive module imports :(
    angerman committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    5907f14 View commit details
    Browse the repository at this point in the history
  4. Explicit Build Root

    See snowleopard#460. This tries to get rid of all `"//"` prefixes and replaces them by the explicit build root.
    angerman committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    cde14be View commit details
    Browse the repository at this point in the history
  5. Fix GhcPkg CabalFlags

    angerman committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    aab96a3 View commit details
    Browse the repository at this point in the history
  6. Cleanup Part 1

    angerman committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    e5fbb95 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2017

  1. Configuration menu
    Copy the full SHA
    92f4077 View commit details
    Browse the repository at this point in the history
  2. Clean up rules

    Use `<//>` wherer needed.
    E.g. if we need to match `$build/../$tail` we need to use `root <//> tail`.
    Where the missing part is usually the stage string.
    angerman committed Nov 16, 2017
    Configuration menu
    Copy the full SHA
    d47fab7 View commit details
    Browse the repository at this point in the history
  3. ios *is* cross

    angerman committed Nov 16, 2017
    Configuration menu
    Copy the full SHA
    796a118 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6cfbc68 View commit details
    Browse the repository at this point in the history
  5. Cleanup Package Settings.

    This is just getting hard to work with.
    angerman committed Nov 16, 2017
    Configuration menu
    Copy the full SHA
    2bcd5ab View commit details
    Browse the repository at this point in the history
  6. Cleanup Program Rules.

    angerman committed Nov 16, 2017
    Configuration menu
    Copy the full SHA
    9f17f3a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70b8c95 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f4362a View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2017

  1. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    
    # Conflicts:
    #	cabal.project
    angerman committed Nov 18, 2017
    Configuration menu
    Copy the full SHA
    274b135 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1e3969 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e648dc3 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2017

  1. Configuration menu
    Copy the full SHA
    466e4a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bcdcbe View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    angerman committed Nov 19, 2017
    Configuration menu
    Copy the full SHA
    711a083 View commit details
    Browse the repository at this point in the history
  4. casing

    angerman committed Nov 19, 2017
    Configuration menu
    Copy the full SHA
    a8f4526 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2017

  1. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    
    # Conflicts:
    #	cabal.project
    #	hadrian.cabal
    #	src/Rules/Compile.hs
    #	src/Rules/Dependencies.hs
    #	src/Settings/Builders/Ghc.hs
    #	src/Settings/Packages/GhcCabal.hs
    #	src/Utilities.hs
    angerman committed Nov 20, 2017
    Configuration menu
    Copy the full SHA
    648b2d2 View commit details
    Browse the repository at this point in the history
  2. Fix pkg.

    angerman committed Nov 20, 2017
    Configuration menu
    Copy the full SHA
    7260f74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    142e89c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    225139d View commit details
    Browse the repository at this point in the history
  5. Cleanup

    angerman committed Nov 20, 2017
    Configuration menu
    Copy the full SHA
    6474251 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2017

  1. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    ff7fc80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20b0604 View commit details
    Browse the repository at this point in the history
  3. Drop submodules.

    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    165bb85 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5597d62 View commit details
    Browse the repository at this point in the history
  5. Move LLVMNG stuff into their own flavours.

    This is *not* a user flavour. This is a custom flavour. I don't want to loose this with the subtree/submodule switch every time.
    
    Unearthed another issue: as we require to know all `knownPackages` before hand, we can't simply aggregate the packages from the flavours. That would be really nice to have. The only solution I see is to drop the generation of explicit rules in favour of generic rules, from which we then figure out the package based on the matched path. I'm not sure about the performance impact here though.
    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    b94742a View commit details
    Browse the repository at this point in the history
  6. Nuke Oracles.PackageData

    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    341d962 View commit details
    Browse the repository at this point in the history
  7. Drop Ghc Settings query.

    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    cdf1c4c View commit details
    Browse the repository at this point in the history
  8. Un-SMP

    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    9de3df3 View commit details
    Browse the repository at this point in the history
  9. art*i*facts

    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    38a9163 View commit details
    Browse the repository at this point in the history
  10. Cleanup

    angerman committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    e75827e View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2017

  1. Configuration menu
    Copy the full SHA
    ab0a138 View commit details
    Browse the repository at this point in the history
  2. More leaf nodes.

    angerman committed Nov 24, 2017
    Configuration menu
    Copy the full SHA
    c26cba3 View commit details
    Browse the repository at this point in the history
  3. Fix Ar Args.

    angerman committed Nov 24, 2017
    Configuration menu
    Copy the full SHA
    38d20e1 View commit details
    Browse the repository at this point in the history
  4. Staged LD

    angerman committed Nov 24, 2017
    Configuration menu
    Copy the full SHA
    6f9a823 View commit details
    Browse the repository at this point in the history
  5. Disable stripping.

    angerman committed Nov 24, 2017
    Configuration menu
    Copy the full SHA
    b73601a View commit details
    Browse the repository at this point in the history
  6. Use target platform full!

    Otherwise platforms like `arm-linux-gnueabihf` will end up as `arm-unknown-linux` which is rather unfortunate.
    angerman committed Nov 24, 2017
    Configuration menu
    Copy the full SHA
    ad87a29 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2017

  1. Arm SMP Archs.

    angerman committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    00b6927 View commit details
    Browse the repository at this point in the history
  2. WIP

    angerman committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    cf8934a View commit details
    Browse the repository at this point in the history
  3. fix compilation

    angerman committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    268696c View commit details
    Browse the repository at this point in the history
  4. Make sure we pass -DNOSMP to rts.

    This does it in a double fashion. We configure `rts` with `-smp`, which should cause cabal to expose the cpp arg to `-DNOSMP`, but for good measure add it explicitly as well.
    
    Eventually we should migrate all those flags into the `.cabal` file. However the way dependent flags are going to be challenging as cabal has no concept of building `ways` of a library.
    angerman committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    0f5c3ca View commit details
    Browse the repository at this point in the history
  5. Make sure we actually read the .buildinfo files for ConfiguredCabal…

    … as well.
    
    Nasty bug. Ideally this should be an opaque API from cabal.
    
    ```
    getLocalBuildInfo :: FilePath -> LocalBuildInfo
    ```
    configure the package if needed, and return the lbi, including the updated package description (if needed).
    angerman committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    987c77c View commit details
    Browse the repository at this point in the history
  6. Adds ccOpts to hsc2hs.

    This is necessary for example if we try to compile `network`.
    angerman committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    7272bcb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4ae7d9a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    858ffed View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f38d55f View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2017

  1. Configuration menu
    Copy the full SHA
    e027f8f View commit details
    Browse the repository at this point in the history
  2. For cross compilers all stage2 programs are stage1 programs

    We can't run the stage2 programs on the build system anyway.
    angerman committed Nov 26, 2017
    Configuration menu
    Copy the full SHA
    c6ffd66 View commit details
    Browse the repository at this point in the history
  3. No --cross-safe for crossCompiling

    In general we migth want to consider dropping this altogether.
    
    hsc2hs apparently does *not* preprocess the file via the `cc` and the `clfags`. As such anything that's within `#ifdef`s that is not cross-safe, even though it's not relevant to the current compilation triggers cross-safe.
    angerman committed Nov 26, 2017
    Configuration menu
    Copy the full SHA
    bef861d View commit details
    Browse the repository at this point in the history
  4. Build -fghci ghci in stage0 for cross compilers.

    This *does* require to bootstrap with the same compiler.
    angerman committed Nov 26, 2017
    Configuration menu
    Copy the full SHA
    acb0955 View commit details
    Browse the repository at this point in the history
  5. cleanup

    angerman committed Nov 26, 2017
    Configuration menu
    Copy the full SHA
    09a801b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bbed8e3 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2017

  1. fast-llvm

    angerman committed Dec 1, 2017
    Configuration menu
    Copy the full SHA
    d1e5501 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2017

  1. Add libiserv to QuickWithNG

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    4c3cf61 View commit details
    Browse the repository at this point in the history
  2. Add type annotation.

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    940822b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5cdc9fb View commit details
    Browse the repository at this point in the history
  4. better include logic.

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    0d20aa0 View commit details
    Browse the repository at this point in the history
  5. No fail

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    d403356 View commit details
    Browse the repository at this point in the history
  6. unbreak unix.

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    6de8bcc View commit details
    Browse the repository at this point in the history
  7. More unix fixes

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    d1faf55 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    70bbb77 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b9cef84 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4983bd6 View commit details
    Browse the repository at this point in the history
  11. meh. -Werror hits again.

    angerman committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    ef6f26c View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2017

  1. -Werror again

    angerman committed Dec 5, 2017
    Configuration menu
    Copy the full SHA
    1a6d1f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a9d800 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6836fa View commit details
    Browse the repository at this point in the history
  4. indentation

    alpmestan committed Dec 5, 2017
    Configuration menu
    Copy the full SHA
    27896d4 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. Merge pull request #1 from alpmestan/alp/bindist-configure

    binary-dist configure/Makefile handling
    angerman committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    d32a251 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    
    # Conflicts:
    #	shell.nix
    #	src/Settings/Builders/Cc.hs
    #	src/Settings/Packages/Rts.hs
    angerman committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    b990b24 View commit details
    Browse the repository at this point in the history
  3. Cross always -fPIC

    This is definetly needed for the android cross compiler.
    angerman committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    8e0ff6a View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2017

  1. No shell for autoreconf.

    angerman committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    fbbab87 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. always fPIC

    angerman committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    26840be View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2017

  1. Merge branch 'master' of https://github.com/snowleopard/hadrian into …

    …angerman/feature/reloc
    
    # Conflicts:
    #	cabal.project
    #	src/Hadrian/Utilities.hs
    angerman committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    2f66255 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Configuration menu
    Copy the full SHA
    1239701 View commit details
    Browse the repository at this point in the history
  2. Add Show and Eq to BuildRoot.

    This seems to come up with 8.2.2.
    angerman committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    323212d View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Configuration menu
    Copy the full SHA
    6c401cf View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Configuration menu
    Copy the full SHA
    4374154 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4af3d50 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Configuration menu
    Copy the full SHA
    580c8a8 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Merge pull request #2 from alpmestan/alp/docs

    Fix documentation rules
    angerman committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    7b47daf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from alpmestan/alp/bindist-docs

    Ship docs in binary distributions
    angerman committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    84810b6 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2018

  1. Configuration menu
    Copy the full SHA
    13989a1 View commit details
    Browse the repository at this point in the history
  2. Update to repect new Cabal.

    angerman committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    b81a0fb View commit details
    Browse the repository at this point in the history
  3. More GMP fixes.

    angerman committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    19980b7 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. cleanup

    angerman committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    6b1d22d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into angerman/feature/reloc

    # Conflicts:
    #	src/Hadrian/Haskell/Cabal/Parse.hs
    angerman committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    65872d2 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. No versionsH

    angerman committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    0355054 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. iserv/libiserv logic

    angerman committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    f7db9b4 View commit details
    Browse the repository at this point in the history
  2. Adds -fllvmng flag

    angerman committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    e3d27af View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2018

  1. Profing flag

    angerman committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    9505159 View commit details
    Browse the repository at this point in the history
  2. Flags.

    angerman committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    f0a39fd View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. Merge branch 'master' of github.com:snowleopard/hadrian into angerman…

    …/feature/reloc
    
    # Conflicts:
    #	src/Base.hs
    #	src/Builder.hs
    #	src/GHC.hs
    #	src/Hadrian/Builder.hs
    #	src/Rules/Documentation.hs
    #	src/Rules/Install.hs
    #	src/Settings/Builders/Hsc2Hs.hs
    #	src/Settings/Builders/RunTest.hs
    angerman committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    674a286 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    025197c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #4 from alpmestan/angerman/feature/reloc

    Types.X modules become X.Type
    angerman committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    40709cc View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2018

  1. Merge branch 'master' of github.com:snowleopard/hadrian into angerman…

    …/feature/reloc
    
    # Conflicts:
    #	src/GHC.hs
    angerman committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    709c178 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2018

  1. Adds QuickCrossNCG flavour.

    angerman committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    b5d8e2d View commit details
    Browse the repository at this point in the history