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
9e7c0144
Commit
9e7c0144
authored
Mar 05, 2007
by
Ian Lynagh
Browse files
Don't hide what the Makefile is doing in prog006
parent
75bfde16
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/prog006/Makefile
View file @
9e7c0144
...
...
@@ -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
@
sed
"s@__IMPORT__@
`
pwd
`
@"
<pkg.conf.in
>
pkg.conf
@
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-no-recomp
A.hs
-i
$(TEST_HC)
--make
-package-name
test-1.0 B.C
-no-recomp
-v0
sed
"s@__IMPORT__@
`
pwd
`
@"
<pkg.conf.in
>
pkg.conf
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-no-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
-no-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.
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