Skip to content
Snippets Groups Projects
  1. Oct 29, 2015
    • Thomas Miedema's avatar
      Revert "Build system: don't create mk/are-validating.mk" · fa587316
      Thomas Miedema authored
      Summary:
      This reverts commit aecf4a5f.
      
      It turns out the Simons are relying on 'mk/are-validating.mk', see
      D1307.
      
      The workflow they are using is:
        * run ./validate
        * find a bug in the compiler
        * try to fix the bug, running 'make 1' (or 'make 2') repeatedly. Because
          of 'mk/are-validating.mk', this uses the same build settings as validate.
        * continue ./validate (--no-clean)
      
      I suggested two alternatives:
      
        A. run 'make 1 Validating=YES' instead of 'make 1'
      
           Problem: when running `./validate --fast` or `./validate --hpc`
           instead of a normal `./validate`, validate sets ValidateSpeed and
           ValdateHpc in mk/are-validating.mk. You would for example have to run
           'make 1 Validating=YES ValidateSpeed=FAST' instead of 'make 1' to get the
           same build settings as `./validate --fast`, which is entirely too long and
           error prone.
      
        B. uncomment `#BuildFlavour=validate` in mk/build.mk, and include
           'mk/validate.mk'.
      
           Problems:
            * any other settings you have in build.mk will also get used.
            * the distinction between 'mk/validate.mk' and 'mk/build.mk' becomes less
              clear.
            * it is easy to forget to include 'mk/validate.mk'.
            * the build system again doesn't have access to the ValidateSpeed and
              ValdateHpc settings set by validate.
      
      Neither of these two options is entirely satisfactory.
      
      Reviewers: austin, bgamari
      
      Differential Revision: https://phabricator.haskell.org/D1383
      fa587316
  2. Oct 04, 2015
  3. Sep 07, 2015
  4. Feb 18, 2013
  5. Feb 15, 2013
    • Gabor Greif's avatar
      Allow different customizations per cross target · b2a9fbfe
      Gabor Greif authored
      by obtaining GlobalCrossCompilePrefix from mk/config.mk and
      using that to include mk/$(GlobalCrossCompilePrefix)build.mk
      instead of mk/build.mk when present.
      
      Note: GlobalCrossCompilePrefix is basically the same
            as CrossCompilePrefix, but does not depend on $(phase).
      b2a9fbfe
  6. Aug 01, 2009
  7. Apr 26, 2009
  8. Aug 17, 2008
    • Ian Lynagh's avatar
      Change how we know whether or not we are validating · 6594f91c
      Ian Lynagh authored
      We now set Validating=YES in mk/are-validating.mk rather than on the
      commandline. This means that if you build a tree with validate then
      just running make in it will use the validate flags.
      "make distclean" removes mk/are-validating.mk, putting us back in
      standard build mode.
      6594f91c
  9. Sep 18, 2007
Loading