qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org, marcandre.lureau@redhat.com,
	richard.henderson@linaro.org, peter.maydell@linaro.org
Subject: Re: [PATCH 6/6] meson: subprojects: replace submodules with wrap files
Date: Fri, 19 May 2023 11:36:28 +0200	[thread overview]
Message-ID: <c2318be1-e69f-afde-2959-11728c81c79f@redhat.com> (raw)
In-Reply-To: <ZGdAezBL/QBX2DzX@redhat.com>

On 5/19/23 11:25, Daniel P. Berrangé wrote:

>   * dtc - the distro should always have it anyway
>   * libvfio-user - don't think this has found its way
>                    into any distros yet. So if we don't
> 		  bundle it, distros have to pacakge it
> 		  or re-bundle with their QEMU bulds

I think it's not ABI-stable either.

>   * keycodemapdb - has always been intended to be a copylib,
>                    not packaged separately by distros. In
> 		  retrospect I think this wa probably a
> 		  mistake. None the less today, it will
> 		  need to be re-bundled by distros if we
> 		  omitted it.
> 
> I think there's a decent case to be made for 'dtc' to be dropped
> from 'make-release', but keep the other two.

Sure.

>>
>>    script:
>>      - scripts/git-submodule.sh update
>>          $(sed -n '/GIT_SUBMODULES=/ s/.*=// p' build/config-host.mak)
>> +    - meson subprojects download $(cd build/subprojects && echo *)
> 
> Why is this addition needed ?  Isn't meson supposd to automatically
> download the wrapped subprojects it needs without explicit user
> action ?

Because this is the script for the test jobs; they don't get 
subprojects/ from the build artifacts, and they don't rerun "meson 
setup" either.  So "build/subprojects" is already populated but the 
source tree does not have the downloads.

"meson test" also runs submodule tests, and they fail.  See 
https://gitlab.com/bonzini/qemu/-/jobs/4309651149#L305 for an example.

>> @@ -296,6 +296,7 @@ option('capstone', type: 'feature', value: 'auto',
>>          description: 'Whether and how to find the capstone library')
>>   option('fdt', type: 'combo', value: 'auto',
>>          choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
>> +       deprecated: { 'git': 'internal' },
>>          description: 'Whether and how to find the libfdt library')
> 
> Do we need to deprecate this, as opposed to removing it ?
> 
> We've considered build time options to not be subject to a deprecation
> process, just documenting changes in the release notes.

No issue with that.  In this case it's so easy that I didn't bother.

Paolo



  reply	other threads:[~2023-05-19  9:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19  8:56 [PATCH v2 0/6] meson: use subprojects for bundled projects Paolo Bonzini
2023-05-19  8:56 ` [PATCH 1/6] remove remaining traces of meson submodule Paolo Bonzini
2023-05-19  9:02   ` Daniel P. Berrangé
2023-05-19  8:56 ` [PATCH 2/6] meson: simplify logic for -Dfdt Paolo Bonzini
2023-05-19  9:04   ` Daniel P. Berrangé
2023-05-19  8:56 ` [PATCH 3/6] meson: use subproject for internal libfdt Paolo Bonzini
2023-05-19  9:05   ` Daniel P. Berrangé
2023-05-19  8:56 ` [PATCH 4/6] meson: use subproject for keycodemapdb Paolo Bonzini
2023-05-19  9:06   ` Daniel P. Berrangé
2023-05-19  8:56 ` [PATCH 5/6] configure: rename --enable-pypi to --enable-download, control subprojects too Paolo Bonzini
2023-05-19  9:07   ` Daniel P. Berrangé
2023-05-19  8:56 ` [PATCH 6/6] meson: subprojects: replace submodules with wrap files Paolo Bonzini
2023-05-19  9:25   ` Daniel P. Berrangé
2023-05-19  9:36     ` Paolo Bonzini [this message]
2023-05-19  9:21 ` [PATCH v2 0/6] meson: use subprojects for bundled projects Peter Maydell
2023-05-19  9:28   ` Paolo Bonzini
2023-05-19  9:32   ` Daniel P. Berrangé
2023-05-19  9:38     ` Peter Maydell
2023-05-19  9:40     ` Paolo Bonzini
2023-05-19 11:48     ` Paolo Bonzini
2023-05-24  7:51       ` Thomas Huth
2023-05-19  9:30 ` Peter Maydell

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=c2318be1-e69f-afde-2959-11728c81c79f@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=berrange@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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).