reintroduce llvm-static, clang needs it currently.
This commit is contained in:
parent
933aa4780e
commit
7a851779bb
18
llvm.spec
18
llvm.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 3.7.1
|
Version: 3.7.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -53,11 +53,16 @@ Documentation for the LLVM compiler infrastructure.
|
|||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: LLVM shared libraries
|
Summary: LLVM shared libraries
|
||||||
Obsoletes: llvm-static < 3.7.1
|
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Shared libraries for the LLVM compiler infrastructure.
|
Shared libraries for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: LLVM static libraries
|
||||||
|
|
||||||
|
%description static
|
||||||
|
Static libraries for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}.src
|
%setup -q -n %{name}-%{version}.src
|
||||||
|
|
||||||
@ -115,9 +120,6 @@ make %{?_smp_mflags}
|
|||||||
cd _build
|
cd _build
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# nuke static libraries for now - we can package them later.
|
|
||||||
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
|
||||||
# fix multi-lib
|
# fix multi-lib
|
||||||
mv -v %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}}
|
mv -v %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}}
|
||||||
mv -v %{buildroot}%{_includedir}/llvm/Config/llvm-config{,-%{__isa_bits}}.h
|
mv -v %{buildroot}%{_includedir}/llvm/Config/llvm-config{,-%{__isa_bits}}.h
|
||||||
@ -156,7 +158,13 @@ make check-all || :
|
|||||||
%files doc
|
%files doc
|
||||||
%doc %{_pkgdocdir}/html
|
%doc %{_pkgdocdir}/html
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
|
||||||
|
- reintroduce llvm-static, clang needs it currently.
|
||||||
|
|
||||||
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
|
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
|
||||||
- jump back to single llvm library, the split libs aren't working very well.
|
- jump back to single llvm library, the split libs aren't working very well.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user