* [PATCH 0/2] Restrict Clang/LLVM supported versions
@ 2024-02-29 9:55 Roger Pau Monne
2024-02-29 9:55 ` [PATCH 1/2] README: bump minimum required clang/llvm version Roger Pau Monne
2024-02-29 9:55 ` [PATCH 2/2] automation: introduce non debug clang based tests Roger Pau Monne
0 siblings, 2 replies; 12+ messages in thread
From: Roger Pau Monne @ 2024-02-29 9:55 UTC (permalink / raw)
To: xen-devel
Cc: Roger Pau Monne, Andrew Cooper, George Dunlap, Jan Beulich,
Julien Grall, Stefano Stabellini, Wei Liu, Doug Goldstein
Hello,
The following series limits the supported versions of Clang to what I
actually care about, as I seem to be the only one that actively uses
Clang/LLVM builds of Xen.
Patch 2 adds non-debug tests for -clang builds.
Thanks, Roger.
Roger Pau Monne (2):
README: bump minimum required clang/llvm version
automation: introduce non debug clang based tests
README | 2 +-
automation/gitlab-ci/build.yaml | 45 ---------------------------------
automation/gitlab-ci/test.yaml | 18 +++++++++++--
3 files changed, 17 insertions(+), 48 deletions(-)
--
2.44.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 9:55 [PATCH 0/2] Restrict Clang/LLVM supported versions Roger Pau Monne
@ 2024-02-29 9:55 ` Roger Pau Monne
2024-02-29 12:11 ` Jan Beulich
2024-03-12 22:45 ` Julien Grall
2024-02-29 9:55 ` [PATCH 2/2] automation: introduce non debug clang based tests Roger Pau Monne
1 sibling, 2 replies; 12+ messages in thread
From: Roger Pau Monne @ 2024-02-29 9:55 UTC (permalink / raw)
To: xen-devel
Cc: Roger Pau Monne, Andrew Cooper, George Dunlap, Jan Beulich,
Julien Grall, Stefano Stabellini, Wei Liu, Doug Goldstein
We no longer have a way to build with the minimum required clang/llvm version
stated in the README on the gitlab CI loop, since we dropped the Debian Jessie
container that had Clang 3.5.0.
Bump the minimum required Clang/LLVM to the one used in the oldest production
FreeBSD version (13.2 currently), as that's the main reason I care to maintain
Clang/LLVM support, and as far as I know FreeBSD is the only production
deployment of Xen built with Clang/LLVM.
Purge the build jobs for non-supported Clang versions from Gitlab CI. Note the
.dockerfiles for the respective distros are explicitly not adjusted to drop the
install of the clang packages, or else those jobs would start to fail on older
Xen branches.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
I'm willing to consider older versions, but there needs to be a reason (iow:
use-case) for considering those, as maintaining support for older toolchains is
a burden.
---
README | 2 +-
automation/gitlab-ci/build.yaml | 45 ---------------------------------
2 files changed, 1 insertion(+), 46 deletions(-)
diff --git a/README b/README
index c8a108449e29..5fe52cc7a932 100644
--- a/README
+++ b/README
@@ -41,7 +41,7 @@ provided by your OS distributor:
- GCC 4.1.2_20070115 or later
- GNU Binutils 2.16.91.0.5 or later
or
- - Clang/LLVM 3.5 or later
+ - Clang/LLVM 14.0.0 or later
- For ARM 32-bit:
- GCC 4.9 or later
- GNU Binutils 2.24 or later
diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index 6d2cb18b8883..347fe1b5a8db 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -638,21 +638,6 @@ debian-stretch-gcc:
variables:
CONTAINER: debian:stretch
-debian-stretch-clang:
- extends: .clang-x86-64-build
- variables:
- CONTAINER: debian:stretch
-
-debian-stretch-clang-debug:
- extends: .clang-x86-64-build-debug
- variables:
- CONTAINER: debian:stretch
-
-debian-stretch-32-clang-debug:
- extends: .clang-x86-32-build-debug
- variables:
- CONTAINER: debian:stretch-i386
-
debian-stretch-32-gcc-debug:
extends: .gcc-x86-32-build-debug
variables:
@@ -725,16 +710,6 @@ ubuntu-trusty-gcc-debug:
variables:
CONTAINER: ubuntu:trusty
-ubuntu-xenial-clang:
- extends: .clang-x86-64-build
- variables:
- CONTAINER: ubuntu:xenial
-
-ubuntu-xenial-clang-debug:
- extends: .clang-x86-64-build-debug
- variables:
- CONTAINER: ubuntu:xenial
-
ubuntu-xenial-gcc:
extends: .gcc-x86-64-build
variables:
@@ -745,16 +720,6 @@ ubuntu-xenial-gcc-debug:
variables:
CONTAINER: ubuntu:xenial
-ubuntu-bionic-clang:
- extends: .clang-x86-64-build
- variables:
- CONTAINER: ubuntu:bionic
-
-ubuntu-bionic-clang-debug:
- extends: .clang-x86-64-build-debug
- variables:
- CONTAINER: ubuntu:bionic
-
ubuntu-bionic-gcc:
extends: .gcc-x86-64-build
variables:
@@ -775,16 +740,6 @@ ubuntu-focal-gcc-debug:
variables:
CONTAINER: ubuntu:focal
-ubuntu-focal-clang:
- extends: .clang-x86-64-build
- variables:
- CONTAINER: ubuntu:focal
-
-ubuntu-focal-clang-debug:
- extends: .clang-x86-64-build-debug
- variables:
- CONTAINER: ubuntu:focal
-
opensuse-leap-clang:
extends: .clang-x86-64-build
variables:
--
2.44.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] automation: introduce non debug clang based tests
2024-02-29 9:55 [PATCH 0/2] Restrict Clang/LLVM supported versions Roger Pau Monne
2024-02-29 9:55 ` [PATCH 1/2] README: bump minimum required clang/llvm version Roger Pau Monne
@ 2024-02-29 9:55 ` Roger Pau Monne
2024-03-05 17:29 ` Roger Pau Monné
2024-03-07 22:15 ` Stefano Stabellini
1 sibling, 2 replies; 12+ messages in thread
From: Roger Pau Monne @ 2024-02-29 9:55 UTC (permalink / raw)
To: xen-devel; +Cc: Roger Pau Monne, Doug Goldstein, Stefano Stabellini
The generated code between the debug and release builds can be quite
different, as a note 2ce562b2a413 only manifested in non-debug builds due to
the usage of -O2.
Duplicate the clang based test in order to test with both debug and non-debug
Xen builds.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
automation/gitlab-ci/test.yaml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
index 8b7b2e4da92d..dedca794b257 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -422,13 +422,20 @@ qemu-smoke-x86-64-gcc:
needs:
- debian-stretch-gcc-debug
-qemu-smoke-x86-64-clang:
+qemu-smoke-x86-64-clang-debug:
extends: .qemu-x86-64
script:
- ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee ${LOGFILE}
needs:
- debian-bookworm-clang-debug
+qemu-smoke-x86-64-clang:
+ extends: .qemu-x86-64
+ script:
+ - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee ${LOGFILE}
+ needs:
+ - debian-bookworm-clang
+
qemu-smoke-x86-64-gcc-pvh:
extends: .qemu-x86-64
script:
@@ -436,13 +443,20 @@ qemu-smoke-x86-64-gcc-pvh:
needs:
- debian-stretch-gcc-debug
-qemu-smoke-x86-64-clang-pvh:
+qemu-smoke-x86-64-clang-debug-pvh:
extends: .qemu-x86-64
script:
- ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee ${LOGFILE}
needs:
- debian-bookworm-clang-debug
+qemu-smoke-x86-64-clang-pvh:
+ extends: .qemu-x86-64
+ script:
+ - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee ${LOGFILE}
+ needs:
+ - debian-bookworm-clang
+
qemu-smoke-riscv64-gcc:
extends: .qemu-riscv64
script:
--
2.44.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 9:55 ` [PATCH 1/2] README: bump minimum required clang/llvm version Roger Pau Monne
@ 2024-02-29 12:11 ` Jan Beulich
2024-02-29 12:40 ` Roger Pau Monné
2024-03-12 22:45 ` Julien Grall
1 sibling, 1 reply; 12+ messages in thread
From: Jan Beulich @ 2024-02-29 12:11 UTC (permalink / raw)
To: Roger Pau Monne
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini,
Wei Liu, Doug Goldstein, xen-devel
On 29.02.2024 10:55, Roger Pau Monne wrote:
> --- a/README
> +++ b/README
> @@ -41,7 +41,7 @@ provided by your OS distributor:
> - GCC 4.1.2_20070115 or later
> - GNU Binutils 2.16.91.0.5 or later
> or
> - - Clang/LLVM 3.5 or later
> + - Clang/LLVM 14.0.0 or later
Wow, that's a big step. I'm build-testing with Clang7 on one system and
with Clang5 on another (and the latter more frequently than the former).
If any real dependency on this new a version (about 3 years old?) was
introduced, I would then no longer be able to locally test any Clang
builds (and hence the risk would again increase that I introduce issues
that affect just Clang builds).
Jan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 12:11 ` Jan Beulich
@ 2024-02-29 12:40 ` Roger Pau Monné
2024-02-29 13:01 ` Jan Beulich
0 siblings, 1 reply; 12+ messages in thread
From: Roger Pau Monné @ 2024-02-29 12:40 UTC (permalink / raw)
To: Jan Beulich
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini,
Wei Liu, Doug Goldstein, xen-devel
On Thu, Feb 29, 2024 at 01:11:55PM +0100, Jan Beulich wrote:
> On 29.02.2024 10:55, Roger Pau Monne wrote:
> > --- a/README
> > +++ b/README
> > @@ -41,7 +41,7 @@ provided by your OS distributor:
> > - GCC 4.1.2_20070115 or later
> > - GNU Binutils 2.16.91.0.5 or later
> > or
> > - - Clang/LLVM 3.5 or later
> > + - Clang/LLVM 14.0.0 or later
>
> Wow, that's a big step. I'm build-testing with Clang7 on one system and
> with Clang5 on another (and the latter more frequently than the former).
> If any real dependency on this new a version (about 3 years old?) was
> introduced, I would then no longer be able to locally test any Clang
> builds (and hence the risk would again increase that I introduce issues
> that affect just Clang builds).
Would it be possible for you to update to a newer version? I see both
the OpenSUSE containers in Gitlab have newer versions of Clang.
The reasoning for selecting such versions is in the commit message, I
simply see no point in maintaining support for older Clang versions if
there's no-one that actually runs such builds. Just listing them as
supported for being able to output a binary that's never run tested is
not helpful.
Thanks, Roger.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 12:40 ` Roger Pau Monné
@ 2024-02-29 13:01 ` Jan Beulich
2024-02-29 13:12 ` Jan Beulich
0 siblings, 1 reply; 12+ messages in thread
From: Jan Beulich @ 2024-02-29 13:01 UTC (permalink / raw)
To: Roger Pau Monné
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini,
Wei Liu, Doug Goldstein, xen-devel
On 29.02.2024 13:40, Roger Pau Monné wrote:
> On Thu, Feb 29, 2024 at 01:11:55PM +0100, Jan Beulich wrote:
>> On 29.02.2024 10:55, Roger Pau Monne wrote:
>>> --- a/README
>>> +++ b/README
>>> @@ -41,7 +41,7 @@ provided by your OS distributor:
>>> - GCC 4.1.2_20070115 or later
>>> - GNU Binutils 2.16.91.0.5 or later
>>> or
>>> - - Clang/LLVM 3.5 or later
>>> + - Clang/LLVM 14.0.0 or later
>>
>> Wow, that's a big step. I'm build-testing with Clang7 on one system and
>> with Clang5 on another (and the latter more frequently than the former).
>> If any real dependency on this new a version (about 3 years old?) was
>> introduced, I would then no longer be able to locally test any Clang
>> builds (and hence the risk would again increase that I introduce issues
>> that affect just Clang builds).
>
> Would it be possible for you to update to a newer version? I see both
> the OpenSUSE containers in Gitlab have newer versions of Clang.
No. These are SLES versions which I'm not intending to touch. See
https://lists.xen.org/archives/html/xen-devel/2024-02/msg01793.html
and
https://lists.xen.org/archives/html/xen-devel/2024-02/msg01795.html
for why. The most recent piece of hardware I've installed a fresh (but
not exactly new, yet still fully supported) SLES version on would
apparently offer Clang7 only, either.
If anything I could see about building a newer Clang version myself;
no idea how involved that is compared to the building of gcc (which I
consider pretty straightforward, but that's biased by me being used to
doing so).
Jan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 13:01 ` Jan Beulich
@ 2024-02-29 13:12 ` Jan Beulich
2024-02-29 14:21 ` Roger Pau Monné
0 siblings, 1 reply; 12+ messages in thread
From: Jan Beulich @ 2024-02-29 13:12 UTC (permalink / raw)
To: Roger Pau Monné
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini,
Wei Liu, Doug Goldstein, xen-devel
On 29.02.2024 14:01, Jan Beulich wrote:
> On 29.02.2024 13:40, Roger Pau Monné wrote:
>> On Thu, Feb 29, 2024 at 01:11:55PM +0100, Jan Beulich wrote:
>>> On 29.02.2024 10:55, Roger Pau Monne wrote:
>>>> --- a/README
>>>> +++ b/README
>>>> @@ -41,7 +41,7 @@ provided by your OS distributor:
>>>> - GCC 4.1.2_20070115 or later
>>>> - GNU Binutils 2.16.91.0.5 or later
>>>> or
>>>> - - Clang/LLVM 3.5 or later
>>>> + - Clang/LLVM 14.0.0 or later
>>>
>>> Wow, that's a big step. I'm build-testing with Clang7 on one system and
>>> with Clang5 on another (and the latter more frequently than the former).
>>> If any real dependency on this new a version (about 3 years old?) was
>>> introduced, I would then no longer be able to locally test any Clang
>>> builds (and hence the risk would again increase that I introduce issues
>>> that affect just Clang builds).
>>
>> Would it be possible for you to update to a newer version? I see both
>> the OpenSUSE containers in Gitlab have newer versions of Clang.
>
> No. These are SLES versions which I'm not intending to touch. See
>
> https://lists.xen.org/archives/html/xen-devel/2024-02/msg01793.html
>
> and
>
> https://lists.xen.org/archives/html/xen-devel/2024-02/msg01795.html
>
> for why. The most recent piece of hardware I've installed a fresh (but
> not exactly new, yet still fully supported) SLES version on would
> apparently offer Clang7 only, either.
Bah, that's not even Clang, only LLVM.
Jan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 13:12 ` Jan Beulich
@ 2024-02-29 14:21 ` Roger Pau Monné
2024-02-29 14:28 ` Jan Beulich
0 siblings, 1 reply; 12+ messages in thread
From: Roger Pau Monné @ 2024-02-29 14:21 UTC (permalink / raw)
To: Jan Beulich
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini,
Wei Liu, Doug Goldstein, xen-devel
On Thu, Feb 29, 2024 at 02:12:26PM +0100, Jan Beulich wrote:
> On 29.02.2024 14:01, Jan Beulich wrote:
> > On 29.02.2024 13:40, Roger Pau Monné wrote:
> >> On Thu, Feb 29, 2024 at 01:11:55PM +0100, Jan Beulich wrote:
> >>> On 29.02.2024 10:55, Roger Pau Monne wrote:
> >>>> --- a/README
> >>>> +++ b/README
> >>>> @@ -41,7 +41,7 @@ provided by your OS distributor:
> >>>> - GCC 4.1.2_20070115 or later
> >>>> - GNU Binutils 2.16.91.0.5 or later
> >>>> or
> >>>> - - Clang/LLVM 3.5 or later
> >>>> + - Clang/LLVM 14.0.0 or later
> >>>
> >>> Wow, that's a big step. I'm build-testing with Clang7 on one system and
> >>> with Clang5 on another (and the latter more frequently than the former).
> >>> If any real dependency on this new a version (about 3 years old?) was
> >>> introduced, I would then no longer be able to locally test any Clang
> >>> builds (and hence the risk would again increase that I introduce issues
> >>> that affect just Clang builds).
> >>
> >> Would it be possible for you to update to a newer version? I see both
> >> the OpenSUSE containers in Gitlab have newer versions of Clang.
> >
> > No. These are SLES versions which I'm not intending to touch. See
> >
> > https://lists.xen.org/archives/html/xen-devel/2024-02/msg01793.html
> >
> > and
> >
> > https://lists.xen.org/archives/html/xen-devel/2024-02/msg01795.html
> >
> > for why. The most recent piece of hardware I've installed a fresh (but
> > not exactly new, yet still fully supported) SLES version on would
> > apparently offer Clang7 only, either.
Hm, OK. Would containers be an option?
I don't know for gcc, but for clang I'm quite sure the only run time
tested builds are the ones used by FreeBSD. I'm hesitant to claim
clang versions as supported when they are only tested to generate an
output without triggering any errors, but there's no testing at all
that the generated code is functional.
> Bah, that's not even Clang, only LLVM.
I'm confused by this, doesn't your llvm package include clang?
Thanks, Roger.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 14:21 ` Roger Pau Monné
@ 2024-02-29 14:28 ` Jan Beulich
0 siblings, 0 replies; 12+ messages in thread
From: Jan Beulich @ 2024-02-29 14:28 UTC (permalink / raw)
To: Roger Pau Monné
Cc: Andrew Cooper, George Dunlap, Julien Grall, Stefano Stabellini,
Wei Liu, Doug Goldstein, xen-devel
On 29.02.2024 15:21, Roger Pau Monné wrote:
> On Thu, Feb 29, 2024 at 02:12:26PM +0100, Jan Beulich wrote:
>> Bah, that's not even Clang, only LLVM.
>
> I'm confused by this, doesn't your llvm package include clang?
No, there are quite a few RPMs in general in SLES to cover everything,
yet on the distro in question the clang* one(s) are (is) missing.
Jan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] automation: introduce non debug clang based tests
2024-02-29 9:55 ` [PATCH 2/2] automation: introduce non debug clang based tests Roger Pau Monne
@ 2024-03-05 17:29 ` Roger Pau Monné
2024-03-07 22:15 ` Stefano Stabellini
1 sibling, 0 replies; 12+ messages in thread
From: Roger Pau Monné @ 2024-03-05 17:29 UTC (permalink / raw)
To: xen-devel; +Cc: Doug Goldstein, Stefano Stabellini
FWIW, this is not tied to patch 1, so can go in independently. I
think it's a worthwhile improvement.
Thanks, Roger.
On Thu, Feb 29, 2024 at 10:55:29AM +0100, Roger Pau Monne wrote:
> The generated code between the debug and release builds can be quite
> different, as a note 2ce562b2a413 only manifested in non-debug builds due to
> the usage of -O2.
>
> Duplicate the clang based test in order to test with both debug and non-debug
> Xen builds.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> ---
> automation/gitlab-ci/test.yaml | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
> index 8b7b2e4da92d..dedca794b257 100644
> --- a/automation/gitlab-ci/test.yaml
> +++ b/automation/gitlab-ci/test.yaml
> @@ -422,13 +422,20 @@ qemu-smoke-x86-64-gcc:
> needs:
> - debian-stretch-gcc-debug
>
> -qemu-smoke-x86-64-clang:
> +qemu-smoke-x86-64-clang-debug:
> extends: .qemu-x86-64
> script:
> - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee ${LOGFILE}
> needs:
> - debian-bookworm-clang-debug
>
> +qemu-smoke-x86-64-clang:
> + extends: .qemu-x86-64
> + script:
> + - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee ${LOGFILE}
> + needs:
> + - debian-bookworm-clang
> +
> qemu-smoke-x86-64-gcc-pvh:
> extends: .qemu-x86-64
> script:
> @@ -436,13 +443,20 @@ qemu-smoke-x86-64-gcc-pvh:
> needs:
> - debian-stretch-gcc-debug
>
> -qemu-smoke-x86-64-clang-pvh:
> +qemu-smoke-x86-64-clang-debug-pvh:
> extends: .qemu-x86-64
> script:
> - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee ${LOGFILE}
> needs:
> - debian-bookworm-clang-debug
>
> +qemu-smoke-x86-64-clang-pvh:
> + extends: .qemu-x86-64
> + script:
> + - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee ${LOGFILE}
> + needs:
> + - debian-bookworm-clang
> +
> qemu-smoke-riscv64-gcc:
> extends: .qemu-riscv64
> script:
> --
> 2.44.0
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] automation: introduce non debug clang based tests
2024-02-29 9:55 ` [PATCH 2/2] automation: introduce non debug clang based tests Roger Pau Monne
2024-03-05 17:29 ` Roger Pau Monné
@ 2024-03-07 22:15 ` Stefano Stabellini
1 sibling, 0 replies; 12+ messages in thread
From: Stefano Stabellini @ 2024-03-07 22:15 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel, Doug Goldstein, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
On Thu, 29 Feb 2024, Roger Pau Monne wrote:
> The generated code between the debug and release builds can be quite
> different, as a note 2ce562b2a413 only manifested in non-debug builds due to
> the usage of -O2.
>
> Duplicate the clang based test in order to test with both debug and non-debug
> Xen builds.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] README: bump minimum required clang/llvm version
2024-02-29 9:55 ` [PATCH 1/2] README: bump minimum required clang/llvm version Roger Pau Monne
2024-02-29 12:11 ` Jan Beulich
@ 2024-03-12 22:45 ` Julien Grall
1 sibling, 0 replies; 12+ messages in thread
From: Julien Grall @ 2024-03-12 22:45 UTC (permalink / raw)
To: Roger Pau Monne, xen-devel
Cc: Andrew Cooper, George Dunlap, Jan Beulich, Stefano Stabellini,
Wei Liu, Doug Goldstein
Hi Roger,
On 29/02/2024 09:55, Roger Pau Monne wrote:
> We no longer have a way to build with the minimum required clang/llvm version
> stated in the README on the gitlab CI loop, since we dropped the Debian Jessie
> container that had Clang 3.5.0.
>
> Bump the minimum required Clang/LLVM to the one used in the oldest production
> FreeBSD version (13.2 currently), as that's the main reason I care to maintain
> Clang/LLVM support, and as far as I know FreeBSD is the only production
> deployment of Xen built with Clang/LLVM.
>
> Purge the build jobs for non-supported Clang versions from Gitlab CI. Note the
> .dockerfiles for the respective distros are explicitly not adjusted to drop the
> install of the clang packages, or else those jobs would start to fail on older
> Xen branches.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> ---
> I'm willing to consider older versions, but there needs to be a reason (iow:
> use-case) for considering those, as maintaining support for older toolchains is
> a burden.
It makes sense. On another thread I mentioned that QEMU also took the
approach to only support compilers from currently (security?) supported
distros.
Acked-by: Julien Grall <jgrall@amazon.com>
This could always be relaxed.
Cheers,
--
Julien Grall
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-03-12 22:45 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 9:55 [PATCH 0/2] Restrict Clang/LLVM supported versions Roger Pau Monne
2024-02-29 9:55 ` [PATCH 1/2] README: bump minimum required clang/llvm version Roger Pau Monne
2024-02-29 12:11 ` Jan Beulich
2024-02-29 12:40 ` Roger Pau Monné
2024-02-29 13:01 ` Jan Beulich
2024-02-29 13:12 ` Jan Beulich
2024-02-29 14:21 ` Roger Pau Monné
2024-02-29 14:28 ` Jan Beulich
2024-03-12 22:45 ` Julien Grall
2024-02-29 9:55 ` [PATCH 2/2] automation: introduce non debug clang based tests Roger Pau Monne
2024-03-05 17:29 ` Roger Pau Monné
2024-03-07 22:15 ` Stefano Stabellini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.