#5457: Please whitelist architectures supporting registered builds
---------------------------------+------------------------------------------
Reporter: nomeata | Owner:
Type: feature request | Status: new
Priority: normal | Component: Build System
Version: 7.2.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Hi,
the {{{debian/rules}}} file contains this snippet:
{{{
ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64 kfreebsd-i386 kfreebsd-
amd64 powerpc))
echo "GhcUnregisterised=NO" >> mk/build.mk
else
echo "GhcUnregisterised=YES" >> mk/build.mk
endif
}}}
which decides whether to do a registered or unregistered build. Obviously,
three is nothing Debian specific about it, and it seems to me as if the
ghc build system should already know whether a given architecture supports
registered builds or not. In fact, in {{{mk/config.mk}}}, I see this code:
{{{
ifneq "$(findstring $(HostArch_CPP), alpha hppa)" ""
GhcUnregisterised=YES
else
GhcUnregisterised=NO
endif
}}}
Maybe either this list could be extended or, probably more useful, the
logic inverted an all architectures _with_ support for registered builds
entered.
BTW, {{{OsSupportsGHCi}}} in that file should also include
{{{kfreebsdgnu}}}.
Thanks,
Joachim
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5457>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs