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
a40a3429
Commit
a40a3429
authored
9 years ago
by
Mikhail Glushenkov
Browse files
Options
Downloads
Plain Diff
Merge pull request #2758 from Yuras/hpc-in-ghci
Disable HPC in REPL for GHC
parents
83487036
c28d7826
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
Cabal/Distribution/Simple/GHC.hs
+2
-0
2 additions, 0 deletions
Cabal/Distribution/Simple/GHC.hs
with
2 additions
and
0 deletions
Cabal/Distribution/Simple/GHC.hs
+
2
−
0
View file @
a40a3429
...
...
@@ -448,6 +448,7 @@ buildOrReplLib forRepl verbosity numJobs pkg_descr lbi lib clbi = do
cname
=
display
$
PD
.
package
$
localPkgDescr
lbi
distPref
=
fromFlag
$
configDistPref
$
configFlags
lbi
hpcdir
way
|
forRepl
=
mempty
-- HPC is not supported in ghci
|
isCoverageEnabled
=
toFlag
$
Hpc
.
mixDir
distPref
way
cname
|
otherwise
=
mempty
...
...
@@ -728,6 +729,7 @@ buildOrReplExe forRepl verbosity numJobs _pkg_descr lbi
let
isCoverageEnabled
=
fromFlag
$
configCoverage
$
configFlags
lbi
distPref
=
fromFlag
$
configDistPref
$
configFlags
lbi
hpcdir
way
|
forRepl
=
mempty
-- HPC is not supported in ghci
|
isCoverageEnabled
=
toFlag
$
Hpc
.
mixDir
distPref
way
exeName'
|
otherwise
=
mempty
...
...
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