#134 Update to LLVM 14.0.0rc1
Merged 6 months ago by sergesanspaille. Opened 7 months ago by tbaeder.
rpms/ tbaeder/llvm rawhide  into  rawhide

@@ -23,8 +23,8 @@ 

   ; powerpc64 (and on x86_64 at at least -O2). Presumably this is a SelectionDAG

   ; issue.

   ; FIXME: arm64 is an alias for aarch64 on macs, apparently?

- -; XFAIL: powerpc64, aarch64, arm64, hexagon

- +; XFAIL: powerpc64, aarch64, arm64, hexagon, ppc64le

+ -; XFAIL: powerpc64, aarch64, arm64, hexagon, riscv

+ +; XFAIL: powerpc64, aarch64, arm64, hexagon, riscv, ppc64le

   

   ; Build from the following source with clang -O2.

   

file modified
+22 -4
@@ -15,10 +15,10 @@ 

  

  %global llvm_libdir %{_libdir}/%{name}

  %global build_llvm_libdir %{buildroot}%{llvm_libdir}

- #global rc_ver 3

- %global maj_ver 13

+ #global rc_ver 4

+ %global maj_ver 14

  %global min_ver 0

- %global patch_ver 1

+ %global patch_ver 0

  %if !%{maj_ver} && 0%{?rc_ver}

  %global abi_revision 2

  %endif
@@ -169,6 +169,14 @@ 

  %description libs

  Shared libraries for the LLVM compiler infrastructure.

  

+ %if %{without compat_build}

+ %package cmake-devel

+ Summary:	LLVM shared development CMake files

+ 

+ %description cmake-devel

+ Some CMake files that are shared by LLVM sub-projects when building.

+ %endif

+ 

  %package static

  Summary:	LLVM static libraries

  Conflicts:	%{name}-devel < 8
@@ -289,7 +297,8 @@ 

  	-DSPHINX_WARNINGS_AS_ERRORS=OFF \

  	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \

  	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \

- 	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3

+ 	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \

+ 	-DLLVM_INCLUDE_BENCHMARKS=OFF

  

  # Build libLLVM.so first.  This ensures that when libLLVM.so is linking, there

  # are no other compile jobs running.  This will help reduce OOM errors on the
@@ -409,6 +418,9 @@ 

  # ghost presence

  touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}

  

+ %if %{without compat_build}

+ cp -Rv ../cmake/Modules/* %{buildroot}%{_libdir}/cmake/llvm

+ %endif

  

  

  %check
@@ -545,9 +557,15 @@ 

  %{_datadir}/llvm/src/utils

  %{_libdir}/libLLVMTestingSupport.a

  

+ %files cmake-devel

+ %{_libdir}/cmake/llvm

+ 

  %endif

  

  %changelog

+ * Wed Mar 23 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1

+ - Update to LLVM 14.0.0

+ 

  * Wed Feb 02 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1

  - Update to LLVM 13.0.1 final

  

Do not merge yet I guess, but open for review.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Did the cmake files come from the top-level CMake directory in llvm-project? We might just want to install that whole directory as part of llvm-devel, so other packages can use it.

Did the cmake files come from the top-level CMake directory in llvm-project? We might just want to install that whole directory as part of llvm-devel, so other packages can use it.

I'm doing that for snapshots already in these sections:

%package
%install
%files

You might want to package the whole llvm-project....tar.xz archive instead of just the archive for the llvm subproject. That's what I'm currently doing for snapshots as well. But the snapshots now contain the <root>/cmake directory since D118481 so I'll probably move back to just the subproject archive.

rebased onto 253fac4ba2576bd53d2a5f8550b6b1f68d5af920

6 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto 84e81473911710606e31348abcf374c5f33e8585

6 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Can't upload the new sources:

$ fedpkg upload llvm-project-14.0.0rc4.src.tar.xz llvm-project-14.0.0rc4.src.tar.xz.sig
Could not execute upload: Fail to upload files. Server returns status 403

rebased onto 2bd129d68519fd9bc71052e31c5f108115421737

6 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

I've been told uploading sources can only be done by maintainers, so won't work for me.

rebased onto 314c086

6 months ago

Pull-Request has been merged by sergesanspaille

6 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci