Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
ecc60710
Commit
ecc60710
authored
Jul 09, 2010
by
Ian Lynagh
Browse files
Move a bit of build system code
parent
75736ff2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
ecc60710
...
...
@@ -591,18 +591,6 @@ ifneq "$(findstring $(phase),0 1 2)" ""
ghc_stage1_DISABLE
=
YES
endif
ifneq
"$(CLEANING)" "YES"
ifeq
"$(INTEGER_LIBRARY)" "integer-gmp"
libraries/
base_dist-install_CONFIGURE_OPTS
+=
--flags
=
-integer-simple
else
ifeq
"$(INTEGER_LIBRARY)" "integer-simple"
libraries/
base_dist-install_CONFIGURE_OPTS
+=
--flags
=
integer-simple
else
$(error Unknown integer library
:
$(INTEGER_LIBRARY))
endif
endif
endif
ifneq
"$(findstring $(phase),0 1 2 3)" ""
# In phases 0-3, we disable stage2-3, the full libraries and haddock
utils/
haddock_dist_DISABLE
=
YES
...
...
@@ -620,6 +608,18 @@ $(foreach lib,$(PACKAGES) $(PACKAGES_STAGE2),$(eval \
libraries/
$(lib)_dist-install_DISABLE
=
YES
))
endif
ifneq
"$(CLEANING)" "YES"
ifeq
"$(INTEGER_LIBRARY)" "integer-gmp"
libraries/
base_dist-install_CONFIGURE_OPTS
+=
--flags
=
-integer-simple
else
ifeq
"$(INTEGER_LIBRARY)" "integer-simple"
libraries/
base_dist-install_CONFIGURE_OPTS
+=
--flags
=
integer-simple
else
$(error Unknown integer library
:
$(INTEGER_LIBRARY))
endif
endif
endif
# These packages don't pass the Cabal checks because hs-source-dirs
# points outside the source directory. This isn't a real problem in
# these cases, so we just skip checking them.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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