Rebuild f34 with LLVM 12.

This commit is contained in:
Josh Stone 2021-05-14 12:49:12 -07:00
parent a8550e8fec
commit 078a6925f5
1 changed files with 4 additions and 6 deletions

View File

@ -53,7 +53,7 @@
Name: rust
Version: 1.52.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The Rust Programming Language
License: (ASL 2.0 or MIT) and (BSD and MIT)
# ^ written as: (rust itself) and (bundled libraries)
@ -171,11 +171,6 @@ BuildRequires: cmake >= 2.8.11
%if 0%{?epel} == 7
%global llvm llvm9.0
%endif
%if 0%{?fedora} == 34
# aarch64 is hanging with LLVM 12-rc1, but it's fine with 12-final on rawhide.
# Fall back to LLVM 11 on f34 for now...
%global llvm llvm11
%endif
%if %defined llvm
%global llvm_root %{_libdir}/%{llvm}
%else
@ -737,6 +732,9 @@ export %{rust_env}
%changelog
* Fri May 14 2021 Josh Stone <jistone@redhat.com> - 1.52.1-2
- Rebuild f34 with LLVM 12.
* Mon May 10 2021 Josh Stone <jistone@redhat.com> - 1.52.1-1
- Update to 1.52.1.