Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
330e3bb7
Commit
330e3bb7
authored
Sep 04, 2007
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't generate .hi-boot/.o-boot files in GHCi
parent
423ed147
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
compiler/main/DriverPipeline.hs
compiler/main/DriverPipeline.hs
+7
-8
No files found.
compiler/main/DriverPipeline.hs
View file @
330e3bb7
...
...
@@ -163,7 +163,8 @@ compile hsc_env mod_summary maybe_old_linkable old_iface mod_index nmods = do
return
(
CompOK
details
iface
maybe_old_linkable
)
handleBatch
(
HscRecomp
hasStub
,
iface
,
details
)
|
isHsBoot
src_flavour
=
do
SysTools
.
touch
dflags'
"Touching object file"
=
do
when
(
isObjectTarget
hsc_lang
)
$
-- interpreted reaches here too
SysTools
.
touch
dflags'
"Touching object file"
object_filename
return
(
CompOK
details
iface
Nothing
)
|
otherwise
...
...
@@ -211,13 +212,11 @@ compile hsc_env mod_summary maybe_old_linkable old_iface mod_index nmods = do
Just
result
->
handle
result
-- run the compiler
case
hsc_lang
of
HscInterpreted
|
not
(
isHsBoot
src_flavour
)
-- We can't compile boot files to
-- bytecode so don't even try.
->
runCompiler
hscCompileInteractive
handleInterpreted
HscNothing
->
runCompiler
hscCompileNothing
handleBatch
_other
->
runCompiler
hscCompileBatch
handleBatch
HscInterpreted
|
isHsBoot
src_flavour
->
runCompiler
hscCompileNothing
handleBatch
|
otherwise
->
runCompiler
hscCompileInteractive
handleInterpreted
HscNothing
->
runCompiler
hscCompileNothing
handleBatch
_other
->
runCompiler
hscCompileBatch
handleBatch
-----------------------------------------------------------------------------
-- stub .h and .c files (for foreign export support)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment