Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
a124162e
Commit
a124162e
authored
6 years ago
by
kristenk
Browse files
Options
Downloads
Patches
Plain Diff
Use new-build for solver-debug-flags Travis job.
parent
0e3718c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
travis-solver-debug-flags.sh
+4
-11
4 additions, 11 deletions
travis-solver-debug-flags.sh
with
4 additions
and
11 deletions
travis-solver-debug-flags.sh
+
4
−
11
View file @
a124162e
#!/bin/sh
# Build cabal with solver debug flags enabled.
#
# We use a sandbox, because cabal-install-1.24.0.0's new-build command tries to
# build tracetree's dependencies with the inplace Cabal, which leads to compile
# errors. We also need to skip the tests, because debug-tracetree prints the
# whole solver tree as JSON.
# We need to skip the tests, because debug-tracetree prints the whole solver
# tree as JSON.
cabal update
cd
cabal-install
cabal sandbox init
cabal sandbox add-source ../Cabal
cabal
install
--dependencies-only
--constraint
"cabal-install +debug-tracetree +debug-conflict-sets"
cabal configure
--ghc-option
=
-Werror
--constraint
"cabal-install +debug-tracetree +debug-conflict-sets"
cabal build
cabal
install
happy
cabal new-build exe:cabal
--constraint
"cabal-install +debug-tracetree +debug-conflict-sets"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment