Update to 14.0.0
This commit is contained in:
parent
77fe5f8af7
commit
314c08660d
@ -23,8 +23,8 @@ index bd0de60268b6..cc5d56b0c512 100644
|
|||||||
; powerpc64 (and on x86_64 at at least -O2). Presumably this is a SelectionDAG
|
; powerpc64 (and on x86_64 at at least -O2). Presumably this is a SelectionDAG
|
||||||
; issue.
|
; issue.
|
||||||
; FIXME: arm64 is an alias for aarch64 on macs, apparently?
|
; FIXME: arm64 is an alias for aarch64 on macs, apparently?
|
||||||
-; XFAIL: powerpc64, aarch64, arm64, hexagon
|
-; XFAIL: powerpc64, aarch64, arm64, hexagon, riscv
|
||||||
+; XFAIL: powerpc64, aarch64, arm64, hexagon, ppc64le
|
+; XFAIL: powerpc64, aarch64, arm64, hexagon, riscv, ppc64le
|
||||||
|
|
||||||
; Build from the following source with clang -O2.
|
; Build from the following source with clang -O2.
|
||||||
|
|
||||||
|
26
llvm.spec
26
llvm.spec
@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
%global llvm_libdir %{_libdir}/%{name}
|
%global llvm_libdir %{_libdir}/%{name}
|
||||||
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
|
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
|
||||||
#global rc_ver 3
|
#global rc_ver 4
|
||||||
%global maj_ver 13
|
%global maj_ver 14
|
||||||
%global min_ver 0
|
%global min_ver 0
|
||||||
%global patch_ver 1
|
%global patch_ver 0
|
||||||
%if !%{maj_ver} && 0%{?rc_ver}
|
%if !%{maj_ver} && 0%{?rc_ver}
|
||||||
%global abi_revision 2
|
%global abi_revision 2
|
||||||
%endif
|
%endif
|
||||||
@ -169,6 +169,14 @@ Summary: LLVM shared libraries
|
|||||||
%description libs
|
%description libs
|
||||||
Shared libraries for the LLVM compiler infrastructure.
|
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
|
%package static
|
||||||
Summary: LLVM static libraries
|
Summary: LLVM static libraries
|
||||||
Conflicts: %{name}-devel < 8
|
Conflicts: %{name}-devel < 8
|
||||||
@ -289,7 +297,8 @@ LLVM's modified googletest sources.
|
|||||||
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
||||||
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
|
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
|
||||||
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
-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
|
# 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
|
# are no other compile jobs running. This will help reduce OOM errors on the
|
||||||
@ -409,6 +418,9 @@ rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
|||||||
# ghost presence
|
# ghost presence
|
||||||
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
||||||
|
|
||||||
|
%if %{without compat_build}
|
||||||
|
cp -Rv ../cmake/Modules/* %{buildroot}%{_libdir}/cmake/llvm
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -545,9 +557,15 @@ fi
|
|||||||
%{_datadir}/llvm/src/utils
|
%{_datadir}/llvm/src/utils
|
||||||
%{_libdir}/libLLVMTestingSupport.a
|
%{_libdir}/libLLVMTestingSupport.a
|
||||||
|
|
||||||
|
%files cmake-devel
|
||||||
|
%{_libdir}/cmake/llvm
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 02 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
|
||||||
- Update to LLVM 13.0.1 final
|
- Update to LLVM 13.0.1 final
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user