[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/6] CI: Express HYPERVISOR_ONLY in build.yml
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- Date: Wed, 4 Jan 2023 01:51:03 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SPun27trLn8T3iqBdiblTkkD7u1SnPWiZG1UR+0D4M0=; b=Y1bJVKCFHDXRN49KpA3e02fvXMvEGfOUO/nNKPwh++URyO1TxzgFhFmV3lfgEtCUgAwcZgsQf10wjB+WAURj0C0Z8I/F8sfAj1k+VhsZDcPkYF8hUrR6Wk5R0y+jjnwPqSoLZbm+SCPvG0xFt7BTzhbZIlQw/Jf207AcCOSWY24ROPCOPoB7VJ9v1f070hub8EZgdQN3tajuJKCndjVs7w1xmDqn4dyDqKFsC3SAh6US44tSblEtpm+9d+CQnS8y22F0Qpxnxw+69ErKAIY01yA76jD/HmCb/5vt/MoFWtf/vh2rzb+GzMr1uISeb40QZJOUIlpIdXf3Ru/yKw30FQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Opey2Jn5lEmHD7A6JW7ki6Qs3qgz+6f+7YetS2xaClZKTF4rEqa28l3i5HnGlWvkbnGrhbczHVdH2Kj3o1eKVylltG6/YlGBvK73E3G+Mfii4iNLAEchtT0C/mHMc0pat18SqVwLsQrJVGMx20N2KtRwymmw8RsyovdK0lfJhi2t87tO2tGuKFuE4yPVyZvIwMhpCZPncAebQdYzqqIxsKRADVQV4dvjW7ZZTQWTjPL4PZ68ir8Z0jCNILB2S/c5i19WDsJ+QrlwTnUpVscsN1pJcNvJlSFW1bBYaqGGEErYoaErhMT5fhTRl1mc5GAz4x5HDuKTFkB5sxqNwEJrbw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
- Delivery-date: Wed, 04 Jan 2023 01:51:14 +0000
- Ironport-data: A9a23:szezXa5XZFkH/nj1LVt+VgxRtNjGchMFZxGqfqrLsTDasY5as4F+v mNNWj2CPauKN2OhKYsibY/lpEwD78fSyYBmG1dqpX81Hi5G8cbLO4+Ufxz6V8+wwm8vb2o8t plDNYOQRCwQZiWBzvt4GuG59RGQ7YnRGvynTraBYnoqLeNdYH9JoQp5nOIkiZJfj9G8Agec0 fv/uMSaM1K+s9JOGjt8B5mr9VU+4pwehBtC5gZlPakT5weD/5UoJMl3yZ+ZfiOQrrZ8RoZWd 86bpJml82XQ+QsaC9/Nut4XpWVTH9Y+lSDX4pZnc/DKbipq/0Te4Y5iXBYoUm9Fii3hojxE4 I4lWapc6+seFvakdOw1C3G0GszlVEFM0OevzXOX6aR/w6BaGpdFLjoH4EweZOUlFuhL7W5m2 dAcMXMrcCG5gc29npyRafU9wes5I5y+VG8fkikIITDxK98DGMqGb4CUoNhS0XE3m9xEGuvYa 4wBcz1zYR/cYhpJfFAKFJY5m+TujX76G9FagAvN+exrvC6OnUooj+eF3Nn9I7RmQe18mEqCq 32A1GP+GhwAb/SUyCaf82LqjejK9c/+cNNKTOTgqaU16LGV7nAJCwckfmGQmsG8in/kWN5tF UELoDV7+MDe82TuFLERRSaQu2WYtxQRX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QbCP8wkXxDAEWI/SQ5c0mdBnDCwQ==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHZG+cbFLjU6ViRqEqaO8BfTNldnq6NfEWAgAADPYCAAAKVgIAAAY8AgAABzACAAADAgA==
- Thread-topic: [PATCH 4/6] CI: Express HYPERVISOR_ONLY in build.yml
On 04/01/2023 1:48 am, Stefano Stabellini wrote:
> On Wed, 4 Jan 2023, Andrew Cooper wrote:
>> On 04/01/2023 1:36 am, Stefano Stabellini wrote:
>>> On Wed, 4 Jan 2023, Andrew Cooper wrote:
>>>> On 04/01/2023 1:15 am, Stefano Stabellini wrote:
>>>>> On Fri, 30 Dec 2022, Andrew Cooper wrote:
>>>>>
>>>>>> Whether to build only Xen, or everything, is a property of container,
>>>>>> toolchain and/or testcase. It is not a property of XEN_TARGET_ARCH.
>>>>>>
>>>>>> Capitalise HYPERVISOR_ONLY and have it set by the
>>>>>> debian-unstable-gcc-arm32-*
>>>>>> testcases at the point that arm32 get matched with a container that can
>>>>>> only
>>>>>> build Xen.
>>>>>>
>>>>>> For simplicity, retain the RANDCONFIG -> HYPERVISOR_ONLY implication.
>>>>>>
>>>>>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>>>>>> ---
>>>>>> CC: Doug Goldstein <cardoe@xxxxxxxxxx>
>>>>>> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
>>>>>> CC: Anthony PERARD <anthony.perard@xxxxxxxxxx>
>>>>>> CC: Michal Orzel <michal.orzel@xxxxxxx>
>>>>>> CC: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
>>>>>> ---
>>>>>> automation/gitlab-ci/build.yaml | 2 ++
>>>>>> automation/scripts/build | 11 ++++-------
>>>>>> 2 files changed, 6 insertions(+), 7 deletions(-)
>>>>>>
>>>>>> diff --git a/automation/gitlab-ci/build.yaml
>>>>>> b/automation/gitlab-ci/build.yaml
>>>>>> index 93d9ff69a9f2..e6a9357de3ef 100644
>>>>>> --- a/automation/gitlab-ci/build.yaml
>>>>>> +++ b/automation/gitlab-ci/build.yaml
>>>>>> @@ -516,11 +516,13 @@ debian-unstable-gcc-arm32:
>>>>>> extends: .gcc-arm32-cross-build
>>>>>> variables:
>>>>>> CONTAINER: debian:unstable-arm32-gcc
>>>>>> + HYPERVISOR_ONLY: y
>>>>>>
>>>>>> debian-unstable-gcc-arm32-debug:
>>>>>> extends: .gcc-arm32-cross-build-debug
>>>>>> variables:
>>>>>> CONTAINER: debian:unstable-arm32-gcc
>>>>>> + HYPERVISOR_ONLY: y
>>>>> can you move the setting of HYPERVISOR_ONLY to .arm32-cross-build-tmpl ?
>>>> Not really - that's the point I'm trying to make in the commit message.
>>>>
>>>>> I think that makes the most sense because .arm32-cross-build-tmpl is the
>>>>> one setting XEN_TARGET_ARCH and also the x86_64 tag.
>>>> It's not about x86_64; its about the container.
>>>>
>>>> Whether we can build just Xen, or everything, solely depends on the
>>>> contents in debian:unstable-arm32-gcc
>>>>
>>>> If we wanted to, we could update unstable-arm32-gcc's dockerfile to
>>>> install the arm32 cross user libs, and drop this HYPERVISOR_ONLY
>>>> restriction.
>>> If it is a property of the container, shouldn't HYPERVISOR_ONLY be set
>>> every time the debian:unstable-arm32-gcc container is used? Including
>>> debian-unstable-gcc-arm32-randconfig and
>>> debian-unstable-gcc-arm32-debug-randconfig?
>>>
>>> I realize that the other 2 jobs are randconfigs so HYPERVISOR_ONLY gets
>>> set anyway. But if HYPERVISOR_ONLY is a property of the specific
>>> container, then I think it would be best to be consistent and set
>>> HYPERVISOR_ONLY everywhere debian:unstable-arm32-gcc is used.
>>>
>>> E.g. one day we could just randconfigs to build also the tools with a
>>> simple change to the build script and otherwise we would need to
>>> remember to also add the HYPERVISOR_ONLY tag for the other 2 jobs using
>>> debian:unstable-arm32-gcc.
>> Ok, so we want 4 HYPERVISOR_ONLY's in total, one for each instance of
>> CONTAINER: debian:unstable-arm32-gcc ?
> yeah
Can I take that as an R-by/A-by then?
~Andrew
|