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
05867fad
Commit
05867fad
authored
Oct 09, 2009
by
Ian Lynagh
Browse files
Drop "NEW_BUILD_SYSTEM_" prefix on Makefile variable names
parent
14a2201f
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/mk/boilerplate.mk
View file @
05867fad
...
...
@@ -53,19 +53,19 @@ endef
ifeq
"$(TEST_HC)" ""
NEW_BUILD_SYSTEM_
STAGE1_GHC
:=
$(
abspath
$(TOP)
/../inplace/bin/ghc-stage1
)
NEW_BUILD_SYSTEM_
STAGE2_GHC
:=
$(
abspath
$(TOP)
/../inplace/bin/ghc-stage2
)
NEW_BUILD_SYSTEM_
STAGE3_GHC
:=
$(
abspath
$(TOP)
/../inplace/bin/ghc-stage3
)
ifneq
"$(wildcard $(
NEW_BUILD_SYSTEM_STAGE1_GHC) $(NEW_BUILD_SYSTEM_
STAGE1_GHC).exe)" ""
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
:=
$(
NEW_BUILD_SYSTEM_
STAGE1_GHC)
TEST_HC
:=
$(STAGE1_GHC)
else
ifeq
"$(stage)" "3"
TEST_HC
:=
$(
NEW_BUILD_SYSTEM_
STAGE3_GHC)
TEST_HC
:=
$(STAGE3_GHC)
else
# use stage2 by default
TEST_HC
:=
$(
NEW_BUILD_SYSTEM_
STAGE2_GHC)
TEST_HC
:=
$(STAGE2_GHC)
endif
endif
...
...
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