From: Paolo Bonzini <pbonzini@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>,
"John Snow" <jsnow@redhat.com>,
"Daniel P . Berrangé" <berrange@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Rene Engel" <ReneEngel80@emailn.de>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Beraldo Leal" <bleal@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Howard Spoelstra" <hsp.cat7@gmail.com>
Subject: Re: [PATCH 2/2] .gitlab-ci.d/cirrus: Add manual testing of macOS 14 (Sonoma)
Date: Thu, 9 Nov 2023 00:37:04 +0100 [thread overview]
Message-ID: <CABgObfZXaAT2CsN2LAZZ_8sszq+t+GvL-EH5mdxEFeSo5_GijQ@mail.gmail.com> (raw)
In-Reply-To: <20231108183251.80572-3-philmd@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 4723 bytes --]
Il mer 8 nov 2023, 19:33 Philippe Mathieu-Daudé <philmd@linaro.org> ha
scritto:
> Upgrade libvirt-ci so it covers macOS 14. Add a manual entry
> (QEMU_JOB_OPTIONAL: 1) to test on Sonoma release. Refresh the
> lci-tool generated files.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> Docs are disabled due to:
>
> Collecting sphinx
> Downloading sphinx-7.2.6-py3-none-any.whl.metadata (5.9 kB)
> Collecting sphinx-rtd-theme
> Downloading sphinx_rtd_theme-1.3.0-py2.py3-none-any.whl.metadata (4.5
> kB)
>
Same issue: the pip that is installing sphinx is unrelated to the Python
that is used to compile QEMU. Use /opt/homebrew/bin/pip3 instead.
Paolo
...
> Installing collected packages ...
> ...
> python determined to be '/opt/homebrew/bin/python3'
> python version: Python 3.11.6
> mkvenv: Creating non-isolated virtual environment at 'pyvenv'
> mkvenv: checking for sphinx>=1.6
> mkvenv: checking for sphinx_rtd_theme>=0.5
> ...
> Program /opt/homebrew/opt/python@3.12/bin/sphinx-build found: NO
> ../docs/meson.build:1:15: ERROR: Program '/opt/homebrew/opt/python@3.12/bin/sphinx-build'
> not found or not executable
>
> ¯\_(ツ)_/¯
> ---
> .gitlab-ci.d/cirrus.yml | 17 +++++++++++++++++
> .gitlab-ci.d/cirrus/macos-14.vars | 16 ++++++++++++++++
> tests/lcitool/libvirt-ci | 2 +-
> tests/lcitool/refresh | 1 +
> 4 files changed, 35 insertions(+), 1 deletion(-)
> create mode 100644 .gitlab-ci.d/cirrus/macos-14.vars
>
> diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml
> index 07dc6edae1..84ce143509 100644
> --- a/.gitlab-ci.d/cirrus.yml
> +++ b/.gitlab-ci.d/cirrus.yml
> @@ -74,6 +74,23 @@ aarch64-macos-13-base-build:
> PKG_CONFIG_PATH:
> /opt/homebrew/curl/lib/pkgconfig:/opt/homebrew/ncurses/lib/pkgconfig:/opt/homebrew/readline/lib/pkgconfig
> TEST_TARGETS: check-unit check-block check-qapi-schema
> check-softfloat check-qtest-x86_64
>
> +aarch64-macos-14-base-build:
> + extends: .cirrus_build_job
> + variables:
> + NAME: macos-14
> + CIRRUS_VM_INSTANCE_TYPE: macos_instance
> + CIRRUS_VM_IMAGE_SELECTOR: image
> + CIRRUS_VM_IMAGE_NAME: ghcr.io/cirruslabs/macos-sonoma-base:latest
> + CIRRUS_VM_CPUS: 12
> + CIRRUS_VM_RAM: 24G
> + UPDATE_COMMAND: brew update
> + INSTALL_COMMAND: brew install
> + PATH_EXTRA: /opt/homebrew/ccache/libexec:/opt/homebrew/gettext/bin
> + PKG_CONFIG_PATH:
> /opt/homebrew/curl/lib/pkgconfig:/opt/homebrew/ncurses/lib/pkgconfig:/opt/homebrew/readline/lib/pkgconfig
> + TEST_TARGETS: check-unit check-block check-qapi-schema
> check-softfloat check-qtest-x86_64
> + QEMU_JOB_OPTIONAL: 1
> + CONFIGURE_ARGS: --disable-docs
> +
>
> # The following jobs run VM-based tests via KVM on a Linux-based
> Cirrus-CI job
> .cirrus_kvm_job:
> diff --git a/.gitlab-ci.d/cirrus/macos-14.vars
> b/.gitlab-ci.d/cirrus/macos-14.vars
> new file mode 100644
> index 0000000000..43070f4a26
> --- /dev/null
> +++ b/.gitlab-ci.d/cirrus/macos-14.vars
> @@ -0,0 +1,16 @@
> +# THIS FILE WAS AUTO-GENERATED
> +#
> +# $ lcitool variables macos-14 qemu
> +#
> +# https://gitlab.com/libvirt/libvirt-ci
> +
> +CCACHE='/opt/homebrew/bin/ccache'
> +CPAN_PKGS=''
> +CROSS_PKGS=''
> +MAKE='/opt/homebrew/bin/gmake'
> +NINJA='/opt/homebrew/bin/ninja'
> +PACKAGING_COMMAND='brew'
> +PIP3='/opt/homebrew/bin/pip3'
> +PKGS='bash bc bison bzip2 capstone ccache cmocka ctags curl dbus
> diffutils dtc flex gcovr gettext git glib gnu-sed gnutls gtk+3 jemalloc
> jpeg-turbo json-c libepoxy libffi libgcrypt libiscsi libnfs libpng libslirp
> libssh libtasn1 libusb llvm lzo make meson mtools ncurses nettle ninja
> pixman pkg-config python3 rpm2cpio sdl2 sdl2_image snappy socat sparse
> spice-protocol swtpm tesseract usbredir vde vte3 xorriso zlib zstd'
> +PYPI_PKGS='PyYAML numpy pillow sphinx sphinx-rtd-theme tomli'
> +PYTHON='/opt/homebrew/bin/python3'
> diff --git a/tests/lcitool/libvirt-ci b/tests/lcitool/libvirt-ci
> index 36bc517161..77c800186f 160000
> --- a/tests/lcitool/libvirt-ci
> +++ b/tests/lcitool/libvirt-ci
> @@ -1 +1 @@
> -Subproject commit 36bc517161c45ead20224d47f2dc4fa428af6724
> +Subproject commit 77c800186f34b21be7660750577cc5582a914deb
> diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
> index 2259f131b4..e11d0ba381 100755
> --- a/tests/lcitool/refresh
> +++ b/tests/lcitool/refresh
> @@ -197,6 +197,7 @@ try:
> #
> generate_cirrus("freebsd-13")
> generate_cirrus("macos-13")
> + generate_cirrus("macos-14")
>
> #
> # VM packages lists
> --
> 2.41.0
>
>
[-- Attachment #2: Type: text/html, Size: 5971 bytes --]
prev parent reply other threads:[~2023-11-08 23:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-08 18:32 [RFC PATCH 0/2] buildsys: Use host meson on macOS Sonoma (14) Philippe Mathieu-Daudé
2023-11-08 18:32 ` [NOTFORMERGE PATCH 1/2] configure: Use distrib meson Philippe Mathieu-Daudé
2023-11-08 19:01 ` Peter Maydell
2023-11-08 19:52 ` BALATON Zoltan
2023-11-08 23:33 ` Paolo Bonzini
2023-11-08 18:32 ` [PATCH 2/2] .gitlab-ci.d/cirrus: Add manual testing of macOS 14 (Sonoma) Philippe Mathieu-Daudé
2023-11-08 23:37 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABgObfZXaAT2CsN2LAZZ_8sszq+t+GvL-EH5mdxEFeSo5_GijQ@mail.gmail.com \
--to=pbonzini@redhat.com \
--cc=ReneEngel80@emailn.de \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=bleal@redhat.com \
--cc=hsp.cat7@gmail.com \
--cc=jsnow@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).