Skip to content
Snippets Groups Projects
  1. Jan 13, 2024
  2. Dec 01, 2023
  3. Nov 24, 2023
  4. Nov 23, 2023
  5. Nov 08, 2023
  6. Oct 31, 2023
  7. Oct 12, 2023
  8. Oct 11, 2023
  9. Sep 20, 2023
  10. Aug 30, 2023
    • Thomas Huth's avatar
      .gitlab-ci.d/cirrus.yml: Update FreeBSD to v13.2 · e05a4bea
      Thomas Huth authored
      
      The FreeBSD CI job started to fail due to linking problems ... time
      to update to the latest version to get this fixed.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20230823144533.230477-1-thuth@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20230829161528.2707696-6-alex.bennee@linaro.org>
      e05a4bea
    • Daniel P. Berrangé's avatar
      gitlab: enable ccache for many build jobs · 2f7350cd
      Daniel P. Berrangé authored
      
      The `ccache` tool can be very effective at reducing compilation times
      when re-running pipelines with only minor changes each time. For example
      a fresh 'build-system-fedora' job will typically take 20 minutes on the
      gitlab.com shared runners. With ccache this is reduced to as little as
      6 minutes.
      
      Normally meson would auto-detect existance of ccache in $PATH and use
      it automatically, but the way we wrap meson from configure breaks this,
      as we're passing in an config file with explicitly set compiler paths.
      Thus we need to add $CCACHE_WRAPPERSPATH to the front of $PATH. For
      unknown reasons if doing this in msys though, gcc becomes unable to
      invoke 'cc1' when run from meson. For msys we thus set CC='ccache gcc'
      before invoking 'configure' instead.
      
      A second problem with msys is that cache misses are incredibly
      expensive, so enabling ccache massively slows down the build when
      the cache isn't well populated. This is suspected to be a result of
      the cost of spawning processes under the msys architecture. To deal
      with this we set CCACHE_DEPEND=1 which enables ccache's 'depend_only'
      strategy. This avoids extra spawning of the pre-processor during
      cache misses, with the downside that is it less likely ccache will
      find a cache hit after semantically benign compiler flag changes.
      This is the lesser of two evils, as otherwise we can't use ccache
      at all under msys and remain inside the job time limit.
      
      If people are finding ccache to hurt their pipelines, it can be
      disabled by setting the 'CCACHE_DISABLE=1' env variable against
      their gitlab fork CI settings.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-Id: <20230804111054.281802-2-berrange@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20230829161528.2707696-2-alex.bennee@linaro.org>
      2f7350cd
  11. Aug 28, 2023
    • Paolo Bonzini's avatar
      tests/docker: add python3-tomli dependency to containers · 7ace2193
      Paolo Bonzini authored
      
      Instead of having CI pick tomli from the vendored wheel at configure
      time, place it in the containers.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      7ace2193
    • Paolo Bonzini's avatar
      Revert "tests: Use separate virtual environment for avocado" · c03f57fd
      Paolo Bonzini authored
      This reverts commit e8e4298f.
      
      ensuregroup allows to specify both the acceptable versions of avocado,
      and a locked version to be used when avocado is not installed as a system
      pacakge.  This lets us install avocado in pyvenv/ using "mkvenv.py" and
      reuse the distro package on Fedora and CentOS Stream (the only distros
      where it's available).
      
      ensuregroup's usage of "(>=..., <=...)" constraints when evaluating
      the distro package, and "==" constraints when installing it from PyPI,
      makes it possible to avoid conflicts between the known-good version and
      a package plugins included in the distro.
      
      This is because package plugins have "==" constraints on the version
      that is included in the distro, and, using "pip install avocado==88.1"
      on a venv that includes system packages will result in an error:
      
         avocado-framework-plugin-varianter-yaml-to-mux 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.
         avocado-framework-plugin-result-html 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.
      
      But at the same time, if the venv does not include a system distribution
      of avocado then we can install a known-good version and stick to LTS
      releases.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1663
      
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      c03f57fd
  12. Aug 04, 2023
  13. Aug 03, 2023
  14. Jul 03, 2023
Loading