Recommend the same version of compiler-rt

When clang searches for the compiler-rt libraries, it constructs
the search path using the clang version.  If the clang and compiler-rt
versions don't match, then clang can't find the libraries.
This commit is contained in:
Tom Stellard 2018-08-17 18:33:27 +00:00
parent 599360b865
commit 68eed61006
1 changed files with 5 additions and 2 deletions

View File

@ -59,7 +59,7 @@
Name: %pkg_name
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
Release: 0.2.rc%{rc_ver}%{?dist}
Release: 0.3.rc%{rc_ver}%{?dist}
Summary: A C language family front-end for LLVM
License: NCSA
@ -141,7 +141,7 @@ as libraries and designed to be loosely-coupled and extensible.
%package libs
Summary: Runtime library for clang
Recommends: compiler-rt%{?_isa} >= %{version}
Recommends: compiler-rt%{?_isa} = %{version}
Recommends: libomp%{_isa} = %{version}
%description libs
@ -409,6 +409,9 @@ make %{?_smp_mflags} check || :
%endif
%changelog
* Fri Aug 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
- Recommend the same version of compiler-rt
* Wed Aug 15 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
- Rebuild for f30