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
a8c6f7a2
Commit
a8c6f7a2
authored
Oct 09, 2009
by
Ian Lynagh
Browse files
Tell the testsuite driver about the bindisttest GHC location
parent
05867fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/mk/boilerplate.mk
View file @
a8c6f7a2
...
...
@@ -56,18 +56,23 @@ ifeq "$(TEST_HC)" ""
STAGE1_GHC
:=
$(
abspath
$(TOP)
/../inplace/bin/ghc-stage1
)
STAGE2_GHC
:=
$(
abspath
$(TOP)
/../inplace/bin/ghc-stage2
)
STAGE3_GHC
:=
$(
abspath
$(TOP)
/../inplace/bin/ghc-stage3
)
ifneq
"$(wildcard $(STAGE1_GHC) $(STAGE1_GHC).exe)" ""
ifeq
"$(stage)" "1"
TEST_HC
:=
$(STAGE1_GHC)
ifeq
"$(BINDIST)" "YES"
ifeq
'$(shell $(STAGE1_GHC) --info | grep "^ ..\"Host OS\". \"mingw32\".$$")' ''
TEST_HC
:=
$(
abspath
$(TOP)
/../
)
/bindisttest/installed/bin/ghc
else
ifeq
"$(stage)" "3"
TEST_HC
:=
"
$(
abspath
$(TOP)
/../
)
/bindisttest/install dir/bin/ghc"
endif
else
ifeq
"$(stage)" "1"
TEST_HC
:=
$(STAGE1_GHC)
else
ifeq
"$(stage)" "3"
TEST_HC
:=
$(STAGE3_GHC)
else
# use stage2 by default
TEST_HC
:=
$(STAGE2_GHC)
endif
endif
else
TEST_HC
:=
$(
shell
which ghc
)
...
...
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