From: Don Zickus dzickus@redhat.com
ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes.
Still try to support RHEL-8 where possible. That is why the llvm-toolset is wrapped with el8. This is useful for internal developers.
Signed-off-by: Don Zickus dzickus@redhat.com --- redhat/kernel.spec.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..21d2dca61366 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,10 +506,10 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} -BuildRequires: clang llvm -%else +%if 0%{?el8} BuildRequires: llvm-toolset +%else +BuildRequires: clang llvm %endif %ifnarch %{arm} BuildRequires: numactl-devel
On Mon, May 04, 2020 at 03:17:29PM -0000, Gitlab Bridge on behalf of dzickusrh wrote:
From: Don Zickus dzickus@redhat.com
ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes.
Still try to support RHEL-8 where possible. That is why the llvm-toolset is wrapped with el8. This is useful for internal developers.
Signed-off-by: Don Zickus dzickus@redhat.com
redhat/kernel.spec.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..21d2dca61366 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,10 +506,10 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} -BuildRequires: clang llvm -%else +%if 0%{?el8} BuildRequires: llvm-toolset +%else +BuildRequires: clang llvm %endif %ifnarch %{arm} BuildRequires: numactl-devel -- 2.26.2 _______________________________________________ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Acked-by: Herton R. Krzesinski herton@redhat.com
On 5/4/20 11:17 AM, Gitlab Bridge on behalf of dzickusrh wrote:
From: Don Zickus dzickus@redhat.com
ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes.
Still try to support RHEL-8 where possible. That is why the llvm-toolset is wrapped with el8. This is useful for internal developers.
Signed-off-by: Don Zickus dzickus@redhat.com
redhat/kernel.spec.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..21d2dca61366 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,10 +506,10 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} -BuildRequires: clang llvm -%else +%if 0%{?el8} BuildRequires: llvm-toolset +%else +BuildRequires: clang llvm %endif %ifnarch %{arm} BuildRequires: numactl-devel
What's this ARK thing? :)
Joking (of course)
Acked-by: Prarit Bhargava prarit@redhat.com
P.
From: Don Zickus dzickus@redhat.com
ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes.
This change still builds under RHEL-8 as llvm-toolset was a meta package for clang and llvm.
V2: Remove llvm-toolset
Signed-off-by: Don Zickus dzickus@redhat.com --- redhat/kernel.spec.template | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..ac26fe7752a7 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,11 +506,7 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} BuildRequires: clang llvm -%else -BuildRequires: llvm-toolset -%endif %ifnarch %{arm} BuildRequires: numactl-devel %endif
On Tue, May 5, 2020 at 2:55 PM Gitlab Bridge on behalf of dzickusrh < jcline@redhat.com> wrote:
From: Don Zickus dzickus@redhat.com
ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes.
This change still builds under RHEL-8 as llvm-toolset was a meta package for clang and llvm.
V2: Remove llvm-toolset
Signed-off-by: Don Zickus dzickus@redhat.com
redhat/kernel.spec.template | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..ac26fe7752a7 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,11 +506,7 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} BuildRequires: clang llvm -%else -BuildRequires: llvm-toolset -%endif %ifnarch %{arm} BuildRequires: numactl-devel %endif -- 2.26.2 _______________________________________________ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Acked-by: Justin Forbes jforbes@redhat.com
On Tue, May 05, 2020 at 07:54:50PM -0000, Gitlab Bridge on behalf of dzickusrh wrote:
From: Don Zickus dzickus@redhat.com
ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes.
This change still builds under RHEL-8 as llvm-toolset was a meta package for clang and llvm.
V2: Remove llvm-toolset
Signed-off-by: Don Zickus dzickus@redhat.com
redhat/kernel.spec.template | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..ac26fe7752a7 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,11 +506,7 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} BuildRequires: clang llvm -%else -BuildRequires: llvm-toolset -%endif %ifnarch %{arm} BuildRequires: numactl-devel %endif -- 2.26.2 _______________________________________________ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Acked-by: Herton R. Krzesinski herton@redhat.com
kernel@lists.fedoraproject.org