This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Provide legacy interface #255
Labels
Milestone
Comments
@hvr Many thanks for documenting this! Providing a Starting by forwarding |
I have added a sdist-ghc rule to hadrian (see here). @hvr @snowleopard maybe you can have a look at it and tell me if the direction I am heading makes sense to you. @snowleopard if you like you can assign this ticket to me. |
@snowleopard What do you think about the urgency of this before merging with GHC? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've mentioned this already elsewhere, but I think this deserves a ticket of its own:
When we switch over to Hadrian as the only buildsystem, there needs to be a legacy interface in place so that existing ci-build-scripts & deb/rpm recipes (which currently work back till at least GHC 7.0) have a chance continuing to work without having to special-case post-Hadrian GHC trees. This specifically means that the sequence of commands such as
needs to produce a tarball in
./sdistprep
Moreover, for the resulting source-tarball we need a sequence such as (radically simplified, the Debian packaging scripts do actually a lot more, and a assume a conventional autoconf/makefile interface while doing so -- diverging from that causes pain as we can't reuse debhelper's scriptlets which rely on that assumption)
to keep working. So the minimal basic interface for source-tarballs is
ENVVARS=.. ./configure $flags
+make {(all),install,clean}
, and this needs to be provided unless we want CI-bots & packaging to breakPS: we also need
make dist-clean
make maintainer-clean
make test
The text was updated successfully, but these errors were encountered: