Moved dev. files for Polly into lib(64)llvm-devel

lib(64)llvm-devel already refers to these through
/usr/lib/cmake/llvm/LLVMExports.cmake, so llvm-polly-devel should always
be installed along with lib(64)llvm-devel.

It is more reliable to keep these development files in the same package
as the files for LLVM in this case.
This commit is contained in:
Evgenii Shatokhin 2016-10-31 16:50:51 +03:00
parent 0806328f9c
commit 151d2240fa

View file

@ -17,7 +17,7 @@
Summary: Low Level Virtual Machine (LLVM)
Name: llvm
Version: %{major_ver}.%{minor_ver}
Release: 3
Release: 4
License: NCSA
Group: Development/Other
Url: http://llvm.org/
@ -158,6 +158,10 @@ Group: Development/Other
Provides: llvm-devel = %{EVRD}
Requires: %{libname} = %{EVRD}
Requires: %{name} = %{EVRD}
Obsoletes: llvm-polly-devel < %{EVRD}
Provides: llvm-polly-devel = %{EVRD}
Conflicts: llvm < 3.0-7
Conflicts: %{_lib}llvm3.0 < 3.0-9
@ -172,6 +176,8 @@ This package contains the development files for LLVM.
%{_libdir}/cmake/%{name}/*
%{_includedir}/%{name}
%{_includedir}/%{name}-c
%{_includedir}/polly
%{_libdir}/libPolly*.a
#----------------------------------------------------------------------------
@ -219,30 +225,6 @@ short vector instructions as well as dedicated accelerators.
#----------------------------------------------------------------------------
%package polly-devel
Summary: Development files for Polly
License: MIT
Group: Development/Other
%description polly-devel
Development files for Polly.
Polly is a polyhedral optimizer for LLVM.
Using an abstract mathematical representation it analyzes and optimizes
the memory access pattern of a program. This includes data-locality
optimizations for cache locality as well as automatic parallelization
for thread-level and SIMD parallelism.
Our overall goal is an integrated optimizer for data-locality and
parallelism that takes advantage of multi-cores, cache hierarchies,
short vector instructions as well as dedicated accelerators.
%files polly-devel
%{_includedir}/polly
%{_libdir}/libPolly*.a
#----------------------------------------------------------------------------
%if %{with clang}
# TODO: %{_bindir}/clang is linked against static libclang.a, could it be
# linked against libclang.so instead, like llvm-* are against livLLVM.so?