Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace collectRunComponents with haskellLib.check #316

Merged
merged 52 commits into from
Nov 29, 2019

Commits on Nov 14, 2019

  1. Add collectRunComponents. Move checkPhase to .run

    In order to make it easier to run tests this change adds a
    collectRunComponents function (like collectComponents but
    with it returns the `passthru.run` derivation for each component).
    
    This change also disables `checkPhase` for all components to avoid
    running the tests twice.  To run a test or benchmark you now have to
    use the the `passthru.run` derivation.
    hamishmack committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    8ae8b5a View commit details
    Browse the repository at this point in the history
  2. Reduce duplicate code

    hamishmack committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    349abfa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfb1699 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de8c4ad View commit details
    Browse the repository at this point in the history
  5. Update builder/comp-builder.nix

    Co-Authored-By: Rodney Lorrimar <rodney.lorrimar@iohk.io>
    hamishmack and rvl authored Nov 14, 2019
    Configuration menu
    Copy the full SHA
    b29de00 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47e0bb7 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. Configuration menu
    Copy the full SHA
    cee580c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42c7cce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a51248c View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2019

  1. improve speed of make-config-files (#318)

    caches `configure-flags`, `cabal.config`, and `ghc-environment` files
    per library in the nix store, so the `make-config-files` script just has
    to append them into the same named files for the package being built
    
    instead of using `ghc-pkg dump` and `ghc-pkg register` for each
    dependency, copies the `.conf` files from the dependencies
    `package.conf.d` directory and then uses a single `ghc-pkg recache`
    
    eliminate the call of `ghc-pkg check`
    
    suppress some output of `ghc-pkg` (not related to speed improvements,
    I'm flexible on rolling this bit back)
    
    in my tests, the make-config-files scripts now only take seconds, even
    for packages that have many many dependencies - prior to this change,
    this script took more than a minute for such packages
    Richard Wallace committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    848c395 View commit details
    Browse the repository at this point in the history
  2. use ld.gold by default on linux

    Richard Wallace committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    b68c60e View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. Configuration menu
    Copy the full SHA
    e6505d5 View commit details
    Browse the repository at this point in the history
  2. Just include checks for compontent.tests

    This is what most people will want and it means using collecting all the
    derivations with `release-lib.nix` will work without having to filter
    out `exes` and `benchmarks`.
    hamishmack committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    4d619a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b9fa13 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a43d302 View commit details
    Browse the repository at this point in the history
  5. Enable all tests again

    hamishmack committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    a9d867d View commit details
    Browse the repository at this point in the history
  6. Test IFD inputs only

    hamishmack committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    c54a039 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d8314a7 View commit details
    Browse the repository at this point in the history
  8. Enable all tests again

    hamishmack committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    b6975b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. Configuration menu
    Copy the full SHA
    cf15c36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77e0098 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8323b9c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d07ffb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    013c0fd View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2019

  1. Enable all tests again

    hamishmack committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    896854b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64afed9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ce1b29 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64689a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf5dc77 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    79a7f9f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bb5daae View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    37b9e11 View commit details
    Browse the repository at this point in the history
  9. Enable all tests again

    hamishmack committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    ec4a4eb View commit details
    Browse the repository at this point in the history
  10. ifdInputs only

    hamishmack committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    e8fae60 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c6ab443 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2019

  1. Configuration menu
    Copy the full SHA
    1dc1708 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1e0b92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8a044f View commit details
    Browse the repository at this point in the history
  4. ifdLevel = 1

    hamishmack committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    e861f35 View commit details
    Browse the repository at this point in the history
  5. ifdLevel = 2

    hamishmack committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    fff24e4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d8199c4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a321d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6021f5d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b79da5f View commit details
    Browse the repository at this point in the history
  10. Fix maintainer scripts

    hamishmack committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    4cf064f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    192737c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    27ce94c View commit details
    Browse the repository at this point in the history
  13. ifdLevel = 3

    hamishmack committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    c2be4ab View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Fix data-dir: when cleaning components

    `normalizeRelativeDir` adds a slash on to the end of `dataDir`.
    Adding another one here results in `//` and files are left out by
    mistake.
    hamishmack committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    344abd7 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2019

  1. Configuration menu
    Copy the full SHA
    fa15c3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46cd1a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d635a22 View commit details
    Browse the repository at this point in the history