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
84117811
Commit
84117811
authored
3 years ago
by
Gershom Bazerman
Browse files
Options
Downloads
Patches
Plain Diff
don't consider test flags in reconfigure check
parent
57f5a7f8
Branches
gb/no-reconfigure-test-flags
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-install/src/Distribution/Client/ProjectBuilding.hs
+14
-1
14 additions, 1 deletion
cabal-install/src/Distribution/Client/ProjectBuilding.hs
with
14 additions
and
1 deletion
cabal-install/src/Distribution/Client/ProjectBuilding.hs
+
14
−
1
View file @
84117811
...
...
@@ -379,6 +379,12 @@ packageFileMonitorKeyValues elab =
-- do not affect the configure step need to be nulled out. Those parts are
-- the specific targets that we're going to build.
--
-- Additionally we null out the parts that don't affect the configure step because they're simply
-- about how tests or benchmarks are run
-- TODO there may be more things to null here too, in the future.
elab_config
::
ElaboratedConfiguredPackage
elab_config
=
elab
{
...
...
@@ -387,7 +393,14 @@ packageFileMonitorKeyValues elab =
elabBenchTargets
=
[]
,
elabReplTarget
=
Nothing
,
elabHaddockTargets
=
[]
,
elabBuildHaddocks
=
False
elabBuildHaddocks
=
False
,
elabTestMachineLog
=
Nothing
,
elabTestHumanLog
=
Nothing
,
elabTestShowDetails
=
Nothing
,
elabTestKeepTix
=
False
,
elabTestTestOptions
=
[]
,
elabBenchmarkOptions
=
[]
}
-- The second part is the value used to guard the build step. So this is
...
...
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