#31 Add a patch that accepts ppc64le-linux as a valid triple
Merged a year ago by tuliom. Opened a year ago by tuliom.
rpms/ tuliom/python-lit ppc64le-triple  into  rawhide

file added
+13
@@ -0,0 +1,13 @@ 

+ diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py

+ --- a/llvm/utils/lit/lit/llvm/config.py

+ +++ b/llvm/utils/lit/lit/llvm/config.py

+ @@ -144,6 +144,8 @@

+                  features.add('target-aarch64')

+              elif re.match(r'^arm.*', target_triple):

+                  features.add('target-arm')

+ +            if re.match(r'^ppc64le.*-linux', target_triple):

+ +                features.add('target=powerpc64le-linux')

+  

+          use_gmalloc = lit_config.params.get('use_gmalloc', None)

+          if lit.util.pythonize_bool(use_gmalloc):

+ 

file modified
+6 -1
@@ -6,7 +6,7 @@ 

  

  Name: python-lit

  Version: %{lit_version}%{?rc_ver:~rc%{rc_ver}}

- Release: 1%{?dist}

+ Release: 2%{?dist}

  BuildArch: noarch

  

  License: NCSA
@@ -16,6 +16,8 @@ 

  # Remove the license file if it gets included in the tarball again.

  Source1: https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-%{lit_version}%{?rc_ver:rc%{rc_ver}}/llvm/utils/lit/LICENSE.TXT

  

+ Patch0: D149746.diff

+ 

  # for file check

  %if %{with check}

  BuildRequires: llvm-test
@@ -60,6 +62,9 @@ 

  %{_bindir}/lit

  

  %changelog

+ * Mon May 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-2

+ - Add a patch that accepts ppc64le as a valid triple

+ 

  * Tue May 09 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1

  - Update to LLVM 16.0.3

  

Some tests in clang and flang expect the triple powerpc64le-linux and
fail if ppc64le-linux is used. The new patch ensure both triples are
interpreted the same way.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/28b296d0fa8a4203b3488026d0347270

rebased onto e77b69493c8cda55708a0a20106c9e4af47888b1

a year ago

rebased onto 4fd3acc

a year ago

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/c1276ef56b764ba196bccbcd42539b81

Pull-Request has been merged by tuliom

a year ago
Metadata