Skip to content
Snippets Groups Projects
  1. Aug 28, 2023
  2. Aug 08, 2023
  3. Aug 06, 2023
  4. Aug 03, 2023
  5. Jul 11, 2023
  6. Jun 26, 2023
    • Paolo Bonzini's avatar
      git-submodule.sh: allow running in validate mode without previous update · 8edddaa2
      Paolo Bonzini authored
      
      The call to git-submodule.sh done in configure may happen without a
      previous checkout of the roms/SLOF submodule, or even without a
      previous run of the script.
      
      So, handle creating a .git-submodule-status file even in validate
      mode.  If git is absent, ensure that all passed directories exists
      (because you should be in a fresh untar and will not have stale
      arguments to git-submodule.sh) but do no other checks.  If git
      is present, ensure that .git-submodule-status contains an entry
      for all submodules passed on the command line.
      
      With this change, "ignore" mode is not needed anymore.
      
      Reported-by: default avatarNina Schoetterl-Glausch <nsg@linux.ibm.com>
      Fixes: b11f9bd9 ("configure: move SLOF submodule handling to pc-bios/s390-ccw", 2023-06-06)
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      8edddaa2
    • Paolo Bonzini's avatar
      build: further refine build.ninja rules · 6c5f893d
      Paolo Bonzini authored
      
      In commit b0fcc6fc ("build: rebuild build.ninja using
      "meson setup --reconfigure"", 2023-05-19) I changed the build.ninja
      rule in the Makefile to use "meson setup" so that the Makefile would
      pick up a changed path to the meson binary.
      
      However, there was a reason why build.ninja was rebuilt using $(NINJA)
      itself.  Namely, ninja has its own cache of file modification times,
      and if it does not know about the modification that was done outside
      its control, it will *also* try to regenerate build.ninja.  This can be
      simply by running "make" on a fresh tree immediately after "configure";
      that will trigger an unnecessary meson run.
      
      So, apply a refinement to the rule in order to cover both cases:
      
      - track the meson binary that was used (and that is embedded in
        build.ninja's reconfigure rules); to do this, write build.ninja.stamp
        right after executing meson successfully
      
      - if it changed, force usage of "$(MESON) setup --reconfigure" to
        update the path in the reconfigure rule
      
      - if it didn't change, use "$(NINJA) build.ninja" just like before
        commit b0fcc6fc.
      
      Reported-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Tested-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      6c5f893d
  7. Jun 07, 2023
  8. Jun 06, 2023
  9. May 26, 2023
  10. May 19, 2023
  11. May 18, 2023
Loading