Another hadrian option you might want to use

Hi, A recent change in the testsuite meant that we now running the haddock tests with hadrian, this means that haddocks for ghc/base get rebuilt if you modify anything in the compiler. This can decrease interaction speed. To disable the documentation tests from running use --docs=none This is similar to the flag which already skips performance tests: --skip-perf Cheers, Matt

Hello Matthew,
Perhaps it would be too niche of a resource, but what about collecting
these options either in a Wiki page in GHC or maybe a short blog post on
your website (if that's not the case already)? I personally use
`--flavour=default+no_profiled_libs+omit_pragmas` all the time with Hadrian
these days once you made me discover that magic incantation, but I am
essentially relying on my bash history or my search capabilities within
this mailing list.
I could imagine how other people might have missed your original email, and
it would be great if we could have this shared somewhere in a more
discoverable way.
Alfredo
On Wed, 20 Oct 2021 at 12:59, Matthew Pickering
Hi,
A recent change in the testsuite meant that we now running the haddock tests with hadrian, this means that haddocks for ghc/base get rebuilt if you modify anything in the compiler.
This can decrease interaction speed. To disable the documentation tests from running use
--docs=none
This is similar to the flag which already skips performance tests:
--skip-perf
Cheers,
Matt _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

A cheat sheet on the wiki linking to different build system tricks is a great idea! On Thu, Oct 21, 2021 at 2:23 AM Alfredo Di Napoli < alfredo.dinapoli@gmail.com> wrote:
Hello Matthew,
Perhaps it would be too niche of a resource, but what about collecting these options either in a Wiki page in GHC or maybe a short blog post on your website (if that's not the case already)? I personally use `--flavour=default+no_profiled_libs+omit_pragmas` all the time with Hadrian these days once you made me discover that magic incantation, but I am essentially relying on my bash history or my search capabilities within this mailing list.
I could imagine how other people might have missed your original email, and it would be great if we could have this shared somewhere in a more discoverable way.
Alfredo
On Wed, 20 Oct 2021 at 12:59, Matthew Pickering < matthewtpickering@gmail.com> wrote:
Hi,
A recent change in the testsuite meant that we now running the haddock tests with hadrian, this means that haddocks for ghc/base get rebuilt if you modify anything in the compiler.
This can decrease interaction speed. To disable the documentation tests from running use
--docs=none
This is similar to the flag which already skips performance tests:
--skip-perf
Cheers,
Matt _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Perhaps it would be too niche of a resource, but what about collecting these options either in a Wiki page in GHC
In the interests of "done now is better than perfect later," I have added a note about these options to https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian. This is where the command
`--flavour=default+no_profiled_libs+omit_pragmas`
is already documented. Norman

Is there a reason to not add (some of) these to the flavor=Quick?
—
Best, Artem
On Thu, Oct 21, 2021 at 11:18 AM Norman Ramsey
Perhaps it would be too niche of a resource, but what about collecting these options either in a Wiki page in GHC
In the interests of "done now is better than perfect later," I have added a note about these options to https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian. This is where the command
`--flavour=default+no_profiled_libs+omit_pragmas`
is already documented.
Norman _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (5)
-
Alfredo Di Napoli
-
Artem Pelenitsyn
-
Carter Schonwald
-
Matthew Pickering
-
Norman Ramsey