Skip to content
Snippets Groups Projects
  1. Jun 03, 2022
  2. Jun 02, 2022
  3. Jun 01, 2022
    • Richard Henderson's avatar
      Merge tag 'pull-testing-next-010622-3' of https://github.com/stsquad/qemu into staging · e2c2d575
      Richard Henderson authored
      Various testing updates
      
        - fix some gitlab container dependencies
        - report meson test results via JUnit
        - fix meson display of enabled cross compilers
        - convert more cross build containers to lcitool and Debian 11
        - re-factor cross compiler detection
        - use test cross-compilers for building ROMs
        - disable CI runs by default (see docs)
        - fix some broken links in development documentation
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmKXqXYACgkQ+9DbCVqe
      # KkTaogf+PpslFcqKzcT+CY2zkmen7+531fSHQ2oP6+lMPSuIDXi7jn/d/IXQ1gcI
      # BfCvnAsictBzBqCPNhKYd8zxZwdzSYT3QtRWR4D86G26tyL5Zsuw+HrXuja/af7A
      # RDULBl8HGKuZKY83QI1wTekjamfdFQeWn1t9051np5mPt0buPe4S3xELl0A/QGX+
      # f3H9hqYeQ+tb11a5KXEsbWrQqKRCNrjFKI2iKyz5rZa73Go0ODjHrtTfBccBNJv4
      # TBFxAW/XU+AUTI3vgtAsBIonEz7AcJyqlMffnx93GIttuChn5KRIIMPuz7Oztn89
      # OFHtGajs3DSEWjfEg9xncCaL7EFasA==
      # =9Iod
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 01 Jun 2022 11:01:26 AM PDT
      # gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [undefined]
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * tag 'pull-testing-next-010622-3' of https://github.com/stsquad/qemu
      
      : (33 commits)
        docs/devel: clean-up the CI links in the docs
        gitlab: don't run CI jobs in forks by default
        gitlab: convert build/container jobs to .base_job_template
        gitlab: convert static checks to .base_job_template
        gitlab: convert Cirrus jobs to .base_job_template
        gitlab: introduce a common base job template
        configure: remove unused variables from config-host.mak
        configure: enable cross compilation of vof
        configure: enable cross-compilation of optionrom
        configure: enable cross-compilation of s390-ccw
        configure: move symlink configuration earlier
        configure: include more binutils in tests/tcg makefile
        configure: introduce --cross-prefix-*=
        configure: handle host compiler in probe_target_compiler
        configure: add missing cross compiler fallbacks
        tests/tcg: merge configure.sh back into main configure script
        tests/tcg: correct target CPU for sparc32
        configure, meson: move symlinking of ROMs to meson
        build: do a full build before running TCG tests
        build: add a more generic way to specify make->ninja dependencies
        ...
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      e2c2d575
    • Alex Bennée's avatar
      docs/devel: clean-up the CI links in the docs · 7266ecce
      Alex Bennée authored
      
      There where some broken links so fix those up with proper references
      to the devel docs. I also did a little light copy-editing to reflect
      the current state and broke up a paragraph to reduce the "wall of
      text" effect.
      
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220527153603.887929-34-alex.bennee@linaro.org>
      7266ecce
    • Daniel P. Berrangé's avatar
      gitlab: don't run CI jobs in forks by default · 28357dc5
      Daniel P. Berrangé authored
      
      To preserve CI shared runner credits we don't want to run
      pipelines on every push.
      
      This sets up the config so that pipelines are never created
      for contributors by default. To override this the QEMU_CI
      variable can be set to a non-zero value. If set to 1, the
      pipeline will be created but all jobs will remain manually
      started. The contributor can selectively run jobs that they
      care about. If set to 2, the pipeline will be created and
      all jobs will immediately start.
      
      This behavior can be controlled using push variables
      
        git push -o ci.variable=QEMU_CI=1
      
      To make this more convenient define an alias
      
         git config --local alias.push-ci "push -o ci.variable=QEMU_CI=1"
         git config --local alias.push-ci-now "push -o ci.variable=QEMU_CI=2"
      
      Which lets you run
      
        git push-ci
      
      to create the pipeline, or
      
        git push-ci-now
      
      to create and run the pipeline
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220526110705.59952-6-berrange@redhat.com>
      [AJB: fix typo, replicate alias tips in ci.rst]
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220527153603.887929-33-alex.bennee@linaro.org>
      28357dc5
    • Daniel P. Berrangé's avatar
      gitlab: convert build/container jobs to .base_job_template · e312d1fd
      Daniel P. Berrangé authored
      
      This converts the main build and container jobs to use the
      base job rules, defining the following new variables
      
       - QEMU_JOB_SKIPPED - jobs that are known to be currently
         broken and should not be run. Can still be manually
         launched if desired.
      
       - QEMU_JOB_AVOCADO - jobs that run the Avocado integration
         test harness.
      
       - QEMU_JOB_PUBLISH - jobs that publish content after the
         branch is merged upstream
      
      As build-tools-and-docs runs on master we declare the requirement of
      building amd64-debian-container optional as it should already exits
      once we merge.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220526110705.59952-5-berrange@redhat.com>
      [AJB: fix upstream typo, mention optional container req]
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220527153603.887929-32-alex.bennee@linaro.org>
      e312d1fd
    • Daniel P. Berrangé's avatar
      gitlab: convert static checks to .base_job_template · 16fee101
      Daniel P. Berrangé authored
      
      This folds the static checks into using the base job
      template rules, introducing one new variable
      
       - QEMU_JOB_ONLY_FORKS - a job that should never run
         on an upstream pipeline. The information it reports
         is only applicable to contributors in a pre-submission
         scenario, not time of merge.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220526110705.59952-4-berrange@redhat.com>
      [AJB: fix typo]
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220527153603.887929-31-alex.bennee@linaro.org>
      16fee101
    • Daniel P. Berrangé's avatar
      gitlab: convert Cirrus jobs to .base_job_template · 00125414
      Daniel P. Berrangé authored
      
      This folds the Cirrus job rules into the base job
      template, introducing two new variables
      
        - QEMU_JOB_CIRRUS - identifies the job as making
          use of Cirrus CI via cirrus-run
      
        - QEMU_JOB_OPTIONAL - identifies the job as one
          that is not run by default, primarily due to
          resource constraints. It can be manually invoked
          by users if they wish to validate that scenario.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220526110705.59952-3-berrange@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220527153603.887929-30-alex.bennee@linaro.org>
      00125414
    • Daniel P. Berrangé's avatar
      gitlab: introduce a common base job template · 6a0e7ea7
      Daniel P. Berrangé authored
      
      Currently job rules are spread across the various templates
      and jobs, making it hard to understand exactly what runs in
      what scenario. This leads to inconsistency in the rules and
      increased maint burden.
      
      The intent is that we introduce a common '.base_job_template'
      which will have a general purpose 'rules:' block. No other
      template or job should define 'rules:', but instead they must
      rely on the inherited rules. To allow behaviour to be tweaked,
      rules will be influenced by a number of variables with the
      naming scheme 'QEMU_JOB_nnnn'.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220526110705.59952-2-berrange@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220527153603.887929-29-alex.bennee@linaro.org>
      6a0e7ea7
    • Paolo Bonzini's avatar
      configure: remove unused variables from config-host.mak · f21db426
      Paolo Bonzini authored
      
      The only compiler variable that is still needed is $(CC), for
      contrib/plugins/Makefile.  All firmware builds have their own
      config-host.mak file.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <20220517092616.1272238-17-pbonzini@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20220527153603.887929-28-alex.bennee@linaro.org>
      f21db426
    • Paolo Bonzini's avatar
      configure: enable cross compilation of vof · d695918f
      Paolo Bonzini authored
      
      While container-based cross compilers are not supported, this already
      makes it possible to build vof on any machine that has an installation
      of GCC and binutils for 32- or 64-bit PowerPC.
      
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <20220517092616.1272238-16-pbonzini@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20220527153603.887929-27-alex.bennee@linaro.org>
      d695918f
    • Paolo Bonzini's avatar
      configure: enable cross-compilation of optionrom · 33ab4787
      Paolo Bonzini authored
      
      While container-based cross compilers are not supported, this already makes
      it possible to build x86 optionroms on any machine that has an installation
      of GCC and binutils for 32- or 64-bit x86.
      
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <20220517092616.1272238-15-pbonzini@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20220527153603.887929-26-alex.bennee@linaro.org>
      33ab4787
Loading