Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
4117eb40
Commit
4117eb40
authored
Oct 05, 2000
by
simonmar
Browse files
[project @ 2000-10-05 13:25:03 by simonmar]
oops, need to touch the .o file if compilation was NOT required
parent
e9109f65
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/driver/Main.hs
View file @
4117eb40
{-# OPTIONS -W -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.6
2
2000/10/0
3
1
6:51:57 sewardj
Exp $
-- $Id: Main.hs,v 1.6
3
2000/10/0
5
1
3:25:03 simonmar
Exp $
--
-- GHC Driver program
--
...
...
@@ -1821,7 +1821,9 @@ run_phase Hsc basename suff input_fn output_fn
-- check whether compilation was performed, bail out if not
b
<-
doesFileExist
output_fn
if
not
b
&&
not
(
null
source_unchanged
)
-- sanity
then
return
False
then
do
run_something
"Touching object file"
(
"touch "
++
output_fn
)
return
False
else
do
-- carry on...
-- Generate -Rghc-timing info
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment