Skip to content

cabal-validate: Build products are not shared with cabal build #10567

Open
@9999years

Description

validate.sh creates a custom dist-newstyle directory, but won't reuse build products from cabal build, even for the same compiler, forcing pointless rebuilds.

Proposal: If no --with-compiler is passed and the dist-newstyle-validate-* directory doesn't exist, cabal-validate should copy dist-newstyle to dist-newstyle-validate-* as a starting point. Should this be the default?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    cabal-validatevalidate.sh (cabal-validate) test suite runnermeta: trackingre: devxImproving the cabal developer experience (internal issue)type: testingIssues about project test suites

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions