Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7883b142
Commit
7883b142
authored
Jun 14, 2008
by
Ian Lynagh
Browse files
Use -fforce-recomp rather than -no-recomp
parent
73c168c7
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/config/ghc
View file @
7883b142
...
...
@@ -8,7 +8,7 @@ import re
#
config.compiler_type = 'ghc'
config.compiler = 'ghc'
config.compiler_always_flags = ['-
no
-recomp', '-dcore-lint', '-dcmm-lint']
config.compiler_always_flags = ['-
fforce
-recomp', '-dcore-lint', '-dcmm-lint']
config.hp2ps = 'hp2ps'
config.gs = 'gs'
...
...
testsuite/tests/ghc-regress/ghci/prog001/prog001.script
View file @
7883b142
...
...
@@ -25,13 +25,13 @@ main
main
-- compile D & reload
:shell $HC $HC_OPTS -
no
-recomp -c D.hs
:shell $HC $HC_OPTS -
fforce
-recomp -c D.hs
:reload
main
-- change D, recompile & reload
:shell cp D2.hs D.hs
:shell $HC $HC_OPTS -
no
-recomp -c D.hs
:shell $HC $HC_OPTS -
fforce
-recomp -c D.hs
:reload
:load A
...
...
testsuite/tests/ghc-regress/rename/prog006/Makefile
View file @
7883b142
...
...
@@ -16,12 +16,12 @@ include $(TOP)/mk/test.mk
# using the supplied Cabal configuration.
rn.prog006
:
$(TEST_HC)
--make
-package-name
test-1.0 B.C
-
no
-recomp
-v0
$(TEST_HC)
--make
-package-name
test-1.0 B.C
-
fforce
-recomp
-v0
sed
"s@__IMPORT__@
`
$(TOP)
/utils/pwd quadruple-backslash
`
@"
<pkg.conf.in
>
pkg.conf
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-
no
-recomp
A.hs
-i
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-
fforce
-recomp
A.hs
-i
# The -i clears the search path, so A.hs will find B.C from package test
#
-$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-
no
-recomp
Main.hs
-$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-
fforce
-recomp
Main.hs
# No -i when compiling Main, so a from-scratch search would find a home-pkg module B.C
# However, A.hi remembers that B.C came from package test, so all is ok.
testsuite/tests/ghc-regress/th/2014/Makefile
View file @
7883b142
...
...
@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/test.mk
2014
:
$(TEST_HC)
-
no
-recomp
-c
A.hs-boot
$(TEST_HC)
-
no
-recomp
-c
A.hs
$(TEST_HC)
-
no
-recomp
-c
B.hs
$(TEST_HC)
-
no
-recomp
-c
C.hs
$(TEST_HC)
-
fforce
-recomp
-c
A.hs-boot
$(TEST_HC)
-
fforce
-recomp
-c
A.hs
$(TEST_HC)
-
fforce
-recomp
-c
B.hs
$(TEST_HC)
-
fforce
-recomp
-c
C.hs
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